The default memory is set for 8M
Warning- Before doing anything, always make a backup file of php.ini .
Note - If you don't know where your php.ini file is located, the phpinfo.php file will show you where the pnp.ini file is at.
Open your php.ini file. If your server is a Webune Dedicated Server with Redhat, Centos or Fedora, you can run the following command to edit the php.ini file:
Find
Code:
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
and replace with
Code:
memory_limit = 16M ; Maximum amount of memory a script may consume (8MB)
Save the file - press Ctrl+x. You will be asked to save changes, type the letter "y" for yes
Hit Return at the next prompt.
Restart Apache Server with the following command
Code:
/etc/init.d/httpd restart
Here, your phpinfo.php file should show 16M instead of 8M
Bookmarks