RE: Trying to set up a test server on my localhost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Actually, I got it working with both. They are identical files.

I had to drop the C: and just go with /PHP5/php5apache2.dll or
/PHP5/php5apache2_2.dll, and then when I tested it from the console I got no
error message, so I killed the console session and started it as a service
and everything worked fine. This was when I tried testing with both versions
of the file, and again it worked fine, although yes the 2_2 file is the
"proper" one to use.

Amazing what articulating the problem in words, and then taking a little
walk for some fresh air can do :)



-----Original Message-----
From: Janet Valade [mailto:jvalade@xxxxxxxx] 
Sent: Wednesday, June 20, 2007 5:35 PM
To: Paul Blondé
Cc: php-install@xxxxxxxxxxxxx
Subject: Re:  Trying to set up a test server on my localhost


Paul Blondé wrote:
> OK so I installed Apache2.2.4 and it worked fine, then I unpacked the
Win32
> executable (not MSI installer) to C:\PHP5 and put this in my httpd.conf:
> 
> LoadModule php5_module "c:/php5/php5apache2.dll"

For one thing, the name when using Apache 2.2 is php5apache2_2.dll.

Janet

> 
> and lower down:
> 
> 	AddType application/x-httpd-php .php
> 
> I've tried it without the quotes, I've tried it with the C:/PHP5 part
> capitalized, I've tried it a dozen different ways, but I still get the
same
> message:
> 
> httpd: Syntax error on line 116 of C:/Program Files/Apache Software
> Foundation/Apache2.2/conf/httpd.conf: Cannon load C:/PHP5/php5apache2.dll
> into server: The specified module could not be found.
> 
> I have tried forums, mailing lists, Gooooooooooooogle, and every other
> resource I can think of and nobody can tell me why this does not work,
> despite consulting numerous installation guides and instructions from
every
> source I can find!
> 
> I have even gone to the extent of creating a special user for apache,
called
> apache, on the local machine, with the ability to run as a service, and
> given it read and execute access to the entire Apache and PHP directories!
> 
> This is driving me crazy!
> 
> 


-- 
Janet Valade -- janet.valade.com


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux