New DA server but php memory_limit need at least 512MB

ozgurerdogan

Verified User
Joined
Apr 20, 2008
Messages
343
I just installed new DA server but some sites needs at least 512MB of memory_limit in php ini. Actually those are not heavy site only some simple joomla site. My other servers has only 256MB so wondering if I am missing some configuration.
Please see my phpinfo in attached file View attachment phpinfo().zip
Is everything normal or is there a module I should disable for better memory usage. ( I enabled suhosin and modsecurity )

My options.conf is:
Code:
#PHP Settings
php1_release=5.6
php1_mode=suphp
php2_release=no
php2_mode=php-fpm
htscanner=yes
php_ini=no
php_timezone=Europe/Istanbul
php_ini_type=production
ioncube=yes
zend=yes
x_mail_header=yes

#MySQL Settings
mysql=5.6
mysql_inst=no
mysql_backup=yes
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups

#WEB Server Settings
webserver=apache
apache_ver=2.4
mod_ruid2=no
secure_htaccess=no
harden_symlinks_patch=yes
use_hostname_for_alias=auto
redirect_host=lnxtmp1-2.yesilbeyaz.com.tr
redirect_host_https=no

#WEB Applications Settings
phpmyadmin=yes
phpmyadmin_ver=4
squirrelmail=no
roundcube=yes

#Mail Settings
exim=yes
eximconf=yes
clamav=yes
spamassassin=yes
dovecot=yes
pigeonhole=no

#Jail Settings
jail=no

#FTP Settings
ftpd=pureftpd

#Statistics Settings
awstats=no
webalizer=no

#CustomBuild Settings
custombuild=2.0
autover=no
bold=yes
clean=yes
cleanapache=yes
clean_old_tarballs=yes
clean_old_webapps=yes
downloadserver=files22.directadmin.com

#Cronjob Settings
cron=yes
cron_frequency=monthly
[email protected]
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=yes

#CloudLinux Settings
cloudlinux=no
cagefs=no

#Advanced Settings
autoconf=yes
automake=yes
libtool=yes
curl=yes

#Expert Settings (!)
zlib=no
new_zlib=no
new_xml2=yes
new_pcre=no
new_suphp=no
old_apr_util=no

mysql_force_compile=no
pureftpd_uploadscan=yes
proftpd_uploadscan=yes
clamav_exim=yes
modsecurity_uploadscan=yes
litespeed_serialno=trial
modsecurity=yes
modsecurity_ruleset=comodo
apache_mpm=auto
opcache=no
suhosin=yes
suhosin_php_uploadscan=no
dovecot_conf=yes
eximconf_release=2.1
blockcracking=no
easy_spam_fighter=yes
webapps_inbox_prefix=no
mariadb=10.0
 
Your php1_mode is set to suPHP, it means your php.ini file should be located in /usr/local/php56/lib/php.ini :) The following command helps in such cases:
Code:
/usr/local/directadmin/custombuild/build used_configs
 
Back
Top