How to change PHP include directories?

shongale

Verified User
Joined
Oct 21, 2012
Messages
7
DUh! Where's my php.ini? How do you make a good site with your permission. Where are these things?
Warning: include() [function.include]: open_basedir restriction in effect. File(/support/ajax/main.php) is not within the allowed path(s): (/home/dirirscom1/:/tmp:/var/tmp:/usr/local/lib/php/) in /usr/home/dirirscom1/domains/dirirs.com/public_html/index.php on line 2

Warning: include(/support/ajax/main.php) [function.include]: failed to open stream: Operation not permitted in /usr/home/dirirscom1/domains/dirirs.com/public_html/index.php on line 2

Warning: include() [function.include]: Failed opening '/support/ajax/main.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/dirirscom1/domains/dirirs.com/public_html/index.php on line 2

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /usr/home/dirirscom1/domains/dirirs.com/public_html/index.php on line 3
Could NOT connect

Does this website belong to me or you?
 
Hello,

It has nothing to do with include directory. You might need to review configuration file, and change installation directory there, as it seems your PHP script fails to determine the document root (which seems to be /usr/home/dirirscom1/domains/dirirs.com/public_html/).

Anyway the site dirirs.com seem to me to be up. So you resolved the issue, I'd guess.

Does this website belong to me or you?

Not me for sure. Directadmin is a web based control panel for managing hosting software and accounts, we do not sell hosting. It's your hosting company from which you bought hosting uses Directadmin and it's then responsible for the things.
 
Back
Top