<p dir="ltr">Install php. And apache if you want to use a web interface. Most php can be run directly.</p>
<div class="gmail_quote">On Jul 3, 2013 5:11 PM, "keith smith" <<a href="mailto:klsmith2020@yahoo.com">klsmith2020@yahoo.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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, <a href="mailto:joe@actionline.com" target="_blank">joe@actionline.com</a> <i><<a href="mailto:joe@actionline.com" target="_blank">joe@actionline.com</a>></i></b> wrote:<br>
<blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;padding-left:5px"><br>From: <a href="mailto:joe@actionline.com" target="_blank">joe@actionline.com</a> <<a href="mailto:joe@actionline.com" target="_blank">joe@actionline.com</a>><br>
Subject: Re: How to run php programs on local computer?<br>To: "Main PLUG discussion list" <<a href="mailto:plug-discuss@lists.phxlinux.org" target="_blank">plug-discuss@lists.phxlinux.org</a>><br>Date: Wednesday, July 3, 2013, 3:15 PM<br>
<br><div>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">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">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">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">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">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 href="http://mc/compose?to=PLUG-discuss@lists.phxlinux.org" target="_blank">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><br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto: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></blockquote></div>