What's limiting my PHP resources?

后端 未结 3 668
深忆病人
深忆病人 2021-01-26 01:24

I\'m having a problem getting more memory out of PHP.

This is the error message:

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to a         


        
3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-26 02:14

    You could try setting it in the .htaccess file, that is what i had to do to get a site working on one server.

    here are the settings i used:

    php_value  upload_max_filesize  50M
    php_value  post_max_size  60M
    php_value  memory_limit  128M
    

提交回复
热议问题