Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    6

    Default PHP openbase errors

    Hello Everybody,

    I'm getting following error for a particular domain when I try to execute phpinfo.php

    Warning: Unknown(): open_basedir restriction in effect. File(/home/alexande/public_html/phpinfo.php) is not within the allowed path(s): (/home/alexteno:/usr/lib/php:/usr/local/bin/php:/tmp) in Unknown on line 0

    Warning: Unknown(/home/alexande/public_html/phpinfo.php): failed to open stream: Operation not permitted in Unknown on line 0

    Warning: (null)(): Failed opening '/home/alexande/public_html/phpinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0

    The error above has been faced by many, as I could notice from the forums. but still I wasn't able to find a proper fix for it....
    Any help would be highly appreciated.......

  2. #2
    Member
    Join Date
    Jul 2002
    Location
    Atlanta, GA
    Posts
    646

    Default

    You've enabled OpenBasedir protection and are probably trying to access the phpinfo.php script on the 'alenande' account via a domain name that belongs to the 'alexteno' account.

    The error is telling you everything you need to know, and technically isn't an error at all; you're violating the protection you enabled with the request, so the system is trapping it properly and simply telling you that.

  3. #3
    BANNED
    Join Date
    Feb 2004
    Posts
    349

    Default

    Thats not true. We are getting the same error and rest assured we are not trying to access anyone elses scripts.

Similar Threads & Tags
Similar threads

  1. PHP 5.2.x errors
    By sureshm in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-07-2010, 06:44 AM
  2. Replies: 5
    Last Post: 01-05-2007, 01:41 PM
  3. Replies: 33
    Last Post: 09-10-2006, 01:56 AM
  4. EasyApache errors. broken php/unrecognized php.ini
    By skuhn718 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-01-2006, 10:23 AM
  5. php sessions errors after PHP 4.4.1 and apache 1.3.4 upgrade
    By SupermanInNY in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 11-11-2005, 05:43 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube