I am still running Apache 2.0. I have the need to use PHP 4 at times to support legacy code (Zend Encoded so no source or way to port it forward). If not I would be running Apache 2.2. Cheers, James On Thu, 2009-01-15 at 09:25 +0100, Mario Brandt wrote: > Hi James, > why do you use LoadModule php5apache2.dll ? > Shouldn't you use php5apache2_2.dll for Apache 2.2.x ? > > Mario > > -----Original Message----- > From: James Crow [mailto:james@xxxxxxxxxxxxx] > Sent: Wednesday, January 14, 2009 7:34 PM > To: Edward W. Rouse > Cc: php-windows@xxxxxxxxxxxxx > Subject: Re: Simply not working > > Sounds like you are missing the apache httpd.conf directives for php. > Here is snippet from my httpd.conf file: > > ## > # PHP Section > ## > #LoadModule php4_module "c:/php/php4apache2.dll" > LoadModule php5_module "c:/php/php5apache2.dll" > AddType application/x-httpd-php .php > AddType application/x-httpd-php .php3 > PHPIniDir "C:/php" > > My php is installed in c:\php. You need to make sure you follow the php > install instructions and copy the correct SAPI module to the C:\php > directory. > > Cheers, > James > > > On Wed, 2009-01-14 at 12:19 -0500, Edward W. Rouse wrote: > > Vista Business, Apache 2.2.11-win32-x86-openssl-0.9.8i.msi, > > mysql-noinstall-5.1.30-win32.zip and php-5.2.8-win32-installer.msi. > > > > > > > > Apache works, but php pages show the code rather than execute it. I > > have attached the php.ini and http.conf. I am not running apache as a > > service, rather am running in a command window since this is just for > > evaluating php software packages and not for production. > > > > > > > > I went back thru the archives and found an entry from May 2008 that > > was relevant and tried the attached ini file with no change. The log > > files shoe no errors. > > > > > > > > Error.log > > > > [Tue Jan 13 15:44:40 2009] [notice] Apache/2.2.11 (Win32) configured > > -- resuming normal operations > > > > [Tue Jan 13 15:44:40 2009] [notice] Server built: Dec 10 2008 00:10:06 > > > > [Tue Jan 13 15:44:40 2009] [notice] Parent: Created child process 3376 > > > > Apache server shutdown initiated... > > > > Child 3376: Child process is running > > > > [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Acquired the start > > mutex. > > > > [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting 64 worker > > threads. > > > > [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting thread to > > listen on port 8585. > > > > > > > > Access.log > > > > 127.0.0.1 - - [13/Jan/2009:14:47:14 -0500] "GET / HTTP/1.1" 200 44 > > > > 127.0.0.1 - - [13/Jan/2009:14:59:19 -0500] "GET > > /<*****>/install/install.php HTTP/1.1" 200 14730 > > > > 127.0.0.1 - - [13/Jan/2009:15:12:56 -0500] "GET > > /<*****>/install/install.php HTTP/1.1" 304 - > > > > 127.0.0.1 - - [13/Jan/2009:15:15:22 -0500] "GET /favicon.ico HTTP/1.1" > > 404 209 > > > > 127.0.0.1 - - [13/Jan/2009:15:44:51 -0500] "GET > > /<*****>/install/install.php HTTP/1.1" 200 14730 > > > > > > > > Shows several connections, some to the main page. The <*****> is to > > obfuscate the packages we are testing. It's a company thing.` > > > > > > > > Edward W. Rouse > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: > > http://www.php.net/unsub.php > > > -- > PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: > http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php