Re: Regarding PEAR Package
| From: | Daniel Stosch | Date: | Thu, 19 Jul 2007 07:06:49 +0000 |
| Subject: | Re: Regarding PEAR Package | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27686@lists.php.net to get a copy of this message | ||
set the correct path to your pear directory:
if (PHP_OS == "WINNT" || PHP_OS == "WIN32") {$pd = ";";} else {$pd = ":";}
if ( isset($HTTP_ENV_VARS["windir"]) > 0) strlen($HTTP_ENV_VARS["windir"]) > 0 ? $pd = ";" : $pd = ":";
ini_set('include_path','./'.$pd.'../'.$pd.$_SERVER["DOCUMENT_ROOT"].'/includes/pear'.$pd.$_SERVER["DOCUMENT_ROOT"].'/includes/'.$pd);
daniel