How to run php programs on local computer?

Stephen cryptworks at gmail.com
Wed Jul 3 17:29:46 MST 2013


Install php. And apache if you want to use a web interface. Most php can be
run directly.
On Jul 3, 2013 5:11 PM, "keith smith" <klsmith2020 at yahoo.com> wrote:

>
> Did you install PHP and MySql ?  If so did you start both servers?
>
> ------------------------
> Keith Smith
>
> --- On *Wed, 7/3/13, joe at actionline.com <joe at actionline.com>* wrote:
>
>
> From: joe at actionline.com <joe at actionline.com>
> Subject: Re: How to run php programs on local computer?
> To: "Main PLUG discussion list" <plug-discuss at lists.phxlinux.org>
> Date: Wednesday, July 3, 2013, 3:15 PM
>
> Brian last wrote (in part): [example html code snipped]
> > If you paste the above code into a file named /var/www/index.php you
> > will see the result.  Just point your web browser at
> > http://127.0.0.1/index.php
>
> I followed this to the letter, but when I enter
> http://127.0.0.1/index.php in the browser address field,
> I got a pop-up asking this:
> "What should Firefox do with this file?"
> (*) Open with (KWrite (default) is the only option shown)
> ( ) Save File
>
> Also tried changing owner and group from root to joe.
> Still did not work.
>
> Also tried using my own IP address: http://192.168.0.87/index.php
> Still did not work.
>
> Also tried:  file:///var/www/index.php
> Still did not work.
>
> Also tried: http://127.0.0.1/var/www/index.php
> Still did not work.
>
> Also tried: http://192.168.0.87/var/www/index.php
> Still did not work.
>
> Can't seem to find the magic formula.
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org<http://mc/compose?to=PLUG-discuss@lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20130703/59911150/attachment.html>


More information about the PLUG-discuss mailing list