# php ~/phpinfo.php | grep php.ini Configure Command => './configure' '--with-apxs2=/usr/sbin/apxs' '--with-mysqli=/usr/bin/mysql_config' '--with-mysql=/usr/share/mysql' '--enable-so' '--enable-memory-limit' '--with-config-file-path=/etc/php.d/php.ini' Configuration File (php.ini) Path => /etc/php.d/php.ini # cat /etc/php.d/php.ini | grep memory memory_limit = 24M ; Maximum amount of memory a script may consume (8MB) ; If this parameter is set to Off, then memory leaks will not be shown (on ; keeping them in memory. # php ~/phpinfo.php | grep memory Configure Command => './configure' '--with-apxs2=/usr/sbin/apxs' '--with-mysqli=/usr/bin/mysql_config' '--with-mysql=/usr/share/mysql' '--enable-so' '--enable-memory-limit' '--with-config-file-path=/etc/php.d/php.ini' memory_limit => 8M => 8M