Permission Denied
Status: Alpha
Brought to you by:
stecy
I have phpmyadmin running on the same box without issue, so
Apache is working with mod_php and mysql nicely. This is the error
after I install the package and attempt to access it.
If this can get resolved, I'll create a ebuild for it for use with Gentoo.
Thanks!
Warning: main(admin/config/general.php): failed to open stream:
Permission denied in /home/httpd/htdocs/phpInv-0.7.0/global.php on
line 35
Fatal error: main(): Failed opening required 'admin/config/general.php'
(include_path='.:/usr/lib/php') in
/home/httpd/htdocs/phpInv-0.7.0/global.php on line 35
Logged In: YES
user_id=721009
All fixed. chown & chgrp everything to the apache user.
Also, it should be noted in the docs that Register Globals
needs to be set to "On" in order for the search to work. This
setting defaults to "Off" since 4.2.
Thanks for the project!
Logged In: NO
I had a similar problem and realised that all files were owned
by 1000 1000 (redhat 9) after unzip. I used "chown -R
apache.apache *" to change ownership to apache so it would
have access to these files which fixed the problem
Martin
Logged In: NO
Change file permission to that file. ...
Logged In: YES
user_id=679436
You need to chmod your general.php file with read access for
all.
Logged In: YES
user_id=1269941
This happend to me as well, but only on linux, and not on
Windows.
To resolve my issue, I had to issue the following command:
chmod 644
/home/httpd/htdocs/phpInv-0.7.0/admin/config/general.php
in order to give read access to that file to Apache connections.
And if I remember correctly, I had to do it as root.
-Jay