Page 1 of 1

php files download, not opening to view in browser

Posted: Tue Sep 12, 2017 5:31 pm
by ripriprip
Script URL: http://www.cotyrone.com/guestbook/index.php or http://cotyrone.com/guestbook/gbook.php
Version of script: 182
Hosting company: http://digitalorphans.org
URL of phpinfo.php: ?
URL of session_test.php: ?
What terms did you try when SEARCHING for a solution: php files download not open in browser

Write your message below:
I edited the settings.php file with notepad and encoded it ut8. uploaded all files with filezilla, chmod the renamed entries file 666. however I go to any php file in the guestbook folder, they only download to open (then show only code), do not show as a file in a browser window. I tried in both firefox and chrome, and cleared cache to try again, not successful. Any help would be appreciated. I've installed other php scripts on domains, and not experienced this. I must be doing something incorrectly, can you assist please.
Thank you
Tammy

Re: php files download, not opening to view in browser

Posted: Tue Sep 12, 2017 6:25 pm
by ripriprip
Hi,
Went away and cooked breakfast, then realized I hadn't turned on php support for this domain. Turned it on... works like a charm. Hope this helps others.
Tammy

Re: php files download, not opening to view in browser

Posted: Tue Sep 12, 2017 6:42 pm
by Klemen
Yes, lack of PHP support is usually the case, when you see source code instead of the HTML output :D