|
Posted by Dan Fulbright on 06/06/07 05:28
> I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors
> when running go-pear.bat:
>
> mmap cache can't open phar://go-pear.phar/index.php
> mmap cache can't open phar://go-pear.phar/PEAR/Start/CLI.php
> mmap cache can't open phar://go-pear.phar/PEAR/Start.php
>
> There are 20 of these lines. After continuing through the script, it
> dies with this error:
>
> Fatal error: Call to undefined method PEAR_Error::set() in
> phar://go-pear.phar/PEAR/Start.php on line
> 263
>
> I can't deploy 5.2.2 until we get this resolved, so we're stuck on
> 5.2.1.
I finally figured this one out on my own. When the batch file was
asking for the configuration file, I was thinking it was wanting the
location of php.ini, not pear.ini. So, I was typing $prefix\php.ini.
Once I changed that to $prefix\pear.ini, it worked great.
--df
[Back to original message]
|