On Thu, Nov 06, 2008 at 11:41:36AM +0800, Михаил А said: > Hi! > I Installed: > $sudo port install apache2 > $sudo port install mysql5 +server > $ sudo port install php5 +apache2 +mysql5 +pear > > registered PHP 5 with Apache 2: > $ cd /opt/local/apache2/modules > $ sudo /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so > > And created a php.ini file (which you can edit to configure PHP 5): > $ cp /opt/local/etc/php.ini-dist /opt/local/etc/php.ini > > > Then I installed the cacti: > $ sudo port install cacti > > and My cacti.log was littered with the error: > "WARNING: sockets support not enabled in PHP,falling back to SNMP ping"
Looks like you need to install php5 with the +sockets variant as well. Uninstall php5, then sudo port install php5 +apache2 +mysql5 +pear +sockets Though you might want to run 'port variants php5' first, see if there's anything else you might want/need. Bryan > > How can I get rid of this message ? > > > Thanks! > Mihail Artyuhov > [EMAIL PROTECTED] > _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
