PHP is a popular scripting language used to create dynamic Web sites on millions of servers worldwide. Serving dynamic pages means giving users access to commands, files, and network connections on the server, opening up many potential security risks. We can reduce these risks significantly by correctly configuring the server, but programmers should also be responsible for making sure their scripts are secure.
In a previous article we looked at installing Apache in a chroot jail. This article looks at the extra steps needed to add PHP to that setup, and goes on to discuss how to run PHP securely on your server.
By Mike Peters at Linux.com
[ Read more ]