|
|
| Author |
Message |
JustJoe
Joined: 24 Mar 2005 Posts: 10
|
Posted: Thu Feb 02, 2006 6:52 pm Post subject: [INFO] Installing Cacti and PHP5 on Gentoo:info on USE flags |
|
|
Hi,
After i emerged Cacti on Gentoo -having PHP5 installed- i ran into some 'Call to undefined errors' when i first accessed http://localhost/cacti.
It turned out to be missing USE flags for PHP5.
So, if you get the above error you have to re-emerge PHP5 with proper USE flags: | Code: | | root@box# echo "=dev-lang/php-5* cgi cli mysql session snmp pcre xml " >> /etc/portage/package.use && emerge -av dev-lang/php |
Be carefull on the cgi and cli flags though, especially when you also have PHP4 installed: http://www.gentoo.org/proj/en/php/php4-php5-configuration.xml
HTH |
|
| Back to top |
|
 |
fmangeant Cacti Guru User
Joined: 19 Sep 2003 Posts: 2325 Location: Sophia-Antipolis, France
|
Posted: Fri Feb 03, 2006 3:08 am Post subject: |
|
|
Hi
these flags have to be used when you emerge dev-lang/php (which replaces both dev-php/mod_php and dev-php/php).
I added the flag 'sockets', which is needed by the "network discovery' plugin. |
|
| Back to top |
|
 |
|