logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: PHP not working after rebuild
Author
alan.lee



Joined: 28 Jan 2014
Posts: 4
Location: Hong Kong

PostPosted: Wed 05 Mar '14 8:25    Post subject: PHP not working after rebuild Reply with quote

I recently rebuilt PHP in Gentoo using
Code:

USE="zip" emerge dev-lang/php

After that I restarted apache by
Code:

/etc/init.d/apache2 restart


However, now a page with
Code:

<?php phpinfo(); ?>

just shows the one line text and not the PHP information.

What might be wrong? Thanks!
Back to top
alan.lee



Joined: 28 Jan 2014
Posts: 4
Location: Hong Kong

PostPosted: Wed 05 Mar '14 11:17    Post subject: Reply with quote

To answer my own question, I need to add "apache2" in the use flags for PHP to work with Apache.
Back to top


Reply to topic   Topic: PHP not working after rebuild View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules