Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
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
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
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