You are here: Re: mmap errors when running go-pear « PHP Programming Language « IT news, forums, messages
Re: mmap errors when running go-pear

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация