I’m trying to get more than 256M in PHP.
I’m on a Mac.
I tryed to change the php.ini related to the site that needs the memory config, eg.:
/users/giorgio/Local sites/mysite.dev/conf/php/7.0.3/php.ini
The page http://mysite.dev/local-phpinfo.php
show that memory still limited to 256M
What i need to do to get 512M PHP memory for “mysite.dev”?
My backp plugin is showing me the memory limit when runs.
I made some checks:
change memory_limit in conf/php/7.0.3/php.ini does not seems to have any effect.
adding “php_value memory_limit 1024M” in .htaccess produce an apache config error
writing “define(‘WP_MEMORY_LIMIT’, ‘1024M’);” in wpconfig, effectively changes the memory available to the plugin but (probably obvious) not the memory available to app/public/local-phpinfo.php
So, i have “solved” my immediate problem but … it is a very strange behaviour