Unable to start Apache 1.3.14 with PHP4.0.4pl1

From: Date: Sun, 11 Feb 2001 21:51:05 +0000
Subject: Unable to start Apache 1.3.14 with PHP4.0.4pl1
Groups: php.install 
Request: Send a blank email to php-install+get-2024@lists.php.net to get a copy of this message
I have been unable to start Apache with PHP4. It currently runs fine with PHP3.0.16. I configured php-4.0.4pl1 thus: # ./configure --with-apxs=/usr/sbin/apxs --with-pgsql=/usr/local --with-zlib-dir=/usr/include --with-jpeg-dir=/usr/include --with-tiff-dir=/usr/include --with-fdftk=/usr/local/fdftk --enable-versioning This is virtually the same configure I used with php3 sans enable-versioning but with pdflib. My Apache server is 1.3.14 direct from the Red Hat 6.2 upgrade cds rpm. httpd -l shows: Compiled-in modules: http_core.c mod_so.c In my httpd.conf file, I first tried modifying it by adding: AddType application/x-httpd-php .php then restarting. No PHP4. I then added these entries in the appropriate places LoadModule php4_module modules/libphp4.so AddModule mod_php4.c Without the AddModule, Apache will start but not load php4; with it, Apache will not start. I may very well have missed it in the archives for this list but I have honestly scanned through the collection and found nothing that solves this problem.

« previous php.install (#2024) next »