By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,109 Members | 993 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,109 IT Pros & Developers. It's quick & easy.

mmap errors when running go-pear

P: n/a
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.

Thanks in advance.

--df

May 29 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a

Dan Fulbright ha scritto:
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.

Thanks in advance.

--df
Hello,
exactly the same problem for me...have you solved or have you any
advice?

Thanks,
Paolo

May 30 '07 #2

P: n/a
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.

exactly the same problem for me...have you solved or have you any
advice?
No. If I find a solution, I will post it here.

--df

May 30 '07 #3

P: n/a
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 was hoping that with the release of PHP 5.2.3, this problem would go
away. However, it hasn't. I no longer get the mmap cache errors, but
the fatal error at the end is still there with a different line
number:

Beginning install...
PHP Fatal error: Call to undefined method PEAR_Error::set() in
phar://go-pear.phar/PEAR/Start.php on line
274

To make sure there wasn't a problem with the older versions of PHP
installed on this server, I tried installing it on another one that
has never had PHP installed. That's when the error above occurred.

Any clues?

--df

Jun 1 '07 #4

P: n/a
On Jun 1, 12:28 am, Dan Fulbright <dfulbri...@gmail.comwrote:
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 was hoping that with the release of PHP 5.2.3, this problem would go
away. However, it hasn't. I no longer get the mmap cache errors, but
the fatal error at the end is still there with a different line
number:

Beginning install...
PHP Fatal error: Call to undefined method PEAR_Error::set() in
phar://go-pear.phar/PEAR/Start.php on line
274

To make sure there wasn't a problem with the older versions of PHP
installed on this server, I tried installing it on another one that
has never had PHP installed. That's when the error above occurred.

Any clues?
I hate to keep replying to my same post, but I find it hard to believe
that no one else is running into this problem. Has anyone successfully
run go-pear.bat on Windows, using PHP 5.2.3?

Thanks.

--df

Jun 5 '07 #5

P: n/a
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

Jun 6 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.