The walls of the jail are now up. Though the following files are not necessary, experience shows that many scripts require them. Add them now to avoid having to debug mysterious problems later.
Construct special devices after using ls to examine the existing /dev folder to learn what numbers should be used:
# mkdir /chroot/apache/dev # mknod -m 666 /chroot/apache/dev/null c 1 3 # mknod -m 666 /chroot/apache/dev/zero c 1 5 # mknod -m 644 /chroot/apache/dev/random c 1 8