I don't know why PHP isn't working, for example i put info.php where:
<?
phpinfo();
?>
then go to link http://site.com/info.php
and i don't get info about phpinfo but:
<?
phpinfo();
?>
Server only read file like i think.
When i run from shell:
# php -v
PHP 5.2.5 (cli) (built: Sep 16 2008 21:58:09)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd.
So PHP is installed, and in httpd.conf i got loaded module and directory index:
LoadModule php5_module /usr/lib/apache/libphp5.so
DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3
What's wrong?
<?
phpinfo();
?>
then go to link http://site.com/info.php
and i don't get info about phpinfo but:
<?
phpinfo();
?>
Server only read file like i think.
When i run from shell:
# php -v
PHP 5.2.5 (cli) (built: Sep 16 2008 21:58:09)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd.
So PHP is installed, and in httpd.conf i got loaded module and directory index:
LoadModule php5_module /usr/lib/apache/libphp5.so
DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3
What's wrong?