HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   phpMyAdmin installation fails due to open_basedir restriction (http://www.howtoforge.com/forums/showthread.php?t=27563)

kidalabama 6th October 2008 11:00

phpMyAdmin installation fails due to open_basedir restriction
 
yes true i have got new problem. i used not ispconfig pkg for phpmyadmin and in new configfiguration my phpmyadmin crashed.

the message is:
Warning: Unknown: open_basedir restriction in effect. File(/usr/share/phpmyadmin/index.php) is not within the allowed path(s): (/var/www/web1) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0

and same problem with zoneminder program...
what is this problem resolution ?

m411b 28th September 2009 00:52

Has there been a solution to this yet?

madmucho 28th September 2009 11:25

try this
 
if this host have php safe mode disable it.
open base dir restriction is directive that told php in which folder that host can work an include files, if you include files outside this path you will get this error message, that is one security concept in php vhost env. Try install all files inside your web1/web folder and run again.


All times are GMT +2. The time now is 03:54.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.