Thursday, February 27, 2014

PHP not being parsed by Apache on Ubuntu 13.10


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


1- Edit the following files


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 <?

No comments:

Post a Comment