CGI access works just fine! ./pl
"Sharat Hegde" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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:[EMAIL PROTECTED] > Sent: Tuesday, March 04, 2003 1:20 PM > To: [EMAIL PROTECTED] > 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" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > 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:[EMAIL PROTECTED] > Sent: Monday, March 03, 2003 11:55 PM > To: Jip Kongruengkit; [EMAIL PROTECTED] > 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. > ********************************************************************* -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php