Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 119136

Summary: php-select doesn't work
Product: Gentoo Linux Reporter: Ginsu <ginsu.squirrel>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to libapache.sh

Description Ginsu 2006-01-15 16:18:52 UTC
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.
Comment 1 Ginsu 2006-01-15 16:19:57 UTC
Created attachment 77211 [details, diff]
Patch to libapache.sh
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2006-01-16 08:19:09 UTC
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.