HostOnNet Blog

photopost gallery bulk upload error

Looking for Linux Server Admin or WordPress Expert? We can help.

On photopost gallery at , when uploading many files at a time, it just show a blank page.

I checked the web server error log and found following error.

[root@server32 httpd]# tail /var/log/httpd/error_log
[Mon Aug 20 15:31:40 2007] [error] [client] PHP Fatal error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 44 bytes) in /home/bizhat/gallery/pp-inc.php on line 1245, referer:
[root@server32 httpd]#

This is due to allowed memory for a php process is reached and process get killed.

Solution is increase memory in php.ini

[root@server32 httpd]# php -i|grep memory
memory_limit =  16M
[root@server32 httpd]#

To do this, edit /etc/php.ini

vi /etc/php.ini


memory_limit = 16M

Replace With

memory_limit = 64M

Now restart Apache

service httpd restart

Posted in Installation

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.