Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.7.5

Bug #14598 pear web fails to find the pear config file
Submitted: 2008-09-04 20:32 UTC
From: urkle Assigned:
Status: Open Package: PEAR_Frontend_Web (version 0.7.3)
PHP Version: 5.2.6 OS: Fedora 8 x86_64
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 29 + 21 = ?

 
 [2008-09-04 20:32 UTC] urkle (Edward Rudd)
Description: ------------ using the stock index.php pear web fails to find the pear config file, the php error log logs that it is the constant PEAR_CONFIG_SYSCONFDIR is undefined. From looking in pearfrontendweb.php it looks as though the two require_once lines for PEAR/Registry.php and PEAR/Config.php need to be placed right after the putenv('TMPDIR='... line so that the PEAR_CONFIG_SYSCONFDIR is included in before it is used in the following if block (if pear_user_config is unset)

Comments