Jump to content

pear simple question!


Recommended Posts

hi ive recently changed hosting provider and need to update my settings in my local file,

 

Im using the pear db object factory and used to call it in via

 

require_once 'DB/DataObject.php';

 

my new hosting provider has given me the following paths they use.. Just wondering which one will contain the pear files?

 

 

    [php_dir] => /usr/local/lib/php

    [ext_dir] => /usr/local/lib/php/extensions/no-debug-non-zts-20020429

    [doc_dir] => /usr/local/lib/php/doc

    [bin_dir] => /usr/local/bin

    [data_dir] => /usr/local/lib/php/data

    [test_dir] => /usr/local/lib/php/test

    [php_bin] => /usr/local/bin/php

 

 

if anyone could help that would be great.

 

Pete.

Link to comment
Share on other sites

it's probably in your

[php_dir] path.

you don't need to know where it is, though, if your server is configured properly.

what you can do is, search for your PEAR directory via SSH:
$ updatedb
$ locate PEAR

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.