Re: go-pear
| From: | Mason Feuhrer | Date: | Tue, 14 Dec 2010 16:38:28 +0000 |
| Subject: | Re: go-pear | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-30873@lists.php.net to get a copy of this message | ||
> After clicking link to go to front page it gives this error
>
> *Fatal error*: No PEAR.php in supplied PEAR directory: @pear_dir@ in *
> /home/miningb1/public_html/wingenders.com/temp/index.php* on line *24*
> *
> *
I had this issue as well, and found that the fix was rather small and annoying.
Open the index.php file that was generated by go-pear.php and look in the top
section of comments.
There should be a line that reads $pear_dir = '@pear_dir@' //
default of install.
You need to replace @pear_dir@ with the actual /path/to/PEAR/
inside the single quotes.
After you've made that change, refresh index.php and the
web control panel should work flawlessly.