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

PHP-Code.net: Securing PHP Apps Part III Securing PHP on the server/Securing MySQL & Apache

PHP.net: PHP 4.4.2 Released

Community News: SecurePHP Wiki

Stoyan Stefanov's Blog: The PEAR book

Ken Guest's Blog: Book review: PHP Objects, Patterns and Practice (second edition)


Community Events





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


interview podcast release community package series version language opinion update laravel mvc voicesoftheelephpant framework composer symfony introduction tool security library

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