Compile problem

From: Date: Thu, 06 Sep 2001 04:35:59 +0000
Subject: Compile problem
Groups: php.install 
Request: Send a blank email to php-install+get-4217@lists.php.net to get a copy of this message
I've been trying to get PHP 4.0.6 to compile with Apache 1.3.19 and MySQL 3.23.39. I have been unable to get PHP to work on localhost in any of my browsers when I installed it with ./configure --with-apxs=/usr/local/apache --with-mysql=/usr/local/mysql so I tried compiling apache using ./configure --activate-module=src/modules/php4/libphp4.a --enable-module=php4. Apache said it made the php4 module and it shows up in the LoadModule section of the httpd configuration file but all the modules that have been listed there, i.e. LoadModule mmap_static_module, etc. have vanished. The AddModule list is also missing. Can the LoadModule and AddModule list be typed back into the configuration file? Do the modules need to be manually loaded? Any suggestions generally about how to get PHP installed? When I try to start Apache, I get the following error message "syntax error on line 205 of /usr/local/apache /libexec/libphp4.so into server: libmysqlclient.so.10: cannot load shared object file: no such file or directory". I added /usr/local/mysql to the /etc/lo.so.conf and ran ldconfig. Thanks! Lawonna

« previous php.install (#4217) next »