470,815 Members | 1,310 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

mmap errors when running go-pear

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
5 4346

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
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
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
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
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.

Similar topics

12 posts views Thread by Russ | last post: by
7 posts views Thread by Michael | last post: by
4 posts views Thread by Fabiano Sidler | last post: by
13 posts views Thread by George Sakkis | last post: by
1 post views Thread by James T. Dennis | last post: by
1 post views Thread by koara | last post: by
1 post views Thread by magnus.lycka | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.