RE: [PHP] Can't get PHP running with apacheThe following was added by the compile of
PHP 4.2.1:
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
The following was added by me:
AddType application/x-httpd-php .php .html .phtml
So..., if the compile added the line for mod_php4.c, why would it tell me it's not on
the list?
Thanks,
Don
Did you add the module info to your httpd.conf file?
Thank you,
RAY HUNTER
-----Original Message-----
From: Don [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 1:56 PM
To: Ray Hunter; 'php list'
Subject: Re: [PHP] Can't get PHP running with apache
Oops. Sorry. my PHP configure actually has the folowing:
./configure --with-mysql --with-apxs=/usr/sbin/bin/apxs --enable-dbase --with-im
ap --with-kerberos --with-imap-ssl --enable-track-vars --enable-force-cgi-redir
ect --with-gettext
which states the full path to apxs so I still don't get it?
When you use the --with then you need to specify a directory...
Read up on the configuration of php on php.net
Thank you,
RAY HUNTER
-----Original Message-----
From: Don [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 1:47 PM
To: php list
Subject: [PHP] Can't get PHP running with apache
Hi,
Compiled and installed Apache 1.3.24 with mod_ssl and mod_perl. Compiled and
installed PHP 4.2.1 with the following:
'./configure' '--with-mysql' '--with-apxs' '--enable-dbase' '--with-imap'
'--with-kerberos' '--with-imap-ssl' '--enable-track-vars'
'--enable-force-cgi-redirect' '--with-gettext'
When I attempt to start apache, I get the following error message:
"Cannot add module via name 'mod_php4.c'. not in list of loaded modules."
I've sourced the net but could not find a resolution. Does this have anything
to do with /etc/ld.so.conf ?
Help!
Don