Find the answer to your Linux question:
Results 1 to 3 of 3
hello i am new with PHP,i m trying to run PHP script in linux but it is not running through browser,only a blank page has appeared but its running with ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    1

    Thumbs up Php script is not running through browser

    hello
    i am new with PHP,i m trying to run PHP script in linux
    but it is not running through browser,only a blank page has appeared but its running with command prompt(HTML tag are visible wth output in case of cammand prompt)
    i have installed apache,mysql automatically by enabling the packages in linux
    what should i do?
    plz help if u anyone can
    do reply asap.........

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,939
    There are numerous tutorials for specific distributions on setting up LAMP Servers so depending upon your distro, google 'lamp server on 'distro'. Using these tutorials should have everything working. Don't know which distro of Linux you are using so can't be anymore specific.

  3. #3
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    How are you opening the php file in your browser? As a local file or through a web server like apache or lighttpd? It's the web server who can interacts with php to serve the file, and not the browser.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...