FreeBSD Cpanel Server – Pear not working

In a FreeBSD 5.4 Cpanel server, Apache is compiled with pear, but is not working. The site worked well on Linux Cpanel server, but after moving to FreeBSD server, start getting following error

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

Solution can be found at Dedicated Server Forum


Posted in Cpanel Server, FreeBSD. Bookmark the permalink.