Re: Notice: Use of undefined constant PEAR_CONFIG_SYSCONFDIR
| From: | Greg Beaver | Date: | Mon, 13 Oct 2003 15:04:02 +0000 |
| Subject: | Re: Notice: Use of undefined constant PEAR_CONFIG_SYSCONFDIR | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8409@lists.php.net to get a copy of this message | ||
Loic:
You are using an ANCIENT version of pear. I'm guessing this was installed through an rpm? Try re-installing pear directly from http://pear.php.net/go-pear
Regards,
Greg
Loic Deniel wrote:
Hi, I have installed apache and php succesfully but it seems that pear is not working. i can still view the installed packages but i have the following error: Notice: Use of undefined constant PEAR_CONFIG_SYSCONFDIR - assumed 'PEAR_CONFIG_SYSCONFDIR' in Config.php on line 177 Notice: Use of undefined constant PEAR_CONFIG_SYSCONFDIR - assumed 'PEAR_CONFIG_SYSCONFDIR' in Config.php on line 408 Installed packages: =================== +----------------+---------+--------+| Package | Version | State | | Archive_Tar | 0.9 | stable | | Console_Getopt | 1.0 | stable | | DB | 1.3 | stable | | HTTP | 1.2 | stable | | Mail | 1.0.1 | stable | | Net_SMTP | 1.0 | stable | | Net_Socket | 1.0.1 | stable | | PEAR | 1.0b3 | stable | | XML_Parser | 1.0 | stable | | XML_RPC | 1.0.4 | stable |+----------------+---------+--------+ then if i try to install new packages i have a similar error: Notice: Use of undefined constant PEAR_CONFIG_SYSCONFDIR - assumed 'PEAR_CONFIG_SYSCONFDIR' in Config.php on line 177 Notice: Use of undefined constant PEAR_CONFIG_SYSCONFDIR - assumed 'PEAR_CONFIG_SYSCONFDIR' in Config.php on line 408 Connection to `pear.php.net:80' failed: Resource temporarily unavailable I have bee through all the groups and website on internet without finding an answer to this problem... could you help me? Thank you Loic