You are not logged in.
hi all,
i just installed a lamp on my arch and i used the wiki howto http://wiki.archlinux.org/index.php/Apa … nd%20MySQL
now i want to test php with with the phpinfo() function like that:
<?php phpinfo(); ?>
this file rests in my user dir (~/myuser/public_html/phpinfo.php). when i point my browser to "http://localhost/~myuser/phpinfo.php" i get the following error:
Warning: Unknown(/home/myuser/public_html/phpinfo.php): failed to open stream: Permission denied in Unknown on line 0
Warning: (null)(): Failed opening '/home/myuser/public_html/phpinfo.php' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0
ne1 knows whats wrong?
Offline
chmod a+x phpinfo.php
should do the trick.
Dusty
Offline
ah perfect... the execute right
thanks
Offline