installing php gentoo
Trying to install PHP w/ Apache 2 for Gentoo. Apache is installed correctly, but when I emerged PHP it did not create libphp4.so which, according to the PHP installation guide, is required for Apache to run PHP scripts. Is there some type of option that I need to pass to portage to get it to create the necessary modules or is there something that I can do to build this module?
Much Thanks, jrtayloriv |
Do you have support for php in your use line in make.conf? Look at /usr/portage/profiles/use.desc and see what applies to you. I did find this little tidbit:
Code:
php - Include support for php Never used php but it may help. :scratch: Later :D :D :D :D |
Yes I had php use flag in make.conf already, so that is not the problem. By the way for your reference, the USE flags only remove/add support where it is optional, so in the case of installing PHP, the USE flag would have no effect either way, because PHP will definitely have PHP support built in!
thanks anyway, jrtayloriv |
fixed
I found the solution to my problem. Emerging PHP only emerges the interpreter itself, to build the Apache modules you have to emerge "mod_php" as well. Be sure to add APACHE2_OPTS="-D PHP4" to your /etc/conf.d/apache2 file as well.
later, jrtayloriv |
All times are GMT -5. The time now is 01:26 AM. |