| View previous topic :: View next topic |
| Author |
Message |
Mdravnieks
Joined: 05 Nov 2007 Posts: 1
|
Posted: Mon Nov 05, 2007 1:53 pm Post subject: |
|
|
I know this topic is old now, but for anyone who comes across this thread looking for an answer- the problem is probably not with the PEAR package itself, but with your include.
To access PEAR correctly you'll need to put this in whatever file you use to point to PEAR (config.php etc.)
Try this:
| Code: | ini_set(
'include_path',
ini_get( 'include_path' ) . PATH_SEPARATOR . "/home/sites/yoursite/pathto/yourpear/directory"
); |
Remember the path needs to be from your site root to wherever your PEAR directory is located. |
|
| Back to top |
|
 |
ready2rumble
Joined: 05 Feb 2007 Posts: 7
|
Posted: Thu Nov 08, 2007 1:31 pm Post subject: |
|
|
| I remember this issue took me hours to figure it out your solution rocks though. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|