How do I increase PHP memory limit in Concrete5.7?

I began getting this error on my Concrete5.7 site right on install:

PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ cannot open shared object file: No such file or directory

I have been told by my hosting company, GoDaddy, that I am getting this error because my site is running low on PHP memory. Seems funny as I've only just began development and have zero addons but okay...

So I did a phpinfo check and my memory limit is at 64M. How do I access the php.ini file to increase this? Or is there a better way to do it?

View Replies:
MrKDilkington replied on at Permalink Reply
Hi skrawls,

The default for PHP is 128M, so this could be the issue.

There appear to be a variety of servers and configurations, so you will have to see what type of server you are on. These links should steer you in the right direction.

In php.ini:
Uranus replied on at Permalink Reply
Create a php.ini file and upload on your server root folder
memory_limit = 256M; (Change 256M as per your requirement)

Or you can write on .htaccess file
php_value memory_limit 256M (Change 256M as per your requirement)

skrawls replied on at Permalink Reply
Thanks for the super helpful links MrKDilkington!

This is what I did but I'm still stuck:

1. I created a new php.ini file with the following: memory_limit = 256M and put it in my root folder (public_html/).
2. I used <?php phpinfo(); ?> to see if it was pulling from my new file and it was still pulling from /usr/local/lib/php.ini
3. So a colleague suggested I put it in the "bin" folder instead but that didn't work either.
4. So then I tried doing the .htaccess technique as suggested below and that just gave me an internal server error.

Is there any way I can force Go Daddy to read my php.ini file?
I'm about ready to give up and just pay GoDaddy to up my resource level...
Uranus replied on at Permalink Reply

Please rename the php.ini file to php5.ini and upload to root folder and check.

MrKDilkington replied on at Permalink Reply
Is tech support included in your hosting? If so, I recommend contacting GoDaddy and getting information about the server type you are on and the process to change memory.

Ideally, I would recommend leaving GoDaddy. GoDaddy is focused on signups and marketing, not server performance or technical support.

Here are hosts recommended by concrete5.