FreeBSD Cpanel - Pear Problem
Hi,I have moved a web site from Linux Cpanel server to Cpanel server running FreeBSD. Almost all sites work fine.
One site got problem, it says
Warning: main(DB.php): failed to open stream: No such file or directory in /home/user/public_html/db_connect.php on line 5
Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/db_connect.php on line 5
Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/db_connect.php on line 5
I have compiled Apache with Pear on the server.
I pointed the site to old Linux server and is working fine.
I just copied the DB.php from pear file to clients folder, but it give another error. "DB Error: not found" DB info are proper, i have verified it and DB is working too. I think just copying DB is not enough.
Can anyone tell how do i correct the problem ?
Regards,
Yujin