I am working from a book and the database connection is set up using the DB.php file in the PEAR module of PHP.
The book tells me to ue the code
require 'DB.php';
but this gives a 500 error.
BT technical help advise the location for 'DB.php' is /services/websoftware/zend.php5/pear/ but inserting
require '/services/websoftware/zend.php5/pear/DB.php' into a php file which already works just produces an error again (no such file)
Can anyone tell me what I'm doing wrong?