LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   open php web pages (https://www.linuxquestions.org/questions/ubuntu-63/open-php-web-pages-475327/)

dyool 08-19-2006 04:57 AM

open php web pages
 
I can't open web pages that I save in computer with the extension .php using firefox just with Konqueror. If the page have the extension html the's no problem but php dont't open. Why?

cs-cam 08-19-2006 05:08 AM

PHP is a server-side language and you should be accessing them through a server, not clicking them in a file browser.

dyool 08-19-2006 05:36 AM

But I can open php pages in windows with internet explorer by clicking

cs-cam 08-19-2006 06:59 AM

You still shouldn't be, it wouldn't be parsing the PHP code that way. In reality you should have a testing server, either a seperate machine or just install PHP and Apache or lighttpd or on Windows use IIS and access the files by pointing your web browser at 'localhost'.


All times are GMT -5. The time now is 03:06 AM.