Installation sur Red Hat Linux 5.2
| From: | Andre LAGADEC | Date: | Tue, 19 Jun 2001 21:10:28 +0000 |
| Subject: | Installation sur Red Hat Linux 5.2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3297@lists.php.net to get a copy of this message | ||
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 ?