Quote:
|
Originally Posted by till
The file top.php is in the same directory? If yes, i guess that PHP is not enabled at all.
The php checkbox is checked for this website and the "administrator" checkbox is checked for the user you used to upload the .php files?
If all this is true, please create a testfile, upload it to your website and name it test.php:
<?php
phpinfo();
?>
If you call the file in a browser, do you gat a large output which functions are enabled in php?
|
Yes top.php is in the same directory. Yes the PHP checkbox and (safemode was) checked.
It's only php include commands.
If I type:
<? print 'Hello world!' ?>
I will see: Hello world
If I type:
<?php
phpinfo();
?>
I will see all that PHP and configurations stuff.
If I type:
<? include('top.php'); ?>
and top.php is in the same folder and looks like:
<? print 'Hello world' ?>
I will see a blank page.
That's why I'm confused.
All of this happen when Safe_mode = Off in php.ini
and Safe mode is checked or not in ISPConfig.
I just tried to put Safe_Mode = On in php.ini and uncheck Safe Mode in ISPConfig and it seems to work... ?!?!
SeaWolf
Recent comments
1 day 3 hours ago
1 day 12 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 17 hours ago
1 day 19 hours ago
1 day 21 hours ago
1 day 22 hours ago
2 days 14 hours ago
2 days 15 hours ago