Fine tuning PHP-FPM
The restaurant analogy. Comparing the static, dynamic and ondemand settings.
Programmatically update php.ini
Let’s look at using a bash script to update our php configuration
Migrating PHP Tips
Just some tips for migrating PHP for the non-PHP DevOps Engineer
Magento Tips - Pentest with sqlmap
How do I test my magento site for common sql injection vulnerabilities
Prevent traversal attacks in Magento 2
As a rule of thumb, never roll out your own security. If you have a modern framework at your disposal then it is much easier to follow their best practice.
PHP Security Tips - open_basedir
This feature takes seconds to configure, and adds a layer of protection in the case of a directory traversal vulnerability.