PHP Fatal error: Class 'DB' not found

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

PHP Fatal error: Class 'DB' not found

Kebba Foon
Dear all,

Was installing the exim4u in a new server but encounter the below error:

PHP Fatal error:  require_once(): Failed opening required 'DB.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/exim4u/config/variables.php on line 3

The php version am using is PHP 5.4.4-14+deb7u7, it looks like the DB.php is no more in the /usr/share/php. i have another previous installation which is running php version 5.3.3. Debian or PHP5 must have change something and miss things up, i might try to work on a fix later on just too busy right now.

Thanks
Kebba
_______________________________________________
users mailing list
[hidden email]
https://exim4u.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: PHP Fatal error: Class 'DB' not found

Rimas Kudelis
Hi Kebba,

you have to install php-db (or pear-db) package as well:

# apt-get install php-db

Regards,
Rimas

2014.02.14 17:01, Kebba Foon wrote:

> Dear all,
>
> Was installing the exim4u in a new server but encounter the below error:
>
> PHP Fatal error:  require_once(): Failed opening required 'DB.php'
> (include_path='.:/usr/share/php:/usr/share/pear') in
> /var/www/exim4u/config/variables.php on line 3
>
> The php version am using is PHP 5.4.4-14+deb7u7, it looks like the
> DB.php is no more in the /usr/share/php. i have another previous
> installation which is running php version 5.3.3. Debian or PHP5 must
> have change something and miss things up, i might try to work on a fix
> later on just too busy right now.
>
> Thanks
> Kebba


_______________________________________________
users mailing list
[hidden email]
https://exim4u.org/mailman/listinfo/users