LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Viewing a PHP page, but it asks to save? (https://www.linuxquestions.org/questions/linux-general-1/viewing-a-php-page-but-it-asks-to-save-410953/)

newlinuxnewbie 02-02-2006 01:30 PM

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!

pintooo15 02-02-2006 01:38 PM

which sever are you using? and the php related settings please ...

newlinuxnewbie 02-02-2006 01:43 PM

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.


All times are GMT -5. The time now is 09:08 PM.