News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Devshed:
Putting Apache in Jail (including PHP)
January 31, 2008 @ 12:51:00

In a new article on DevShed, the spotlight is on putting Apache "in jail" with chroot, but they also include a section on setting up PHP to work inside it.

In this conclusion to a six-part series on Apache configuration and installation, you will learn how to use chroot to put Apache in jail, how to prepare PHP to work in jail, and more.

The article is an excerpt from the O'Reilly book "Apache Security" and shows how to get PHP to cooperate by installing it normally and then setting up some shared libraries to be used in the jail. They note one common problem - an issue with PHP accessing sendmail - that can be solved easily with a change to php.ini for the setup.

0 comments voice your opinion now!
apache chroot jail install oreilly book security


blog comments powered by Disqus

Similar Posts

Rob Richards' Blog: PHP, Oracle and SELinux

Paul Reinheimer's Blog: Object-Oriented PHP, Concepts, Techniques, and Code

Michael Kimsal's Blog: My book is published! (and other great books from PHP Architect)

David Sklar's Blog: PHP Cookbook, 2nd Edition

Zend Developer Zone: PHP Security Tips #6 and #7


Community Events





Don't see your event here?
Let us know!


wordpress community bugfix api library interview configure language project developer code series release podcast laravel introduction threedevsandamaybe framework list application

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework