Hello,
I find a solution using these RPM for apache on Red Hat 5.2,
apache-1.3.14-2.5.x.i386.rpm
apache-devel-1.3.14-2.5.x.i386.rpm
and this distribution of Mysql : mysql-3_22_21-pc-linux-gnu-i686_tar.gz
When compiling PHP-4.0.5, I execute this command :
./configure '--with-apxs=/usr/sbin/apxs' \
'--disable-pear' \
'--disable-xml' \
'--with-mysql=/usr/local/mysql'
These informations can help somebody who use old
distribution of Linux.
Bye.
Andre LAGADEC a écrit :
>
> Hello,
>
> I try to install PHP3 or PHP4 on a Linux Red Hat 5.2 box. I use these
> options during the configuration
> --with-apxs=/usr/sbin/apxs --with-mysql
>
> First, I have Apache and Mysql in RPM, apache-1.3.3
> Mysql-3.22.29, but during the make with PHP3, apxs failed
>
> After some try, I understand that I had to use a more recent version
> of apache. I have installed Apache-1.3.20 with these options :
> --prefix=/usr/local/apache --enable-module=most
> --enable-shared=max
> and PHP --with-apxs=/usr/local/apache/bin/apxs
> --with-config-file-path=/usr/local/apache
> --with-mysql
>
> No problem during 'make' and 'make install', but when I want to start
> http, I get these error message :
> Cannot load /usr/local/apache/libexec/libphp3.so into server:
> /usr/local/apache/libexec/libphp3.so: undefined symbol: open64
>
> I try to compile PHP without mysql option and in this case Apache and
> PHP work.
>
> I think the problem is with Mysql, and I decided to uninstall RPM of
> Mysql and install mysql-3.22.27-pc-linux-gnu-i686.tar.gz
> But when I compile PHP using this option --with-mysql=/usr/local/mysql
> I always get the same error message.
>
> Did someone get the same problem ?
> Did it work, if I compile the source of Mysql on my computer ?
> Or there is an other solution ?
>
> Thanks for your help ?
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]