Pear is something that is installed with PHP on the server. Your server administrator will likely need to install the MDB package themselves. This usually is done by simply typing "pear install MDB" at a shell prompt on the server. The include_path is set in php.ini.
Alternatively, you can install the necessary files in your document root and use a .htaccess file to set your include path if you are running php as an apache module.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
MDB error.
Well I got the complete class downloaded, can I do some thing with it. If not how to check if mdb package is installed in the system as am new to PHP could you please advise or suggest how to make this work.
whats that "Pear".
Suggest how to install MDB package if its not available and how to include the path in the pear directory.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In most configurations, installing MDB is just a matter of using "pear install MDB" from a shell prompt (usually done as an administrator - either windows or unix). You could also install the files in your document root of the site that uses them. You would have to also download any of the package dependencies as well like the main PEAR package.
To include the PEAR directory in the include_path, you can edit the value in the php.ini file. Or, if you are running php as an apache module, you can set it there using a statement like:
sessions.php is looking for the file mdb.php which is not included in the download. Anybody know where I can get this file?
thanks,
Make sure that the server has Pear available and the MDB package is installed as well as having the Pear directory in the include path.
where can i found the MDB package
and how must i install this package
cann you please explain Pear directory include path?? where must this path be specified
thanks a lot
Pear is something that is installed with PHP on the server. Your server administrator will likely need to install the MDB package themselves. This usually is done by simply typing "pear install MDB" at a shell prompt on the server. The include_path is set in php.ini.
Alternatively, you can install the necessary files in your document root and use a .htaccess file to set your include path if you are running php as an apache module.
MDB error.
Well I got the complete class downloaded, can I do some thing with it. If not how to check if mdb package is installed in the system as am new to PHP could you please advise or suggest how to make this work.
whats that "Pear".
Suggest how to install MDB package if its not available and how to include the path in the pear directory.
This is pear: http://pear.php.net
In most configurations, installing MDB is just a matter of using "pear install MDB" from a shell prompt (usually done as an administrator - either windows or unix). You could also install the files in your document root of the site that uses them. You would have to also download any of the package dependencies as well like the main PEAR package.
To include the PEAR directory in the include_path, you can edit the value in the php.ini file. Or, if you are running php as an apache module, you can set it there using a statement like:
php_value include_path ".:/home/usrename/www/pear"