Multiple PHP Versions not recognized when compiled using --program-suffix=54

Hi,

when configuring/compiling PHP 5.4 using ./configure --program-suffix=54 it creates the following binaries:

  • php54 (CLI)
  • php-cgi54 (CGI)

When Re-Check'ing Configuration in Virtualmin it finds the php54 binary but not the php-cgi54 binary. Using php54 as FastCGI in Virtual Servers fails.

When symlinking php-cgi54 to php54-cgi and Re-Check'ing Configuration it picks up the correct binary php54-cgi.

Whereas this workaround works it would be nice to have Virtualmin following PHP's default naming pattern. That would make installing other PHP releases a bit easier. Thank a lot!

Status: 
Closed (fixed)

Comments

Jamie, it sounds like manually compiling PHP generates a CGI binary named something like "php-cgi54".

Virtualmin is currently looking for a CGI binary named "php54-cgi" though -- is it possible to have Virtualmin look for "php-cgi54" as well?

Sure, this will be supported in the next release.

Automatically closed -- issue fixed for 2 weeks with no activity.