If I type php-select apache2 on the command line, it shows php5. If I type php-select apache2 php5 i get: *** error: compatible PHP version not found Compatible versions are: * php5 I found that if I edit /usr/share/php-select/libapache.sh and change the actionSet() command to pass $1 to setApacheConf, it does work.
Created attachment 77211 [details, diff] Patch to libapache.sh
app-admin/php-toolkit-1.0-r2 is in the tree now and fixes this, thanks for reporting it and providing a fix! Best regards, CHTEKK.