FAQ
I have recently upgraded from php 4.4.0, to php 4.4.7.
I am running this on openbsd 3.6 i386.

My configure options are as follows:

-----
./configure \
--prefix=/usr/local/php4 \
--with-apxs=/usr/sbin/apxs \
--enable-debug \
--disable-cgi \
--enable-force-cgi-redirect \
--enable-discard-path \
--enable-safe-mode \
--disable-short-tags \
--disable-ipv6 \
--enable-magic-quotes \
--with-openssl \
--with-pcre-regex \
--with-curl \
--with-curlwrappers \
--with-mcrypt \
--enable-session \
--with-mysql=/usr/local \
--with-mysql-sock=/var/www/var/run/mysql/mysql.sock
-----

After running configure and make, I run make install.
This is the output of the make install:

-----
calvin:php-4.4.7 {156} sudo make install
Installing PHP SAPI module: apache
[activating module `php4' in /var/www/conf/httpd.conf]
cp libs/libphp4.so /usr/lib/apache/modules/libphp4.so
chmod 755 /usr/lib/apache/modules/libphp4.so
cp /var/www/conf/httpd.conf /var/www/conf/httpd.conf.bak
cp /var/www/conf/httpd.conf.new /var/www/conf/httpd.conf
rm /var/www/conf/httpd.conf.new
Installing PHP CLI binary: /usr/local/php4/bin/
Installing PHP CLI man page: /usr/local/php4/man/man1/
Installing PEAR environment: /usr/local/php4/lib/php/
[PEAR] Archive_Tar - already installed: 1.3.2
[PEAR] Console_Getopt - already installed: 1.2.3
[PEAR] HTML_Template_IT- already installed: 1.2.1
[PEAR] Net_UserAgent_Detect- already installed: 2.3.0
[PEAR] PEAR - already installed: 1.6.1
Wrote PEAR system config file at: /usr/local/php4/etc/pear.conf
You may want to add: /usr/local/php4/lib/php to your php.ini include_path
[PEAR] Structures_Graph- already installed: 1.0.2
/usr/local/src/php.net/php-4.4.7/Zend/zend_hash.c(458) : Freeing 0x3CB27624 (128 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 89 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(795) : Freeing 0x3CBB9EA4 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_variables.c(123) : Actual location (location was relayed)
Last leak repeated 30 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_hash.c(280) : Freeing 0x3CBB9724 (43 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 4173 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_hash.c(204) : Freeing 0x3CBB96A4 (32 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 1504 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(2392) : Freeing 0x3CBB94A4 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_variables.c(123) : Actual location (location was relayed)
Last leak repeated 27 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(1818) : Freeing 0x3CB26D24 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 18 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(2126) : Freeing 0x3CB26CE4 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 568 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(2129) : Freeing 0x3CBB9124 (45 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_variables.c(111) : Actual location (location was relayed)
Last leak repeated 568 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(512) : Freeing 0x3CB266A4 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 525 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(2106) : Freeing 0x3CBB8A24 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_API.c(563) : Actual location (location was relayed)
Last leak repeated 512 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_API.c(595) : Freeing 0x3CBB8424 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_API.c(583) : Actual location (location was relayed)
Last leak repeated 35 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_hash.c(424) : Freeing 0x3CBB51A4 (35 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 1202 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(1950) : Freeing 0x3CB262E4 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 29 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(1676) : Freeing 0x3CB02DE4 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 42 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(1845) : Freeing 0x3CAF98A4 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 40 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(276) : Freeing 0x3CA67624 (131 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_variables.c(111) : Actual location (location was relayed)
Last leak repeated 781 times
/usr/local/src/php.net/php-4.4.7/ext/xml/xml.c(512) : Freeing 0x3CB2CA24 (48 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 1613 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(273) : Freeing 0x3CAEA624 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 801 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(1297) : Freeing 0x3CB2C424 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_variables.c(123) : Actual location (location was relayed)
Last leak repeated 23 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_API.c(679) : Freeing 0x3CAE0AE4 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 1613 times
/usr/local/src/php.net/php-4.4.7/ext/xml/xml.c(647) : Freeing 0x3CA8A1A4 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 547 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(1812) : Freeing 0x3CB04BA4 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_variables.c(138) : Actual location (location was relayed)
Last leak repeated 5 times
/usr/local/src/php.net/php-4.4.7/ext/xml/xml.c(648) : Freeing 0x3CB03BA4 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_API.c(563) : Actual location (location was relayed)
Last leak repeated 547 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(1808) : Freeing 0x3CA497E4 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 5 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(2075) : Freeing 0x3CA49764 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 35 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_operators.c(1030) : Freeing 0x3C9F8624 (27 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 5 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(504) : Freeing 0x3CA4BCA4 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_variables.c(138) : Actual location (location was relayed)
Last leak repeated 9 times
/usr/local/src/php.net/php-4.4.7/ext/standard/string.c(569) : Freeing 0x3CB11964 (5 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 35 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(1848) : Freeing 0x3CB21464 (17 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_variables.c(111) : Actual location (location was relayed)
Last leak repeated 25 times
/usr/local/src/php.net/php-4.4.7/ext/standard/php_smart_str.h(83) : Freeing 0x3C94BF24 (129 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 1 time
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(501) : Freeing 0x3CB79AA4 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 9 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(2608) : Freeing 0x3CA52224 (62 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_variables.c(111) : Actual location (location was relayed)
Last leak repeated 5 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_operators.c(1069) : Freeing 0x3C94B724 (97 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 38 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(2114) : Freeing 0x3CA353E4 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 23 times
/usr/local/src/php.net/php-4.4.7/ext/standard/var_unserializer.c(679) : Freeing 0x3C884C24 (3 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 66 times
/usr/local/src/php.net/php-4.4.7/ext/standard/var_unserializer.c(230) : Freeing 0x3C884BE4 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 115 times
/usr/local/src/php.net/php-4.4.7/ext/standard/var_unserializer.c(625) : Freeing 0x3C885D24 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 42 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_compile.c(1703) : Freeing 0x3C75F524 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 23 times
Zend/zend_language_parser.c(3915) : Freeing 0x3C7622A4 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_API.c(563) : Actual location (location was relayed)
Last leak repeated 5 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(784) : Freeing 0x3C5B3624 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute_API.c(339) : Freeing 0x3C4FC724 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_variables.c(123) : Actual location (location was relayed)
Last leak repeated 3 times
/usr/local/src/php.net/php-4.4.7/ext/standard/array.c(2205) : Freeing 0x3C4FC6A4 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_API.c(563) : Actual location (location was relayed)
/usr/local/src/php.net/php-4.4.7/Zend/zend_hash.c(1076) : Freeing 0x3C5AF924 (6 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 5 times
/usr/local/src/php.net/php-4.4.7/ext/standard/array.c(2433) : Freeing 0x3C5B3224 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 2 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute_API.c(312) : Freeing 0x3C5AFEE4 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 5 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_execute.c(787) : Freeing 0x3C5AA224 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_API.c(563) : Actual location (location was relayed)
/usr/local/src/php.net/php-4.4.7/ext/standard/array.c(2160) : Freeing 0x3C5A5E64 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 2 times
/usr/local/src/php.net/php-4.4.7/ext/standard/array.c(2148) : Freeing 0x3C4FB024 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_API.c(563) : Actual location (location was relayed)
/usr/local/src/php.net/php-4.4.7/Zend/zend_constants.c(238) : Freeing 0x3C5A5B24 (19 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_variables.c(111) : Actual location (location was relayed)
Last leak repeated 14 times
Zend/zend_language_scanner.c(4673) : Freeing 0x3C3C03E4 (4 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 123 times
/usr/local/src/php.net/php-4.4.7/Zend/zend_compile.c(1899) : Freeing 0x3C2A5264 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 164 times
Zend/zend_language_parser.c(3935) : Freeing 0x3C2A4CA4 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_API.c(563) : Actual location (location was relayed)
Last leak repeated 23 times
Zend/zend_language_parser.c(3940) : Freeing 0x3C2A3F24 (44 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
/usr/local/src/php.net/php-4.4.7/Zend/zend_API.c(563) : Actual location (location was relayed)
Last leak repeated 2 times
/usr/local/src/php.net/php-4.4.7/main/main.c(1597) : Freeing 0x3C09E724 (20 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 1 time
/usr/local/src/php.net/php-4.4.7/main/main.c(1594) : Freeing 0x3C09E6E4 (12 bytes), script=/usr/local/src/php.net/php-4.4.7/pear/install-pear.php
Last leak repeated 1 time
Installing build environment: /usr/local/php4/lib/php/build/
Installing header files: /usr/local/php4/include/php/
Installing helper programs: /usr/local/php4/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/php4/man/man1/
page: phpize.1
page: php-config.1
-----

I would like to know what I am doing wrong here.
When I turn off pear, this does not happen.
When I try to upgrade or install pear packages,
I get the same types of errors.

Please let me know if you need additional
information.

Thanks in advance for any pointers you can
provide.

Thanks!

JohnM

--
john mendenhall
john@surfutopia.net
surf utopia
internet services

Search Discussions

  • John Mendenhall at Aug 21, 2007 at 12:56 am

    On Mon, 20 Aug 2007, John Mendenhall wrote:

    I have recently upgraded from php 4.4.0, to php 4.4.7.
    I am running this on openbsd 3.6 i386.
    I apologize for this error on my part, posting to this
    list. I was told this was the list to post this kind of
    question to, then was told I should not send e-mails of
    this nature to this list. I apologize for any time this
    may have wasted on your part.

    JohnM

    --
    john mendenhall
    john@surfutopia.net
    surf utopia
    internet services
  • Jani Taskinen at Aug 21, 2007 at 9:38 am

    On Mon, 2007-08-20 at 17:56 -0700, John Mendenhall wrote:
    On Mon, 20 Aug 2007, John Mendenhall wrote:

    I have recently upgraded from php 4.4.0, to php 4.4.7.
    I am running this on openbsd 3.6 i386.
    I apologize for this error on my part, posting to this
    list. I was told this was the list to post this kind of
    question to, then was told I should not send e-mails of
    this nature to this list. I apologize for any time this
    may have wasted on your part.
    Usually that would have been perfectly fine. But in case of PHP 4 the
    answer is: Upgrade to PHP 5.2. For more read the news at http://php.net/
    especially the one with topic: "PHP 4 end of life announcement" :)

    --Jani
  • John Mendenhall at Aug 21, 2007 at 4:57 pm

    On Tue, 21 Aug 2007, Jani Taskinen wrote:
    On Mon, 2007-08-20 at 17:56 -0700, John Mendenhall wrote:
    On Mon, 20 Aug 2007, John Mendenhall wrote:

    I have recently upgraded from php 4.4.0, to php 4.4.7.
    I am running this on openbsd 3.6 i386.
    I apologize for this error on my part, posting to this
    list. I was told this was the list to post this kind of
    question to, then was told I should not send e-mails of
    this nature to this list. I apologize for any time this
    may have wasted on your part.
    Usually that would have been perfectly fine. But in case of PHP 4 the
    answer is: Upgrade to PHP 5.2. For more read the news at http://php.net/
    especially the one with topic: "PHP 4 end of life announcement" :)
    Thank you for your response.

    Yes, I know about the end of life. And, we are working
    towards getting all of our customers off of PHP4.
    However, some have found a way to write code that
    requires php4. We are working with them. However,
    we just upgraded to 4.4.7 and had this problem
    during the upgrade.

    If the only answer is to upgrade to php5, we will
    accelerate the conversion to php5 and get there as
    soon as possible.

    JohnM

    --
    john mendenhall
    john@surfutopia.net
    surf utopia
    internet services
  • Johannes Schlüter at Aug 21, 2007 at 5:37 pm

    On Mon, 2007-08-20 at 17:52 -0700, John Mendenhall wrote:
    I have recently upgraded from php 4.4.0, to php 4.4.7.
    I am running this on openbsd 3.6 i386.

    My configure options are as follows:

    -----
    ./configure \
    --prefix=/usr/local/php4 \
    --with-apxs=/usr/sbin/apxs \
    --enable-debug \
    [...]

    You shouldn't use --enable-debug as long as you're not trying to fix
    some bugs in PHP. The messages you've sent are only shown when that
    debug flag is set since it's known that under some circumstances the
    engine can't really free memory until the script ends. The notices are
    there to see if they accidentally forgot to free some memory which might
    be freed before.

    johannes
  • John Mendenhall at Aug 21, 2007 at 6:27 pm
    Johannes,
    On Tue, 21 Aug 2007, Johannes Schlüter wrote:
    On Mon, 2007-08-20 at 17:52 -0700, John Mendenhall wrote:
    I have recently upgraded from php 4.4.0, to php 4.4.7.
    I am running this on openbsd 3.6 i386.

    My configure options are as follows:

    -----
    ./configure \
    --prefix=/usr/local/php4 \
    --with-apxs=/usr/sbin/apxs \
    --enable-debug \
    [...]

    You shouldn't use --enable-debug as long as you're not trying to fix
    some bugs in PHP. The messages you've sent are only shown when that
    debug flag is set since it's known that under some circumstances the
    engine can't really free memory until the script ends. The notices are
    there to see if they accidentally forgot to free some memory which might
    be freed before.
    Thank you very much.

    I have removed that option and that caused the errors
    to no be displayed.

    Thanks again so much for your time.

    JohnM

    --
    john mendenhall
    john@surfutopia.net
    surf utopia
    internet services

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedAug 21, '07 at 12:52a
activeAug 21, '07 at 6:27p
posts6
users3
websitephp.net

People

Translate

site design / logo © 2022 Grokbase