<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>Did you install PHP and MySql ? If so did you start both servers? <br><br>------------------------<br>
Keith Smith<br><br>--- On <b>Wed, 7/3/13, joe@actionline.com <i><joe@actionline.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: joe@actionline.com <joe@actionline.com><br>Subject: Re: How to run php programs on local computer?<br>To: "Main PLUG discussion list" <plug-discuss@lists.phxlinux.org><br>Date: Wednesday, July 3, 2013, 3:15 PM<br><br><div class="plainMail">Brian last wrote (in part): [example html code snipped]<br>> If you paste the above code into a file named /var/www/index.php you<br>> will see the result. Just point your web browser at<br>> <a href="http://127.0.0.1/index.php" target="_blank onclick="return" themainwindow.showlinkwarning(this)"="">http://127.0.0.1/index.php</a><br><br>I followed this to the letter, but when I enter<br><a href="http://127.0.0.1/index.php"
target="_blank onclick="return" themainwindow.showlinkwarning(this)"="">http://127.0.0.1/index.php</a> in the browser address field,<br>I got a pop-up asking this:<br>"What should Firefox do with this file?"<br>(*) Open with (KWrite (default) is the only option shown)<br>( ) Save File<br><br>Also tried changing owner and group from root to joe.<br>Still did not work.<br><br>Also tried using my own IP address: <a href="http://192.168.0.87/index.php" target="_blank onclick="return" themainwindow.showlinkwarning(this)"="">http://192.168.0.87/index.php</a><br>Still did not work.<br><br>Also tried: file:///var/www/index.php<br>Still did not work.<br><br>Also tried: <a href="http://127.0.0.1/var/www/index.php" target="_blank onclick="return" themainwindow.showlinkwarning(this)"="">http://127.0.0.1/var/www/index.php</a><br>Still did not work.<br><br>Also tried: <a
href="http://192.168.0.87/var/www/index.php" target="_blank onclick="return" themainwindow.showlinkwarning(this)"="">http://192.168.0.87/var/www/index.php</a><br>Still did not work.<br><br>Can't seem to find the magic formula.<br><br><br><br>---------------------------------------------------<br>PLUG-discuss mailing list - <a ymailto="mailto:PLUG-discuss@lists.phxlinux.org" href="/mc/compose?to=PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>To subscribe, unsubscribe, or to change your mail settings:<br><a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></div></blockquote></td></tr></table>