You are not logged in.

#1 2004-06-17 19:08:32

hecker
Member
Registered: 2004-06-12
Posts: 15

php: permission denied

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

#2 2004-06-17 20:09:46

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: php: permission denied

chmod a+x phpinfo.php

should do the trick.

Dusty

Offline

#3 2004-06-17 20:16:17

hecker
Member
Registered: 2004-06-12
Posts: 15

Re: php: permission denied

ah perfect... the execute right wink

thanks

Offline

Board footer

Powered by FluxBB