Supervisord: php script as pseudo-daemon

If and when you need to run a certain php script as a kind of daemon program, you can use the popular supervisord software package for this purpose.
Very often this will work much better, more efficiently and more conveniently as a replacement for clumsy php scripts in the system cron. Run the application in a short cycle, set the counter of time and repetitions – you’re done!

“Supervisord: php script as pseudo-daemon”Continue reading

Changing PHP Memory Limit : 3 ways

If you have seen an error like ”Fatal Error: __PHP Allowed Memory Size Exhausted” in apache logs or in your browser, this means that PHP has exhausted the maximum memory limit. This post will show 3 different ways on how you can increase the php memory limit and also explain when you should use them.

“Changing PHP Memory Limit : 3 ways”Continue reading

Scroll to top