Because chroot -only- "virtualizes" the filesystem, the network stack is shared.
Without knowing your situation, and only from your brief descriptions here, it appears you are trying to kill a canary with a machine gun. Why not run a single instance of Apache, with multiple virtual hosts, and a single instance of your DBMS? Each virtual host "webserver" can still address a unique table space.
|