|
#1
|
||||
|
||||
|
Per standard PEAR modules are installed in the /home/[username]/pear directory
Why isn't this directory added to the PHP include_path per automatically. This way it would be much simpler to include those user installes modules. So instead of something ugly like: $path = "/home/[username]/php"; set_include_path(get_include_path() . PATH_SEPARATOR . $path); require_once "My/Module.php"; I could just do: require_once "My/Module.php"; |
|
#2
|
|||
|
|||
|
I replaced include_path to "/home/dottedqu/php/"; with success afterwards :-)
-Rich |
|
#3
|
||||
|
||||
|
I'm not sure what you mean? Did you fix the issue or...?
|
|
#4
|
|||
|
|||
|
You can have us setup a custom php.ini on your account with the required include_path. Just login to chat, and have the representative get in touch with an Admin to have a php.ini placed on your account, then provide the necessary entries and the values they should be set to.
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cron and include_path | gemal | Shared Hosting Support | 0 | 06-24-2008 01:44 PM |
| Pear packages | gobezu | Shared Hosting Support | 4 | 03-25-2007 10:19 AM |
| Pear for PHP | Michael_noncustomer | Pre-Sales Questions | 1 | 11-08-2005 04:14 PM |
| PHP PEAR Support and PEAR Cache_lite | Unregistered | Pre-Sales Questions | 1 | 10-23-2004 04:37 PM |
All times are GMT -5. The time now is 03:42 PM.










