Chrooting PHP 5

| | Comments (0)
Add to delicious Digg This Add to My Yahoo! Add to Google Add to StumbleUpon

I run apache in a chrooted environement already so this may not apply to everyone since I will not be discussing how to chroot apache, just php.

Install PHP5 as normal on you system and then carry out the following.

cp /usr/lib/apache/1.3/libphp5.so [chroot directory]/usr/lib/apache/1.3/libphp5.so
cp /usr/lib/libxml2.so.2 [chroot directory]/usr/lib/libxml2.so.2

Its as simple as that.

Leave a comment

About this Entry

This page contains a single entry by Harry published on March 12, 2006 7:31 PM.

NTL Problems and Slow connection. was the previous entry in this blog.

Google "Do No Evil" is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01