Код: Выделить всё
mysql-server-5.0.92
FreeBSD 8.2-RELEASE i386
Код: Выделить всё
mysql-server-5.0.92
FreeBSD 8.2-RELEASE i386
Код: Выделить всё
** Port marked as IGNORE: databases/php5-rrdtool:
cannot install: doesn't work with PHP version : 5 (Doesn't support PHP 5)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
- databases/php5-rrdtool
Все он умеет.ufs писал(а):Как быть? php 5.4 не умеет rrd?
Код: Выделить всё
uname -a
FreeBSD slik45.kiev.ua 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Jul 18 14:18:23 UTC 2012 slik@slik45.kiev.ua:/usr/obj/usr/src/sys/SLIK i386
Код: Выделить всё
php -v
PHP 5.4.5 (cli) (built: Aug 3 2012 15:44:11)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
with eAccelerator v1.0-dev, Copyright (c) 2004-2012 eAccelerator, by eAccelerator
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.
Код: Выделить всё
pkg_info |grep php
php5-5.4.5 PHP Scripting Language
php5-bcmath-5.4.5 The bcmath shared extension for php
php5-bz2-5.4.5 The bz2 shared extension for php
php5-ctype-5.4.5 The ctype shared extension for php
php5-curl-5.4.5 The curl shared extension for php
php5-dom-5.4.5 The dom shared extension for php
php5-extensions-1.7 A "meta-port" to install PHP extensions
php5-filter-5.4.5 The filter shared extension for php
php5-ftp-5.4.5 The ftp shared extension for php
php5-gd-5.4.5 The gd shared extension for php
php5-gettext-5.4.5 The gettext shared extension for php
php5-hash-5.4.5 The hash shared extension for php
php5-iconv-5.4.5 The iconv shared extension for php
php5-json-5.4.5 The json shared extension for php
php5-mbstring-5.4.5 The mbstring shared extension for php
php5-mcrypt-5.4.5 The mcrypt shared extension for php
php5-mysql-5.4.5 The mysql shared extension for php
php5-mysqli-5.4.5 The mysqli shared extension for php
php5-openssl-5.4.5 The openssl shared extension for php
php5-pdo-5.4.5 The pdo shared extension for php
php5-pdo_mysql-5.4.5 The pdo_mysql shared extension for php
php5-pdo_sqlite-5.4.5 The pdo_sqlite shared extension for php
php5-pgsql-5.4.5 The pgsql shared extension for php
php5-phar-5.4.5 The phar shared extension for php
php5-posix-5.4.5 The posix shared extension for php
php5-recode-5.4.5 The recode shared extension for php
php5-session-5.4.5 The session shared extension for php
php5-simplexml-5.4.5 The simplexml shared extension for php
php5-snmp-5.4.5 The snmp shared extension for php
php5-soap-5.4.5 The soap shared extension for php
php5-sockets-5.4.5 The sockets shared extension for php
php5-sqlite3-5.4.5 The sqlite3 shared extension for php
php5-tokenizer-5.4.5 The tokenizer shared extension for php
php5-xml-5.4.5 The xml shared extension for php
php5-xmlreader-5.4.5 The xmlreader shared extension for php
php5-xmlwriter-5.4.5 The xmlwriter shared extension for php
php5-zip-5.4.5 The zip shared extension for php
php5-zlib-5.4.5 The zlib shared extension for php
Код: Выделить всё
PHP 5.4.5 (cli) (built: Aug 21 2012 12:27:35) (DEBUG)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
Код: Выделить всё
php5-5.4.5 PHP Scripting Language
php5-bz2-5.4.5 The bz2 shared extension for php
php5-ctype-5.4.5 The ctype shared extension for php
php5-curl-5.4.5 The curl shared extension for php
php5-dom-5.4.5 The dom shared extension for php
php5-extensions-1.7 A "meta-port" to install PHP extensions
php5-filter-5.4.5 The filter shared extension for php
php5-ftp-5.4.5 The ftp shared extension for php
php5-gd-5.4.5 The gd shared extension for php
php5-gettext-5.4.5 The gettext shared extension for php
php5-hash-5.4.5 The hash shared extension for php
php5-iconv-5.4.5 The iconv shared extension for php
php5-imap-5.4.5 The imap shared extension for php
php5-json-5.4.5 The json shared extension for php
php5-mbstring-5.4.5 The mbstring shared extension for php
php5-mcrypt-5.4.5 The mcrypt shared extension for php
php5-mysql-5.4.5 The mysql shared extension for php
php5-mysqli-5.4.5 The mysqli shared extension for php
php5-openssl-5.4.5 The openssl shared extension for php
php5-pdo-5.4.5 The pdo shared extension for php
php5-pdo_mysql-5.4.5 The pdo_mysql shared extension for php
php5-pdo_sqlite-5.4.5 The pdo_sqlite shared extension for php
php5-phar-5.4.5 The phar shared extension for php
php5-posix-5.4.5 The posix shared extension for php
php5-readline-5.4.5 The readline shared extension for php
php5-session-5.4.5 The session shared extension for php
php5-simplexml-5.4.5 The simplexml shared extension for php
php5-snmp-5.4.5 The snmp shared extension for php
php5-soap-5.4.5 The soap shared extension for php
php5-sockets-5.4.5 The sockets shared extension for php
php5-sqlite3-5.4.5 The sqlite3 shared extension for php
php5-tokenizer-5.4.5 The tokenizer shared extension for php
php5-xml-5.4.5 The xml shared extension for php
php5-xmlreader-5.4.5 The xmlreader shared extension for php
php5-xmlwriter-5.4.5 The xmlwriter shared extension for php
php5-zip-5.4.5 The zip shared extension for php
php5-zlib-5.4.5 The zlib shared extension for php
phpMyAdmin-suphp-3.5.2.2 A set of PHP-scripts to manage MySQL over the web
suphp-0.7.1_5 Securely execute PHP scripts under Apache
Код: Выделить всё
FreeBSD 8.2-RELEASE i386
Х.м. не ставитсяufs писал(а):php5-rrdtool можете установить интереса ради?
Код: Выделить всё
cd /usr/ports/databases/php5-rrdtool/ && make install clean
===> php5-rrdtool-1.00_2 cannot install: doesn't work with PHP version : 5 (Doesn't support PHP 5).
*** Error code 1
Stop in /usr/ports/databases/php5-rrdtool.
Код: Выделить всё
pkg_info |grep rrd
rrdtool-1.4.7_2 Round Robin Database Tools
Код: Выделить всё
pecl-rrd-1.0.5 PHP bindings to rrd tool system
rrdtool-1.4.7_2 Round Robin Database Tools
Код: Выделить всё
*/1 * * * * root /usr/bin/php /var/www/cacti/poller.php >/dev/null \ 2>/var/log/cacti/poller-error.log
Код: Выделить всё
# php /var/www/htdocs/cacti/poller.php 08/17/2012 03:23:42 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 1859 seconds have passed since the last poll!
OK u:0.00 s:0.01 r:1.02
08/17/2012 03:23:44 PM - SYSTEM STATS: Time:1.1606 Method:cmd.php Processes:1 Threads:N/A Hosts:7 HostsPerProcess:7 DataSources:29 RRDsProcessed:22
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.03
OK u:0.00 s:0.01 r:1.03
Код: Выделить всё
OK u:0.00 s:0.01 r:1.02
08/17/2012 03:23:44 PM - SYSTEM STATS: Time:1.1606 Method:cmd.php Processes:1 Threads:N/A Hosts:7 HostsPerProcess:7 DataSources:29 RRDsProcessed:22
Код: Выделить всё
Not Found
The requested URL /cacti.sql/install/ was not found on this server.
Код: Выделить всё
<VirtualHost *:80>
ServerAdmin admin@firma.ru
DocumentRoot "/usr/local/share/cacti"
<Directory "/usr/local/share/cacti">
Options Indexes FollowSymLinks Includes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ServerName cacti.freebsdvmbox.firma.ru
ServerAlias cacti.freebsdvmbox.firma.ru
ErrorLog "/usr/local/share/cacti/error_log"
CustomLog "/usr/local/share/cacti/access_log" common
</VirtualHost>