ispCP - Board - Support
chroot PHP - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: chroot PHP (/thread-4084.html)



chroot PHP - hnn - 08-21-2008 05:27 PM

Hi..

My first post in this forum, but i have been here for some time.

Is it possible to chroot PHP in the environment?

So that errors from php displays as /htdocs/index.php and not /var/www/virtual/site.com/htdocs/index.php

Running: ispCP 1.0.0 RC6 OMEGA
build: 20080806


RE: chroot PHP - pgentoo - 08-31-2008 05:01 AM

hnn Wrote:Is it possible to chroot PHP in the environment?

Sure, it's "possible", just not supported by the current version of ispCP... Smile

Take a look at: http://www.seaoffire.net/fcgi-faq.html