Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155128 - net-dialup/pptpconfig-20060821 needs to specify php4 path
Summary: net-dialup/pptpconfig-20060821 needs to specify php4 path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-14 05:28 UTC by Robin Bankhead
Modified: 2006-11-14 12:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Bankhead 2006-11-14 05:28:43 UTC
When both php4 and php5 are installed (and php5 is the default pointed to by /usr/bin/php), pptpconfig will fail because of php_gtk.so being a php4 extension.

To avoid this error, the header of /usr/bin/pptpconfig.php should be changed from

#!/usr/bin/php -q

to

#!/usr/lib/php4/bin/php -q

I think quite a lot of users may have both phps installed by this stage, so this would be a valuable clarification.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2006-11-14 12:21:22 UTC
Fixed in -r1.