By viktor.mastoridis on
After reading this and this forum, I managed to increase the values of memory_limit, post_max_size and upload_max_filesize on godaddy.com.
Here are the steps in short:
* download godaddy's own php5.ini file (not php.ini) from /web/conf (using SFTP software)
* change the values
* upload it into your /html (root) folder
For more details href="http://blog.musicvm.com/upload-file-and-memory-limit-php-drupal-godaddycom">have a look at the full article
Comments
Increase max upload and post size - GoDaddy Shared Hosting
So after several hours trying to increase the max upload and post size I found the following solution. I did try the php5.inc solution but it didn't work out.
I'm in a shared hosting environment, on Linux.
1. create a new file called ‘.user.ini’
2. place the following code inside it;
file_uploads = On
post_max_size = 100M
upload_max_filesize = 200M
3. upload to hosting root (public_html)
4. login to your GoDaddy control panel and navigate to ‘PHP Processes’
5. click on Kill all processes
6. clear Drupal cache
7. job done!
I hope this is of help to someone out there and it saves them the hours it took me!
Fix
Thanks after hours and hours of seraching , this was the solution , it seems php.ini , even php5.ini doesnt make any diference . the solution form me was .user.ini
I have encountered the same
I have encountered the same issue. I have resolved it from cpanel itself:
cPanel > section Software/Services > Select PHP Version menu.
Click on Switch to PHP extensions and there you will see the option for raising the php memory limit as memory_limit.
In some hosts, you can configure the custom php.ini file from here too.
This solution worked awesome for me to enable OPCache
I went to cpanel and clicked php version, then clicked the checkbox for opcache and it worked!