PHP code is not being parsed on Ubuntu 13.10 even through php CLI command
The php code appears as html comments if you did a view source for the php file
Version: PHP 5.3.3
Solution
1- Edit the following files
/etc/php5/cli/php.ini
/etc/php5/apache2/php.ini
2- Change the following setting to On
short_open_tag = Off
3- Restart the server
Or you can change your code to use<?PHP instead of <?
Tweet
No comments:
Post a Comment