При обращении к функции imagerotate выдает ошибку
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1944 bytes)
PHP |
function rotate ($filename, $rotat) |
Цитата (Protva @ 28.10.2009 - 02:59) |
фото больше 2г |
Цитата (Protva @ 28.10.2009 - 02:59) |
Вот не могу понять из-за чего это происходит, то ли из-за настроек на хостинге, то ли я что не так делаю. |
Код |
php_value memory_limit 60M |
Код |
php_value memory_limit 10M |
Код |
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@rodstwenniki.ru and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. |
Цитата (Protva @ 29.10.2009 - 10:13) |
А при ограничении можно терять пользователя, ведь не все умеют работать с графикой. |
Цитата (kirik @ 29.10.2009 - 11:53) |
Это с телескопа? ![]() |
Цитата |
Попробовал вставить в .htaccess, но тогда вообще ничего с сайта не запускается. |
Код |
$m_up = ini_set (upload_max_filesize, 10M); |
"Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 13056 bytes) in /home/protva/domains/... on line 457"
Цитата (Protva @ 6.11.2009 - 06:56) |
Что может еще, кроме размера выделенной памяти, вызывать эту ошибку? |