A Stone Bell

Deep and Sonorous, or maybe just a Dull Thud?


Running PHP securely under apache

Testing that it all works

Create a file (I used nano /var/www/equipel.co.uk/html/info.php) with just this content:


Run it from your web browser. The important thing to look for is the lines

Configuration File (php.ini) Path /etc/php/7.0/fpm
Loaded Configuration File /etc/php/7.0/fpm/php.ini
Scan this dir for additional .ini files /etc/php/7.0/fpm/conf.d

If they say php/7.0/fpm not mod_php then it’s all working. Remember to delete the info.php file afterwards: the less help we give to a any hackers the better.

- No Comments on this Post -