Your test file is named test.htm.  Is your web server set up to send htm files to the 
PHP engine, or is it set up to parse .php, .phtml, etc., not .htm?  It's unlikely it's 
a permissions problem, because the web server is serving it up.  A php file is parsed 
and not executed.  The problem is the web server doesn't know it should be doing 
something with the file.

>>> "C (FÈsar Monroy" <[EMAIL PROTECTED]> 06/13/02 11:10AM >>>
How am I supposed to configure PWS to run PHP?
I followed carefully all instructions... I even added the path (which is not
said in the install text) and now get a HTTP 500 problem... I has to be
something with permits, but I'm clueless. Thanks, Jim

"Jim Thome" <[EMAIL PROTECTED]> escribi= en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Did you follow the instructions for configuring PWS found in the file
install.txt?  Specifically, did you configure PWS to use the PHP executable
on .php files?

Jim

>>> "C (F+sar Monroy" <[EMAIL PROTECTED]> 06/12/02 07:59PM >>>
Hi Group:

I recently downloaded PHP4 to try it in my Win98/Personal Web Server.
Even after several installations following instructions, my server refuses
to
interpret PHP scripts...

1. Downloaded PHP 4.2.1 for Windows
2. Unzipped to C:\PHP
3. Edited and copied PHP.INI to C:\Windows
4. PWS works fine at http://localhost 
5. Added virtual folder C:\PHP to PWS and set execute privileges
6. Rebooted computer
7. Wrote a simple PHP file: <?php echo "This is a test"; ?>
8. Opened browser and pointed to http://localhost/test.htm 

The page displays correctly but the string THIS IS A TEST never
showed.

Can anyone point me to what I did wrong?



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 





-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to