For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > December 2006 > php 4.4.4, can't get "memory_get_usage" to work









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author php 4.4.4, can't get "memory_get_usage" to work
Jake Covert

2006-12-02, 9:58 pm

I've compiled php 4.4.4 on my new Intel Mac OS X Server box with the
--enable-memory-limit, but I still get errors when trying to use the
"memory_get_usage()" function.

I've attached the output of my "php -i"...

The compile statement I used is:

../configure --prefix=/usr \
--enable-memory-limit \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-dependency-tracking \
--with-apxs \
--with-ldap=/usr \
--with-kerberos=/usr \
--enable-cli \
--with-zlib-dir=/usr \
--with-xml \
--enable-exif \
--enable-ftp \
--enable-mbstring \
--enable-mbregex \
--enable-dbx \
--enable-sockets \
--with-iodbc=/usr \
--with-curl=/usr \
--with-config-file-path=/etc \
--sysconfdir=/private/etc \
--with-mysql=/usr \
--with-mysql-sock=/var/mysql/mysql.sock \
--without-pear

Any thoughts would be greatly appreciated.

- Jake Covert
jakecovert at gmail dot com

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com