Re: HELP-- PHP wouldn't work with Apache/W2K

From: Date: Tue, 04 Mar 2003 08:51:34 +0000
Subject: Re: HELP-- PHP wouldn't work with Apache/W2K
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-10266@lists.php.net to get a copy of this message
CGI access works just fine! ./pl "Sharat Hegde" <shah@sonata-software.com> wrote in message news:30402B4CB8C7D311A3C600C04F1513BC02102DF2@bg2ipmail... > I am using the CGI access and not the PHP4 module. Will that cause a > problem? > > Hence I do not have the "LoadModule php4_module c:/php/sapi/php4apache.dll" > line in my Apache config file. > > Regards, > Sharat Hegde > Phone: 6575800 Ext 4610 > Direct: 6566615 > > > -----Original Message----- > From: Patrick LOK [mailto:patricklok@msn.com] > Sent: Tuesday, March 04, 2003 1:20 PM > To: php-install@lists.php.net > Subject: Re: [PHP-INST] HELP-- PHP wouldn't work with Apache/W2K > > > RE: [PHP-INST] HELP-- PHP wouldn't work with Apache/W2KI have exact > config/setup w/ yours except loading sapi! Mine is working fine! > > FYI, SAPI won't work on W2K; so the last 2 inserts are meaningless (you may > remove them). > > DId you 'Restart' Apache? > ./pl > > > "Jip Kongruengkit" <jkongruengkit@lendingtree.com> wrote in message > > news:92B00EFA01D8464AB005885A5A6EDEDB2A5FF5@cltexch1.lendingtree.net... > Sorry all, I forgot to mention these steps: > > In Apache's config file (httpd.conf), I did the following: > - inserted ScriptAlias /php/ "c:/php/" > - inserted AddType application/x-httpd-php .php > - inserted Action application/x-httpd-php "/php/php.exe" > - inserted LoadModule php4_module c:/php/sapi/php4apache.dll > - inserted AddModule mod_php4.c > > -----Original Message----- > From: Rich Gray [mailto:rich@f1central.net] > Sent: Monday, March 03, 2003 11:55 PM > To: Jip Kongruengkit; php-install@lists.php.net > Subject: RE: [PHP-INST] HELP-- PHP wouldn't work with Apache/W2K > > > > > Hi all, > > > > I have installed PHP 4.3.1 on Apache 1.3.27 on Windows2000 > > Server, and I've > > created a test file with just <? php phpinfo(); ?>, but when I > > tried to view > > that file via my browser, I got a blank screen. And when I did 'view > > source' in the browser, I was able to see the source code of the > > PHP script. > > > > According to the FAQ, this means that the web server did not send > > the script > > to PHP for interpretation, but I have double checked the Apache > > configuration against the PHP installation instructions many many > > times, and > > there doesn't seem to be anything wrong. > > > > Here are the steps that I followed when installing PHP: > > 1. Extracted the files to c:\php > > 2. Copied php4ts.dll, php4apache.dll, and all files in c:\php\dlls to > > c:\winnt\system32 > > 3. Copied php.ini-optimized to c:\winnt and renamed it php.ini > > 4. In php.ini, set extension_dir = c:\php\extensions\ > > 5. In php.ini, set doc_root = c:\Inetpub\wwwroot\php\ (this is > > also where I > > put my test file) > > 6. Gave php.ini read permission to Everyone. > > > > Is there anything that I missed or did wrong? Thanks for any help. > > Er ... did you configure Apache? > > Rich > ********************************************************************* > Disclaimer: The information in this e-mail and any attachments is > confidential / privileged. It is intended solely for the addressee or > addressees. If you are not the addressee indicated in this message, you may > not copy or deliver this message to anyone. In such case, you should destroy > this message and kindly notify the sender by reply email. Please advise > immediately if you or your employer does not consent to Internet email for > messages of this kind. > *********************************************************************

« previous php.install (#10266) next »