I only have the php3 directive because I need to work with some old php
code that has not been updated since 2005! Any modern php install should
not need it.

Cheers,
James

On Wed, 2009-01-14 at 14:52 -0500, Edward W. Rouse wrote:
> After much searching and reloading, Apache started to display errors on 
> startup. I had all of the php directives in place except for the .php3 and, 
> even though I'm not using the .php3 extension, I did add that 1 line. And 
> that one isn't in the documentation or help files, so if it is required, 
> those files should be updated. Anyway, the bottom line was that the Oracle 
> and PostgreSQL sections don't work out of the box, even though I have both 
> Oracle and Postgres working on the system with other programs. This seems to 
> be a known issue since May (http://bugs.php.net/bug.php?id=44905) at least as 
> far as Postgres is concerned.
> 
> Luckily at this point I don't need the Postgres nor Oracle functionality so 
> will worry about that another day.
> 
> Thanks
> 
> Edward W. Rouse
> 
> 
> -----Original Message-----
> From: James Crow [mailto:ja...@ultratans.com] 
> Sent: Wednesday, January 14, 2009 1:34 PM
> To: Edward W. Rouse
> Cc: php-windows@lists.php.net
> Subject: Re: [PHP-WIN] 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

Reply via email to