Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Reestit Mutton
May 11, 2006, 10:02 am
rate this thread
understand that I have to have at least version 5 of php - I've
therefore opted for version 5.1.4. The remainder of my setup is as follows
Redhat Enterprise Linux 4
To be able to configure and compile the source of php to work with
mysqli, I've had to add the following packages:
flex (2.5.4a-33 found with apt-get install flex)
bison (1.875c-2 found with apt-get install bison)
apxs (apt-get install http-devel [2.0.52-12.2.ent])
libxml2 2-2.6.24 (only 2-2.6.16 available via apt-get)
apt-get remove libxml2
However, make tests results in a lot of errors as follows:
file:///etc/xml/catalog:1: parser error : Document is empty ^
file:///etc/xml/catalog:1: parser error : Start tag expected, '<' not
mysql header files (apt-get install mysql-devel [4.1.10a-2.RHEL4.1])
source of php-5.1.4 obtained from:
wget "http://uk.php.net/get/php-5.1.4.tar.bz2/from/this/mirror "
and rebuilt with
./configure --with-mysql --with-apxs2=/usr/sbin/apxs
When I've finished this and rebooted the machine, the phpinfo test
command doesn't bring up the PHP information page as I would hope (it
just echoes the "<?php phpinfo(); ?>" command to the screen).
Does anyone know what I'm doing wrong (or what I've missed out)?
Bringing you the best-value mobile phone contract deals in the UK
Presented the way it should be...in plain English