php.ini file not updating
php.ini file not updating
https://www.yournewdevsite.com/mli/
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3072 bytes)
https://www.yournewdevsite.com/phpinfo.php
memory_limit 32M
Edit Loaded Configuration File /etc/php5/apache2/php.ini to 256MB (from 128MB(
sudo service apache2 restart
After restart the memory_limit is still at 32M, it never reflects the 128M the ini file has in the first place.
Each WordPress installation already has the memory defined in the wp-config.php file define( 'WP_MEMORY_LIMIT', '96M' );I have also tried to put into htaccess. php_value memory_limit 64M
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3072 bytes)
https://www.yournewdevsite.com/phpinfo.php
memory_limit 32M
Edit Loaded Configuration File /etc/php5/apache2/php.ini to 256MB (from 128MB(
sudo service apache2 restart
After restart the memory_limit is still at 32M, it never reflects the 128M the ini file has in the first place.
Each WordPress installation already has the memory defined in the wp-config.php file define( 'WP_MEMORY_LIMIT', '96M' );I have also tried to put into htaccess. php_value memory_limit 64M
Re: php.ini file not updating
Which php.ini are you editing?
Also, what apache template are you using?
Also, what apache template are you using?
Re: php.ini file not updating
IT was the Apache template that was the issue and switched back to 'default' for now.
-
- Posts: 1
- Joined: Wed Jan 06, 2016 8:18 am
Re: php.ini file not updating
The user specific PHP values are set in "/home/username/conf/web/httpd.conf".
...
php_admin_value memory_limit 128M
...
Change the value there and restart apache.
-- Jobin
...
php_admin_value memory_limit 128M
...
Change the value there and restart apache.
-- Jobin
Re: php.ini file not updating
You can use hosting template and edit php limitation
or
just edit limit in /etc/php5/ -> find php.ini and change what you need.
or
just edit limit in /etc/php5/ -> find php.ini and change what you need.
-
- Posts: 31
- Joined: Wed Oct 18, 2017 6:34 am
Re: php.ini file not updating
Same issue, but it is 2020, so old solutions do not work...
viewtopic.php?f=41&t=17129&p=81424#p81424
viewtopic.php?f=41&t=17129&p=81424#p81424