Posted by mylek on 09/24/06 14:58
I am using an apache server with PHP version 4.3.10-16. I uploaded the
following script (testphp.php):
<?php phpinfo(); ?>
I get the standard PHP info screen. No problem there. However when I
upload this script (learn.php):
<?php gmdate("M d Y"); ?>
I get:
Warning: Unknown(/www/www.server.com /Users/******/learn.php): failed
to open stream: Permission denied in Unknown on line 0
Warning: (null)(): Failed opening
'/www/www.server.com/Users/******/learn.php' for inclusion
(include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
I changed the server path for security reasons while posting in here. I
would appreciate any help. I don't see an difference in the two
scripts. I know PHP works because the first script works.
Navigation:
[Reply to this message]
|