PHP

PHP stuff!

On my server, I have PHP 5.6 to 8.1 installed and use the versions for various testing purposes. To change the memory_limit across all versions as simply as possible instead of editing each file, I use the following command. find /etc/php -iname ‘php.ini’ -exec sed -i ‘s/memory_limit = .*/memory_limit = 512M/g’ {} \;

Read More Bulk change PHP memory_limit across all installed PHP versions

To honor Easter, I’ve decided to put this little tidbit of information up. These are PHP “easter eggs”.  I had no idea these existed until I was running a security scan using Detectify.  This information can be considered to be a vulnerability since it could be used to obtain specific server information/versions and use that version as a reference to look up exploits against PHP, the server, etc.

Read More PHP Easter Eggs

I’m working on a GooglePlus RSS Feed Reader in PHP for anyone who might be interested in making a WordPress module or something similar to display N latest Public posts to your stream. I have some code in PHP that I’m tinkering with. The original idea came from http://plusfeed.appspot.com/. You can view the progress: https://techish.net/pub/googleplus_rss.php…

Read More GooglePlus RSS Feed Reader in PHP