php safe_mode on and /usr/lib/php/DB.php error - pear

I got 2 servers running php in safe mode. on one of them script:

<?php

require_once 'DB.php';

?>

wokrs fine!!

but on another
Warning: main(): SAFE MODE Restriction in effect. The script whose uid is 32003 is not allowed to access /usr/lib/php/DB.php owned by uid 0 in /home/hubs5/public_html/a.php on line 3

Warning: main(DB.php): failed to open stream: Permission denied in /home/hubs5/public_html/a.php on line 3

Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hubs5/public_html/a.php on line 3


DONT WORK. I compared chowns and chmods between 2 servers. No diffrence. Why on 1 server it is working while on another not

 

 

 

 

Top