newbie: Cannot add module via name 'mod_php4.c': not in list of loaded modules
| From: | Robert Taylor | Date: | Tue, 20 May 2003 14:03:06 +0000 |
| Subject: | newbie: Cannot add module via name 'mod_php4.c': not in list of loaded modules | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-20010@lists.php.net to get a copy of this message | ||
Greetings, I'm having problems installing PHP. I have been through the
install.txt thoroughly and have searched Google, the mailing list archives
and other resources. Below is some
configuration information.
Configuration:
Win2k
Apache1.3.19 for Windows
php-4.3.1-Win32
Installation:
E:\web_server\apache\Apache
E:\php\php-4.3.1-Win32
E:\php\php-4.3.1-Win32\sapi\php4apache.dll
C:\WINNT\system32\php4ts.dll
C:\WINNT\system32\php.ini
httpd.conf:
ClearModuleList
#AddModule mod_so.c mod_mime.c mod_access.c mod_auth.c mod_negotiation.c
#AddModule mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_userdir.c
#AddModule mod_alias.c mod_env.c mod_log_config.c mod_asis.c mod_imap.c
#AddModule mod_actions.c mod_setenvif.c mod_isapi.c
AddModule mod_php4.c
#LoadModule anon_auth_module modules/mod_auth_anon.so
#LoadModule dbm_auth_module modules/mod_auth_dbm.so
#LoadModule digest_auth_module modules/mod_auth_digest.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule digest_module modules/mod_digest.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule info_module modules/mod_info.so
#LoadModule status_module modules/mod_status.so
#LoadModule usertrack_module modules/mod_usertrack.so
LoadModule servletexec_module modules/ApacheModuleServletExec.dll
#LoadModule php4_module E:/php/php-4.3.1-Win32/sapi/php4apache.dll
LoadModule php4_module modules/php4apache.dll
php.ini:
; Directory in which the loadable extensions (modules) reside.
;extension_dir = ./
extension_dir = E:/php/php-4.3.1-Win32/sapi/
I keep getting the following 2 errors:
Event Type: Error
Event Source: Apache Service
Event Category: None
Event ID: 3299
Date: 5/20/2003
Time: 9:07:35 AM
User: N/A
Computer: MULEWORK-RT
Description:
The Apache service named E:\web_server\apache\Apache\Apache.exe reported the
following error:
>>> Cannot add module via name 'mod_php4.c': not in list of loaded modules
<<<
before the error.log file could be opened.
More information may be available in the error.log file.
Event Type: Error
Event Source: Apache Service
Event Category: None
Event ID: 3299
Date: 5/20/2003
Time: 9:34:39 AM
User: N/A
Computer: MULEWORK-RT
Description:
The Apache service named E:\web_server\apache\Apache\Apache.exe reported the
following error:
>>> Syntax error on line 175 of e:/web_server/apache/apache/conf/httpd.conf:
<<<
before the error.log file could be opened.
More information may be available in the error.log file.
This is on line #175: AddModule mod_php4.c
Any help would be appreciated.
robert