Configuring PHP5 in Redhat 9
Hello
I have configured and compiled httpd-2.0.50 and mysql-4.0.20 , but I am having hard time to configure php-5.0.0 with Red Hat Linux 9 (and hours of google search are in vain)
Here is the conigure script and the error I am getting
[root@aisha php-5.0.0]# ./configure –prefix=/usr/local/php5 –with-apxs=/usr/local/apache2/bin/apxs –with-mysql=/usr/local/mysql
*configure: warning:* –prefix=/usr/local/php5: invalid host type
*configure: warning: *–with-apxs=/usr/local/apache2/bin/apxs: invalid host type
*configure: error:* can only configure for one host and one target at a time
but running config.guess returns a host type
[root@aisha php-5.0.0]# bash ./config.guess
i686-pc-linux-gnu
Hint: If I run the conifig script with either mysql or apache support but not both i don't get the above error. but down to Configuring extensions i do get the follwoing error (libxml2 is there )
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
configure: error: libxml2 version 2.5.10 or greater required.
but libxml2 version 2.5.10 is installed as you can see from rpm query.
[root@aisha php-5.0.0]# rpm -qa | grep -i libxml2
libxml2-2.5.10-29
libxml2-python-2.5.4-1
libxml2-devel-2.5.4-1
[root@aisha php-5.0.0]#
I would be very much appreciate if anyone could help me with this.
Thanks
Asad
configure: error:* configure: error:* configure: error:
|