How to configure PHP for Personer Web Server on Win 98?

liunx

Guest
I install PHP 4.0.6 on windows with Personer Web Server. During installing, I selected the type of http server to run php is: Microsoft PWS in Windows 9x or Me.
But after restarting PC, file .php didn't run on PWS. (exp: mycomputer/php/a.php)
Please help me!First off Download the .doc <!-- m --><a class="postlink" href="http://www.php.net/docs.php">http://www.php.net/docs.php</a><!-- m -->

Have you Instaled Apache.

If not instal Apache <!-- m --><a class="postlink" href="http://www.apache.org/">http://www.apache.org/</a><!-- m --> its free.
Copy the php.ini-dist file from the PHP folder to the proper system folder (e.g. C:/windows) save as php.ini

Start Apache server eazeiest way go through menue:.start>program> apache web server> start apache

Test Apache and PHP with browser, type <!-- m --><a class="postlink" href="http://localhost/">http://localhost/</a><!-- m --> in your browser

run test.php here is the source code

<HTML>
<HEAD>
<TITLE> Test My PhP</TITLE>
</HEAD>
<BODY>
<?PHP
phpinfo();
?>
</BODY>
</HTML>

Save and check your server it will let you know what you have, and what it will process.Will Apache run on a Windows 9X machine? I was under the impression its for nix and NT machines.

Regards,
kevinYou can instal on Windows 95, 98, ME, NT, or 2000
 
Back
Top