php5.fcgi

All of my domains are running in fcgi mode. There is a bug or error whenever I create a new domain. The php5.fcgi file in the newly created domains always looks like:
#!/bin/sh
PHPRC=$PWD/…/etc/php5
export PHPRC
umask 022
PHP_FCGI_CHILDREN=4
export PHP_FCGI_CHILDREN
exec /usr/bin/php

It should say exec /usr/bin/php5-cgi.

Until now it has been no problem to just go in and edit the file. With the newest vm update, it will no longer allow me to edit the file, even as root. It says permission denied.

How do I:

  1. Fix it so it creates the proper entry in the first place or
  2. Get around the new permission so I can manually correct it.

I am using current VM, and CentOS 4.4.

Thanks,
Steve

Hey Steve,

File a bug. Virtualmin is obviously still mis-detecting PHP versions on CentOS 4.4, and that needs to be fixed.

Thanks, I did and Jamie had it fixed within 5 minutes of submitting it. Wow! Will be fixed in next release and he gave me the quick solution.