Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344055 - app-admin/eselect-php-0.6.1 can fail to set apache2 symlink
Summary: app-admin/eselect-php-0.6.1 can fail to set apache2 symlink
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 348628
  Show dependency tree
 
Reported: 2010-11-04 00:42 UTC by Tristan Heaven (RETIRED)
Modified: 2010-12-19 20:06 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 Tristan Heaven (RETIRED) gentoo-dev 2010-11-04 00:42:05 UTC
# eselect php set apache2 1
ln: target `/usr/lib/apache2/modules/' is not a directory: No such file or directory
!!! Error: Failed to set symlink for libphp5.so
exiting

# mkdir /usr/lib/apache2/modules

# eselect php set apache2 1
You have to run `/etc/init.d/apache2 restart' for the changes to take effect

This happened on a system with www-servers/apache[static] and no other apache modules installed.
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2010-12-19 20:06:39 UTC
we now "keepdir /usr/lib/apache2/modules" for that reason. not sure this is the right way, but it's a working way at least ;)