Web Hosting Talk







View Full Version : standard php script don't work properly


3-rx
02-01-2007, 08:09 AM
Hello

3 days ago i order VPS plan, ask to install php5.02 (control panel Directadmin)

2 days i try to run standart php commands, without any result

file
<?php

echo __FILE__;

?>



output in browser

<?php

echo __FILE__;

?>



script

<?php phpinfo(); ?>


output in browser

<?php

phpinfo();

?>

any advice will be appreciated

chrisranjana
02-01-2007, 10:22 AM
Most probably the

LoadModule
AddType Application

Directives in apache httpd.conf file were not set properly.

Or it could be as simple as apache was not restarted after installation.