I'm trying to install the latest version of PHP on my home machine for development purposes. I used the installer that comes with one of the Windows versions. I then checked and confirmed everything in the install instructions, as well as the Sitepoint article on using MySQL and PHP. I'm using Personal Web Server(PWS) 4. My problem comes when I go to open a PHP file. The file opens up on the server with nothing where any php code is. I don't see any raw PHP, just emptiness where there should be something filled in by PHP. It's like the server is blind to everything between <?php and ?>.
Any assistance is greatly appreciated. Thanks.
How are you trying to open the php page, did you do a File>Open or did you type in http://localhost in the browser. You need view the php pages through a web server so get PWS running and put a php file in the root directory, then access as http://localhost/yourfile.php
I got it. Duh! It said I had to restart the server. I didn't realize this involved restarting the entire computer. (Knocks on his head and hears an echo.) Now it works fine and dandy. Thanks anyway. And yes, I was accessing it through http://localhost/test.php.
<Edited by Percipient on 02-04-2001 at 10:07 PM>