Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-02-2006, 01:30 PM   #1
Registered: Sep 2005
Posts: 114

Rep: Reputation: 15
Viewing a PHP page, but it asks to save?

Have different problems on 2 servers.
Both PHP file is just a test file with this code inside:
<? phpinfo(); ?>

1st server:
Asks me to save the PHP file. Why??

2nd server:
Doesn't execute, instead it displays the text:
<? phpinfo(); ?>

Any ideas? Thanks!
Old 02-02-2006, 01:38 PM   #2
Registered: May 2004
Location: India
Distribution: openSUSE Tumbleweed and SLED 12 SP2
Posts: 94

Rep: Reputation: 31
which sever are you using? and the php related settings please ...
Old 02-02-2006, 01:43 PM   #3
Registered: Sep 2005
Posts: 114

Original Poster
Rep: Reputation: 15
Both server are linux running centos. I don't know about php related settings since I can't run the phpinfo thing. The 1st server is using php 4.4.1 I think, the 2nd server I don't know anything about it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm install: A asks for B, B asks for A mike_bio Linux - Software 6 07-15-2005 04:00 AM
"Go back to the page you were previously viewing" - From User CP vharishankar LQ Suggestions & Feedback 2 06-13-2005 08:22 AM
My Red Hat asks me to visit Gnome crash page Einar Schlereth Linux - Newbie 2 04-10-2005 11:45 AM
viewing web-page utf-8-encoded tony yu Mandriva 0 03-04-2004 05:36 AM
save and run php page !!! hitesh_linux Linux - General 2 04-16-2003 03:32 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration