Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119136 - php-select doesn't work
Summary: php-select doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 16:18 UTC by Ginsu
Modified: 2006-01-16 08:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to libapache.sh (libapache.sh.patch,202 bytes, patch)
2006-01-15 16:19 UTC, Ginsu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.