Reputation: 1845
I am using CentOS linux
i have installed:
CENTOS
APACHE
PHP
The Problem is when i run php file only the code of the file shows not it's self as my phpinfo works fine
where i have mistaken
thanks
Upvotes: 0
Views: 165
Reputation: 740
Check php start and end tags. If you are using short tags, then you have to configure it in php.ini.
http://php.net/manual/en/language.basic-syntax.phptags.php
Upvotes: 1