DeluXe Network Forums
March 22, 2010, 08:19:17 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Please do not add ads in your signature!
 
   Home   Help Search Members Login Register  
Pages: [1]
  Print  
Author Topic: Apache And Php  (Read 1675 times)
aquatsr
Sr. Member
****

Honor: 0
Offline Offline

United States United States

Posts: 436


View Profile
« on: August 04, 2006, 08:30:49 pm »

So I installed Apache Web Server 2.x and it worked fine. I then downloaded PHP and went through the manual install steps placing php4apache2.dll, php4ts.dll and php.exe in a folder c:/php. However after editing the httpd conf file in the Apache folder the server won't restart and gives the error:

Code:
httpd.exe: Syntax error on line 115 of C:/Program Files/Apache Group/conf/httpd.conf: Cannot load C:/php/php4apache2.dll into server: The specified module could not be found.

Why would that be appearing. The file is exactly where I it is specified. Help?
Logged

Jimmy0
Global Moderator
Hero Member
*****

Honor: 1
Offline Offline

Posts: 1836



View Profile WWW
« Reply #1 on: August 04, 2006, 09:21:31 pm »

Well what is line 115 of the httpd.conf.

Also are you sure its possibly not C:/PHP instead of lower case ... also try changing them to backward slashes.

So it becomes "C:\php\php4apache2.dll"
Logged

aquatsr
Sr. Member
****

Honor: 0
Offline Offline

United States United States

Posts: 436


View Profile
« Reply #2 on: August 05, 2006, 05:55:30 pm »

I'll try the backwards slashes, and yes, I tried changing the case.

EDIT: Hmm it didn't work. I'm going to uninstall everything and try it again.
« Last Edit: August 05, 2006, 06:03:19 pm by aquatsr » Logged

aquatsr
Sr. Member
****

Honor: 0
Offline Offline

United States United States

Posts: 436


View Profile
« Reply #3 on: August 05, 2006, 08:55:47 pm »

I reinstalled. Apache runs fine. However it still won't load php as a module.

Line 67 is the one with LoadModule php4_module php/sapi/php4apache2.dll

Code:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule php4_module php/sapi/php4apache2.dll
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so

So... still looking for help.
Logged

aquatsr
Sr. Member
****

Honor: 0
Offline Offline

United States United States

Posts: 436


View Profile
« Reply #4 on: August 05, 2006, 09:09:44 pm »

HA! I got it! I was using apache_2.2.3-win32-x86-no_ssl instead of apache_2.0.59-win32-x86-no_ssl. The newer version wasn't loading the PHP correctly.

Sorry for the double-post *bump*
Logged

Pages: [1]
  Print  
 
Jump to:  

 

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.071 seconds with 15 queries.