I tried to add PHP to chroot following this article:
http://kb.parallels.com/818
Unfortunately nothing changes after I run:
./recreate_chroot_env /usr/bin/php /usr/share/zoneinfo
It does get a usr/bin/php directory in the ${HTTPD_VHOSTS_D}/chroot directory. But when I apply this to a domain by using the method described in the article, after I run the cron task it still ends up telling me this:
-: /var/www/vhosts/....: No such file or directory
(This is a cron job that uses PHP and has the comment #!/usr/bin/php on top, and also has execute rights for all users)
http://kb.parallels.com/818
Unfortunately nothing changes after I run:
./recreate_chroot_env /usr/bin/php /usr/share/zoneinfo
It does get a usr/bin/php directory in the ${HTTPD_VHOSTS_D}/chroot directory. But when I apply this to a domain by using the method described in the article, after I run the cron task it still ends up telling me this:
-: /var/www/vhosts/....: No such file or directory
(This is a cron job that uses PHP and has the comment #!/usr/bin/php on top, and also has execute rights for all users)