I have working apache/php/mysql on my Gentoo server. But I have to enable some extensions in php (json, exif).
USE="dev-lang/php json exif" emerge dev-lang/php
Please, tell me what next?
This question came from our site for professional and enthusiast programmers.
Don't include the category/package name in USE, it's just
But I'd suggest making that choice persistent, e.g. by adding
to /etc/portage/package.use and then
all modules are built into the php executable, gentoo doesn't use extension modules (.so), so this should be all you have to do. Make sure the emerge exits without errors.