mmap errors when running go-pear

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dan Fulbright

    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

  • ]Pablo[

    #2
    Re: mmap errors when running go-pear


    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

    Comment

    • Dan Fulbright

      #3
      Re: 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.
      >
      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

      Comment

      • Dan Fulbright

        #4
        Re: undefined method PEAR_Error::set () when running go-pear (Was: 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.
        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

        Comment

        • Dan Fulbright

          #5
          Re: undefined method PEAR_Error::set () when running go-pear (Was: mmap errors when running go-pear)

          On Jun 1, 12:28 am, Dan Fulbright <dfulbri...@gma il.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

          Comment

          • Dan Fulbright

            #6
            Re: 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.
            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.in i, it worked great.

            --df

            Comment

            Working...