Oh for some time now I have been using NextScripts: Social Networks Auto-Poster, thisplugin allows me to automatically post blog posts to social networks. It’s quite handy but recently I noticed a lot of my posts weren’t being sent. Now because I don’t really use the WordPress interface, I use a third party blogging tool, I wasn’t aware there was an issue. Until I went to install some more plugins. I noticed this particular one was stating
“Not Enough Memory allowed for PHP. You have 32 MB. You need at least 64MB”
Because I run all my websites on my own server I couldn’t contact the hosting company because… I guess I am the hosting company. So a little digging around and I found that I needed to edit the php.ini file on my server. Easier said that done when you don’t know where it is… so I did a little digging around and came up with the following:
SSH into your server (if unix) with the following:
Then run the following command to locate the PHP.ini file:
This will display where you php.ini file is and can be edited with the following command:
The above location may be different for you depending on your server but when you launch the following command the php.ini file will be opened within the editor and about half way down the file you will notice a memory option which is set to 32mb as default. Simply change this to 64mb and write out the file to save.
I didn’t need to reboot my server or restart any services, the changes were done instantly and the plugin started working again!
Until next time!