Apache and PHP wont work

This is a discussion on Apache and PHP wont work within the Windows Web Servers forums, part of the Web Server and Related Forums category; hi, (Im running on windows) Can somoene please tell why when i try and include the following text to apaches ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-11-2007
rh.pngn@gmail.com
 
Posts: n/a
Default Apache and PHP wont work

hi,
(Im running on windows)
Can somoene please tell why when i try and include the following text
to apaches conf. to load the php modules, Apache then doesnt want to
start?

# PHP5
LoadModule php5_module "D:/php/php5apache2.dll"
AddType application/x-httpd-php .php

# Path to php.ini
PHPIniDir "D:/php"

In my logs i get: httpd.exe: Syntax error on line 475 of D:/Apache2.2/
conf/httpd.conf: Cannot load D:/php/php5apache2.dll into server: The
specified module could not be found.
I dont understand WHY is it saying this because php5apache2.dll is in
d:/php dir.

Any suggestions?
Thanks

PS-i tried to switch the slashes: LoadModule php5_module "D:\php
\php5apache2.dll" but nothings changed.....

  #2 (permalink)  
Old 02-11-2007
Purl Gurl
 
Posts: n/a
Default Re: Apache and PHP wont work

rh.pngn@gmail.com wrote:

> (Im running on windows)


> LoadModule php5_module "D:/php/php5apache2.dll"
> AddType application/x-httpd-php .php


> In my logs i get: httpd.exe: Syntax error on line 475 of D:/Apache2.2/
> conf/httpd.conf: Cannot load D:/php/php5apache2.dll into server: The
> specified module could not be found.


http://www.devside.net/articles/windows/php-apache22

http://forums.devshed.com/apache-dev...ll-349394.html

http://forums.devnetwork.net/viewtop...1b7afa4d5aed41


Purl Gurl

  #3 (permalink)  
Old 02-11-2007
rh.pngn@gmail.com
 
Posts: n/a
Default Re: Apache and PHP wont work

On Feb 11, 5:37 pm, Purl Gurl <purlg...@purlgurl.net> wrote:
> rh.p...@gmail.com wrote:
> > (Im running on windows)
> > LoadModule php5_module "D:/php/php5apache2.dll"
> > AddType application/x-httpd-php .php
> > In my logs i get: httpd.exe: Syntax error on line 475 of D:/Apache2.2/
> > conf/httpd.conf: Cannot load D:/php/php5apache2.dll into server: The
> > specified module could not be found.

>
> http://www.devside.net/articles/windows/php-apache22
>
> http://forums.devshed.com/apache-dev...error-can-t-lo...
>
> http://forums.devnetwork.net/viewtop...=31f72270da42a...
>
> Purl Gurl


Ahhhhhhhhhhhhhhhhhhh.................
I forgot about that.
Thanks alot!

  #4 (permalink)  
Old 02-18-2007
tommaso.tagliabue@gmail.com
 
Posts: n/a
Default Re: Apache and PHP wont work


Purl Gurl ha scritto:

> rh.pngn@gmail.com wrote:
>
> > (Im running on windows)

>
> > LoadModule php5_module "D:/php/php5apache2.dll"
> > AddType application/x-httpd-php .php

>
> > In my logs i get: httpd.exe: Syntax error on line 475 of D:/Apache2.2/
> > conf/httpd.conf: Cannot load D:/php/php5apache2.dll into server: The
> > specified module could not be found.

>
> http://www.devside.net/articles/windows/php-apache22
>
> http://forums.devshed.com/apache-dev...ll-349394.html
>
> http://forums.devnetwork.net/viewtop...1b7afa4d5aed41
>
>
> Purl Gurl



thanks thanks thanks thanks !!!!!!!!!!!!!!!!!

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:34 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0