For one thing, it would be php4_module , libphp4.so , mod_php4.c ,
application/x-httpd-php , and application/x-httpd-php-source for PHP 4.
For another, did you tell PHP to compile an Apache module? You have to
have --with-apxs=/path/to/apache/bin/apxs and possibly --disable-cgi in
your configure command.
Marty Landman wrote:
Hi,
I'm running Apache 1.3 on FBSD 3.8 and have just tried to install PHP
from php-4.3.11.tar.bz2.
Here are my steps and the resulting symptom:
- put the tar into /tmp
- untarred and cd'd into the dir
- ./configure && make && make install
- added these lines to my httpd.conf file
LoadModule php3_module libexex/libphp3.so
AddModule mod_php3.c
- added these lines to my srm.conf file
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
Here's what happens:
# /usr/local/apache/bin/apachectl configtest
Syntax error on line 28 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexex/libphp3.so into server: Cannot
open "/usr/local/apache/libexex/libphp3.so"
#
It must be clear that I'm pretty green, what do I do to recover from
this?
Thanks in advance.
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
.