Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: PHP not working after rebuild |
|
Author |
|
alan.lee
Joined: 28 Jan 2014 Posts: 4 Location: Hong Kong
|
Posted: Wed 05 Mar '14 8:25 Post subject: PHP not working after rebuild |
|
|
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
|
Posted: Wed 05 Mar '14 11:17 Post subject: |
|
|
To answer my own question, I need to add "apache2" in the use flags for PHP to work with Apache. |
|
Back to top |
|
|
|
|
|
|