[xdebug-general] Re: memory tracking

From: Derick Rethans <derick[@]xdebug.org>
Date: Mon, 10 Jan 2005 21:30:11 +0100 (CET)

On Mon, 10 Jan 2005, Juan Garcia wrote:

> as I said on my first email, I compiled php with memory limit. This is
> the output from phpinfo()
>
> Build Date => Jan 4 2005 16:26:26
> Configure Command => './configure' '--with-apxs=/usr/local/sbin/apxs'
> '--with-config-file-path=/usr/local/etc' '--enable-versioning'
> '--with-regex=system' '--with-gd=/usr/local' '--enable-gd-native-ttf'
> '--with-freetype-dir=/usr/local' '--with-mysql=/usr/local/mysql'
> '--with-zlib' '--prefix=/usr/local' '--enable-ftp' '--with-openssl'
> '--enable-xslt' '--with-xslt-sablot' '--with-jpeg-dir=/usr/local'
> '--with-png-dir=/usr/local' '--with-expat-dir=/usr/local'
> '--with-iconv=/usr/local' '--with-curl' '--enable-memory-limit'
>
> and my memory limit is set to 8MB, when I set this to 0MB my scripts
> can't run, so it seems to be working.

Did you do a make install so that the correct PHP headers are installed
too? And did Xdebug pick up the correct PHP headers? You should only
have one on your machine:

derick[@]kossu:~$ locate php_config.h
/usr/local/include/php/main/php_config.h
derick[@]kossu:~$

PS: Always CC to the mailinglist!

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Mon Jan 10 2005 - 21:30:18 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST