HostOnNet Blog

FreeBSD Cpanel Server – Pear not working

Looking for Linux Server Admin or WordPress Expert? We can help.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.