Re: newbie: Cannot add module via name 'mod_php4.c': not in list of loaded modules

From: Date: Tue, 20 May 2003 15:49:38 +0000
Subject: Re: newbie: Cannot add module via name 'mod_php4.c': not in list of loaded modules
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-20012@lists.php.net to get a copy of this message
hay robert try these 1.LoadModule php4_module C:/php/sapi/php4apache.dll your php is installed on e:\ did u unzip it there ???? if not copy the extensions folder to E:\php\php-4.3.1-Win32 and check for sapi and dlls folders they should be in E:\php\php-4.3.1-Win32 too 2.u have to have the php4ts.dll in your windows\system32 folder and a copy of php.ini in windows folder 3.check ur include_path in php.ini also extensions dir extension_dir = "c:\php\extensions" i hope this helps good luck toby --- Robert Taylor <rtaylor@mulework.com> wrote: > 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 > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __________________________________________________ It's Samaritans' Week. Help Samaritans help others. Call 08709 000032 to give or donate online now at http://www.samaritans.org/support/donations.shtm

« previous php.windows (#20012) next »