大部份的網頁空間不能用首兩種方法,第三種比較有機會..

  1. php.ini
  2. Open the php.ini file and change memory_limit = 8M to a larger value:
    memory_limit = 16M

  3. .htaccess
  4. 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)

  5. 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”);

 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 Felix 的頭像
    Felix

    Felix's Second Life 電腦數碼世界

    Felix 發表在 痞客邦 留言(0) 人氣()