Php – enabling php in apache

apache-2.2PHP

I have installed apache 2.2 and php 5.3. when I run a simple php code like
<?php phpinfo();?>
instead of the simple php information page the code shows up on the screen. My php it seems is not running.
How I can enable it and makes it to run with apache. btw. I am newbee

thanks

Best Answer

Quick google search will show tons of options concerning configuration and installation. Give this one a go: http://php.net/manual/en/install.php

The easiest way to test you PHP installation is to run a php_info() function. See details and examples here: http://php.net/manual/en/function.phpinfo.php

Related Topic