SAR
SAR

Reputation: 1845

How to make the CENTOS linux to run php

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

Answers (1)

cha
cha

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

Related Questions