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.



-- 
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]

Reply via email to