Hi Guys,
What I’m trying to do is simply increase the following via .htaccess (On a shared server so can’t access the php.ini file):
php_value post_max_size 64M
php_value upload_max_filesize 64M
php_value memory_limit 64M
When I add these to the .htaccess file in the website root, I get the following error message when trying to access any part of the website (See attachment).
The current contents of the .htaccess file is:
<IfModule mod_rewrite.c>
RewriteEngine On
# Removes index.php from ExpressionEngine URLs
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
</IfModule>What I attempted was:
<IfModule mod_rewrite.c>
RewriteEngine On
# Removes index.php from ExpressionEngine URLs
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
</IfModule>
php_value post_max_size 64M
php_value upload_max_filesize 64M
php_value memory_limit 64MI know .htaccess isn’t an Expressionengine issue but I was wondering if anyone has had to deal with this situation before and maybe shed some light on it? Because its working ok on a ‘non-expressionengine’ site on the same server, so there must be some conflict somewhere maybe?
Any help would be greatly appreciated.
Thanks
Adam