Ik heb een image upload script en wanneer ik een grote afbeelding upload krijg ik deze error "Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 12288 bytes)"
Nu kun je dit oplossen door regel aan te passen in php.ine of htaccess. Aangezien de server niet van mij is maar van one.com heb ik geen toegang tot de php.ine file. (denk ik )
Nu heb ik in de .htaccess file onderaan deze regel bijgeplakt "php_value memory_limit 16M"
ziet er zo uit:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
php_value memory_limit 16M
Als ik deze file upload krijg ik een error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@one.com 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.
Nu kun je dit oplossen door regel aan te passen in php.ine of htaccess. Aangezien de server niet van mij is maar van one.com heb ik geen toegang tot de php.ine file. (denk ik )
Nu heb ik in de .htaccess file onderaan deze regel bijgeplakt "php_value memory_limit 16M"
ziet er zo uit:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
php_value memory_limit 16M
Als ik deze file upload krijg ik een error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@one.com 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.