![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| Hi all, I am using a hosting service that uses PHP 4.3.1, but although the phpinfo() tells me '--with-pear', it looks like Pear is not configured (is it possible?). The 'include_path' is set to '.:/usr/lib/php:/usr/local/lib/php'. I tryied but didn't succeed on using Pear DB (it tells DB is not found). Once I asked support before for other reason without an answer from them, I don't believe they'll fix this problem, so, is there a way for me to manually install the necessary files to use Pear DB on my own directories? How can I figure out which files I need (if possible)? Thanks in advance, Rafael Cotta | |||
|
| Advertisements |
| | #2 | ||
| I'm not sure, but if you put the PEAR installation in your own directory, and you change the include path to include your local PEAR directory, it should work. Ariejan de Vroom http://www.ariejan.net "Rafael Cotta" <remove.rafaelcotta.nospam@yahoo-dot-com.br> wrote in message news:3f114438@news.iis.com.br... > Hi all, > > I am using a hosting service that uses PHP 4.3.1, but although the phpinfo() > tells me '--with-pear', it looks like Pear is not configured (is it > possible?). The 'include_path' is set to > '.:/usr/lib/php:/usr/local/lib/php'. > > I tryied but didn't succeed on using Pear DB (it tells DB is not found). > > Once I asked support before for other reason without an answer from them, I > don't believe they'll fix this problem, so, is there a way for me to > manually install the necessary files to use Pear DB on my own directories? > How can I figure out which files I need (if possible)? > > Thanks in advance, > > Rafael Cotta > > | |||
|
| | #3 | ||
| I've made a little test today, following the instructions from a friend of mine, using include('/usr/share/php/pear/DB.php') and this worked fine! (well, my test just connected to MySQL and checked for errors using DB::isError). That's the workaround that I will use. Thanks for the help, anyway. Rafael "Ariejan de Vroom" <ariejan@ariejan.net> escreveu na mensagem news:eOtQa.372649$gs1.23475792@amsnews03.chello.co m... > I'm not sure, but if you put the PEAR installation in your own directory, > and you change the include path to include your local PEAR directory, it > should work. > > Ariejan de Vroom > http://www.ariejan.net > > "Rafael Cotta" <remove.rafaelcotta.nospam@yahoo-dot-com.br> wrote in message > news:3f114438@news.iis.com.br... > > Hi all, > > > > I am using a hosting service that uses PHP 4.3.1, but although the > phpinfo() > > tells me '--with-pear', it looks like Pear is not configured (is it > > possible?). The 'include_path' is set to > > '.:/usr/lib/php:/usr/local/lib/php'. > > > > I tryied but didn't succeed on using Pear DB (it tells DB is not found). > > > > Once I asked support before for other reason without an answer from them, > I > > don't believe they'll fix this problem, so, is there a way for me to > > manually install the necessary files to use Pear DB on my own directories? > > How can I figure out which files I need (if possible)? > > > > Thanks in advance, > > > > Rafael Cotta > > > > > > | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: installing, pear |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Installing DAB Aerial | Colin J Paterson | Car audio | 0 | 06-18-2007 11:45 AM |
| Installing PS7 along with PS6 | Aloha | Graphics in general | 2 | 06-11-2007 11:49 PM |
| cvs: pear-core / package-PEAR.xml package2.xml /PEAR/PackageFile/Generator v2.php | Greg Beaver | Pear | 0 | 05-20-2007 7:42 PM |
| cvs: pear-core / package-PEAR.xml package2.xml /PEAR Installer.php /PEAR/PackageFile v1.php /PEAR/PackageFile/v2 Validator.php | Greg Beaver | Pear | 0 | 05-20-2007 7:42 PM |
| cvs: pear-core / package-PEAR.xml package2.xml /PEAR Downloader.php /PEAR/Downloader Package.php | Greg Beaver | Pear | 0 | 05-20-2007 7:42 PM |
| Featured Websites | ||||
|