Hi,
I installed lang/php5 without the PHP cli:
My requirements changed, Cacti needs the PHP cli for polling. So I recompiled PHP with the following options:
I did so with:
Everything HTTPD side of things works just fine. But the CLI binary is acting strange or unfamiliar to me, it certainly isn't doing what it should for the Cacti poller.php.
Example:
Am I missing something here?! Or why is the binary not working without '-n'
Any help greatly appreciated I was trying to get this working asap.
I've also tried
I installed lang/php5 without the PHP cli:
Code:
# make showconfig
===> The following configuration options are available for php5-5.3.10_1:
CLI=off "Build CLI version"
CGI=off "Build CGI version"
FPM=off "Build FPM version (experimental)"
APACHE=on "Build Apache module"
AP2FILTER=off " Use Apache 2.x filter interface (experimental)"
DEBUG=off "Enable debug"
SUHOSIN=on "Enable Suhosin protection system"
MULTIBYTE=off "Enable zend multibyte support"
IPV6=on "Enable ipv6 support"
MAILHEAD=off "Enable mail header patch"
LINKTHR=off "Link thread lib (for threaded extensions)"
===> Use 'make config' to modify these settings
My requirements changed, Cacti needs the PHP cli for polling. So I recompiled PHP with the following options:
Code:
# make showconfig
===> The following configuration options are available for php5-5.3.10_1:
CLI=on "Build CLI version"
CGI=off "Build CGI version"
FPM=off "Build FPM version (experimental)"
APACHE=on "Build Apache module"
AP2FILTER=off " Use Apache 2.x filter interface (experimental)"
DEBUG=off "Enable debug"
SUHOSIN=on "Enable Suhosin protection system"
MULTIBYTE=off "Enable zend multibyte support"
IPV6=on "Enable ipv6 support"
MAILHEAD=off "Enable mail header patch"
LINKTHR=off "Link thread lib (for threaded extensions)"
===> Use 'make config' to modify these settings
I did so with:
Code:
# make
[...]
# make deinstall
[..]
# make reinstall
Everything HTTPD side of things works just fine. But the CLI binary is acting strange or unfamiliar to me, it certainly isn't doing what it should for the Cacti poller.php.
Example:
Code:
[root@hesiod /usr/ports/lang/php5]# php
[root@hesiod /usr/ports/lang/php5]# php -v
[root@hesiod /usr/ports/lang/php5]# php -n -v
PHP 5.3.10 with Suhosin-Patch (cli) (built: Mar 3 2012 16:26:15)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
[root@hesiod /usr/ports/lang/php5]#
Am I missing something here?! Or why is the binary not working without '-n'
Any help greatly appreciated I was trying to get this working asap.
I've also tried
portupgrade -Rrf php5-5.3.10_1
and still no joy.