Could you give me the steps needed for running a PHP program in Linux/ Web browser?

I had only a single system. I need to run my php program in my web browser like Mozilla. How can I earn it?

if your Linux system is configured with apache/php/mysql, then just copy the php file into the http-root folder (typically /var/www)

assuming that your PHP file is named myfile.php, to access the page, in your webbrowser type

http://localhost/myfile.php

4 Responses to “Could you give me the steps needed for running a PHP program in Linux/ Web browser?”

  • S K says:

    just open the .php file
    References :

  • this_works_great says:

    U need to have Apache server in order to view PHP files in your browser just like IIS server, go to Apache homepage</a> & download server package install they will guide u thru the rest of the process of configuring it my webpage http://www.ensure.co.in
    References :

  • Magick says:

    Do you have php installed on the machine?

    _____________________________________

    I just read the post above mine. There is something about apache that I forgot about.
    References :
    http://www.php.net/

  • reguser2005 says:

    if your Linux system is configured with apache/php/mysql, then just copy the php file into the http-root folder (typically /var/www)

    assuming that your PHP file is named myfile.php, to access the page, in your webbrowser type
    http://localhost/myfile.php
    References :

Leave a Reply