Chrooting PHP 5

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/ [chroot directory]/usr/lib/apache/1.3/
cp /usr/lib/ [chroot directory]/usr/lib/
Its as simple as that.

Please follow or like: