Guest Posted December 18, 2007 Posted December 18, 2007 I receive the following error upon check out: Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/lib/php/PEAR.php) is not within the allowed path(s): ('.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/nfs/home:/usr/home:/usr/local/bin/') in /home/dazzl6/public_html/includes/modules/payment/paypal_wpp/PayPal.php on line 11 Warning: main(PEAR.php) [function.main]: failed to open stream: Operation not permitted in /home/dazzl6/public_html/includes/modules/payment/paypal_wpp/PayPal.php on line 11 Fatal error: main() [function.require]: Failed opening required 'PEAR.php' (include_path='/home/dazzl6/public_html/includes/modules/payment/paypal_wpp:.:/usr/lib/php:/usr/local/lib/php') in /home/dazzl6/public_html/includes/modules/payment/paypal_wpp/PayPal.php on line 11 I have been told that I don't have the pear app installed. How would i go about installing the pear app without disrupting what i have? Quote
Guest Posted December 19, 2007 Posted December 19, 2007 Got a response from LunarPages Tech ---- TECH RESPONSE STARTS HERE ---- Hello, If using PHP 4 In your public_html folder add to .htaccess the following: suPHP_ConfigPath /home/cpanelusername/public_html/ Then create (if not already available) a php.ini file and add to it : open_basedir = ".:/home/yourcpanelname:/tmp:/usr/bin" I did what they told me, but no luck. Please, anyone? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.