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

Bug 344055

Summary: app-admin/eselect-php-0.6.1 can fail to set apache2 symlink
Product: Gentoo Linux Reporter: Tristan Heaven (RETIRED) <tristan>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 348628    

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 ;)