I trying to change the php memory_limit master value but still cant make it.
in htaccess i put 'php_value memory_limit 1024M', it's only change the local value..
Any ideas to change the master value?
Update your php.ini file. If you are on shared hosting without access to it, then your only option is to set it locally.
If you want to change the master value, you'll need to find the php.ini file located on the server. Take a look at https://stackoverflow.com/a/2750582/254973 if you need help finding the file.
Simply edit the value within that php.ini file, and you should be good to go. Maybe a restart of the webserver depending on it's configuration.
This will more than likely require elevated/root access on your hosting server.
Check the location of your php.ini file
php -i | grep php.ini
Configuration File (php.ini) Path => /usr/lib/lib Loaded Configuration File => /usr/lib/php.ini
Something like this and edit the file with your favorite editor: notepad, vim, emacs, pico...
pico /usr/lib/php.ini
Search and change memory limit and restart apache.
Change the php ini memory_limit = 128M to what you want