大部份的網頁空間不能用首兩種方法,第三種比較有機會..
- php.ini
Open the php.ini file and change memory_limit = 8M to a larger value:
memory_limit = 16M- .htaccess
If you don’t have access to the php.ini file (on most servers) you can try to add a line to your .htaccess file:php_value memory_limit 16M
(note, this might give an Internal Server error if this isn’t allowed on your server. Simply remove the line to fix it again)
- In php script
If both methods are not working, the only option available is to change the php script. Open /administrator/components/com_easygallery/easygallery.class.php, locate this line:define(“PATH_EASYGALLERY”, dirname(__FILE__));
and add this below it:
ini_set(“memory_limit”,”16M”);
全站熱搜
留言列表