Installing Cacti on Gentoo

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
portcullischain
Posts: 6
Joined: Mon May 05, 2008 12:24 pm
Location: So. California

Installing Cacti on Gentoo

Post by portcullischain »

After installing Cacti on my brand spanking new Gentoo box, I proceeded to follow the installation instructions for Linux at http://www.cacti.net/downloads/docs/html/index.html and got as far as "Configuring the Webserver". The second instruction says
Now, please locate the PHP configuration file at /etc/httpd/conf.d/php.conf
. The only problem is I don't have a php.conf file. I run a

Code: Select all

find / -name 'php.conf'
and get nothing.
-PC
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please try this link instead. It should be up-to-date
Reinhard
portcullischain
Posts: 6
Joined: Mon May 05, 2008 12:24 pm
Location: So. California

Post by portcullischain »

gandalf wrote:Please try this link instead. It should be up-to-date
Reinhard
Which one....you have three in your signature.
-PC
portcullischain
Posts: 6
Joined: Mon May 05, 2008 12:24 pm
Location: So. California

Post by portcullischain »

I'm assuming you mean the third link in the sig. (New Cacti Manual here). Under "Configure PHP" I edit the php.ini file which under the Gentoo ebuild is located at /etc/php/apache2-php5/php.ini. It (the manual) tells me to
Please find the file /etc/php.ini and make sure that the directive extension_dir points to the correct directory. Example:

extension_dir = /etc/php.d
The only problem is I don't have any directories anywhere on my hard disk with the directory "php.d". The manual also, I think, suggest the directory should be where I find mysql.so. I only find that file in /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/DBD/mysql/mysql.so. Do you think there is a problem with the ebuild? I didn't see any obvious error messages when I installed it.
-PC
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

We're hitting here the wall of different file layouts for different distros. For Red Hat flavours at least, you won't add the line manually. This is done when installing php-mysql package.
In other words: if there is no such referenence, please verify that php-myql (or whatever the package may be called) is installed and configured correctly
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests