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 ...
- 04-08-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 1
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.........
- 04-08-2009 #2Linux 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.
- 04-08-2009 #3Linux 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.


Reply With Quote