| Author |  | 
| ytsohptwhere 
 
 
 Joined: 20 Jan 2007
 Posts: 5
 
 
 | 
|  Posted: Sat 20 Jan '07 1:02    Post subject: Apache 2.2.3 and PHP 5.2.0 errors! HELP! |   |  
| 
 |  
| I have installed Apache 2.2.3 and PHP 5.2.0 on XP pro. im getting the following error message. 
 The Apache service named  reported the following error:
 >>> httpd.exe: Syntax error on line 115 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/php/php5apache2_2.dll into server: The specified module could not be found.
 
 and in my httpd.conf the module is as follows.
 
 LoadModule php5_module "C:/program files/php/php5apache.dll"
 
 PHPIniDir "C:/windows"
 
 any suggestions?
 |  | 
| Back to top |  | 
| Steffen Moderator
 
 
 Joined: 15 Oct 2005
 Posts: 3130
 Location: Hilversum, NL, EU
 
 | 
|  Posted: Sat 20 Jan '07 14:29    Post subject: |   |  
| 
 |  
| Please search this Forum, there are a lot of topics about your issue. Come back here if you have still issues.
 
 Steffen
 |  | 
| Back to top |  | 
| ytsohptwhere 
 
 
 Joined: 20 Jan 2007
 Posts: 5
 
 
 | 
|  Posted: Tue 23 Jan '07 7:26    Post subject: |   |  
| 
 |  
| i have been looking and still havent found anything. Its still fubared  |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Tue 23 Jan '07 10:33    Post subject: |   |  
| 
 |  
| if you posted correct from your httpd.conf 
 LoadModule php5_module "C:/program files/php/php5apache.dll"
 
 must be
 
 LoadModule php5_module "C:/program files/php/php5apache2_2.dll"
 |  | 
| Back to top |  | 
| ytsohptwhere 
 
 
 Joined: 20 Jan 2007
 Posts: 5
 
 
 | 
|  Posted: Thu 25 Jan '07 22:15    Post subject: |   |  
| 
 |  
| If i put 2_2 for my moduel it still crashes. This is really starting to frustrait me... All i want is GD to work        |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Fri 26 Jan '07 10:12    Post subject: |   |  
| 
 |  
| if you disable all extensions in php.ini, is it running than? |  | 
| Back to top |  | 
| ytsohptwhere 
 
 
 Joined: 20 Jan 2007
 Posts: 5
 
 
 | 
|  Posted: Fri 26 Jan '07 11:19    Post subject: |   |  
| 
 |  
| if i disable all extenions in PHP.ini the server works fine. The other pages that are not PHP load and work fine, the server then crashes when i visit one of my PHP pages. Is my PHP install hosed? I have installed it and reinstalled it serveal time and still no luck. |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Fri 26 Jan '07 11:59    Post subject: |   |  
| 
 |  
| With the disables extension in php.ini run a simple script 
 
  	  | Code: |  	  | <?php
 phpinfo();
 ?>
 
 | 
 
 Does that work? IF yes, enable only GD extension in php.ini and try again.
 |  | 
| Back to top |  | 
| YUMYUM 
 
 
 Joined: 07 Apr 2006
 Posts: 1
 
 
 |  | 
| Back to top |  | 
| ytsohptwhere 
 
 
 Joined: 20 Jan 2007
 Posts: 5
 
 
 | 
|  Posted: Sat 03 Feb '07 0:39    Post subject: |   |  
| 
 |  
| @James Blond, using the simple PHP script crashes the server. If I turn off GD it still crashes. If i have no moduels turned on it still crashes anytime i goto one of my PHP pages. 
 @YUMYUM do you have a dll for 2.2.3?
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 |  | 
| Back to top |  |