Hi there,
After having some out of memory fatal errors with js composer, it was suggested I contact our host to increase the memory limits.
They then increased the limit in a root install php.ini file (which was already there, but was empty i think?), which of course BPS quarantined. Before restoring it from quarantine i thought I’d double check what they’d done and where (and it was just the setting in the php.ini file) but when I returned to BPS it was no longer in quarantine – odd I thought, but seemed OK.
So that bit seems OK, but I’m not sure if I have to change anything in the wp-config file now I have a stand alone php.ini file? or will they work together – or does one over-ride the other?
Is this OK, or should i copy some of the BPS code to my new php.ini file? Rather confused now, as I didn’t create this file so not sure if BPS recognises it OK? Looking forward to your views.
My settings in the php.ini file are this:
allow_url_fopen = on memory_limit = 512M
and the php settings in my wp-congif via BPS are this:
/** BEGIN BPS Pro ini_set Settings **/ @error_reporting(E_ALL|E_STRICT); @ini_set('log_errors','On'); @ini_set('error_log','/home/mysite/public_html/wp-content/bps-backup/logs/bps_php_error.log'); // add the path to your php error log @ini_set('log_errors_max_len','1024'); @ini_set('memory_limit','512M'); @ini_set('session.cookie_httponly','On'); @ini_set('session.use_only_cookies','On'); @ini_set('session.cookie_secure','Off'); @ini_set('ignore_repeated_errors','On'); @ini_set('ignore_repeated_source','Off'); @ini_set('allow_url_include','Off'); @ini_set('define_syslog_variables','Off'); @ini_set('display_errors','Off'); @ini_set('display_startup_errors','Off'); @ini_set('implicit_flush','Off'); @ini_set('magic_quotes_runtime','Off'); @ini_set('max_execution_time','30'); @ini_set('mysql.connect_timeout','30'); @ini_set('mysql.trace_mode','Off'); @ini_set('report_memleaks','On'); /** END BPS Pro ini_set Settings **/
- This topic was modified 11 hours, 54 minutes ago by AITpro Admin.
- This topic was modified 11 hours, 38 minutes ago by AITpro Admin.