
So I have it observium almost fully setup on FreeBSD 11 however I can't get Apache 2.4 to work. I'm getting a error that php is too old.
Has anyone else run into this?
php56
apache24
<VirtualHost *> LoadModule rewrite_module libexec/apache24/mod_rewrite.so DocumentRoot /usr/local/www/observium/html CustomLog /usr/local/www/observium/logs/access_log combined ErrorLog /usr/local/www/observium/logs/error_log <Directory "/usr/local/www/observium/html"> DirectoryIndex index.php AllowOverride All Options FollowSymLinks MultiViews Require all granted </Directory> LogLevel debug </VirtualHost>

On 14 Feb 2017, at 23:13, Andrew Meyer andrewm659@outlook.com wrote:
So I have it observium almost fully setup on FreeBSD 11 however I can't get Apache 2.4 to work. I'm getting a error that php is too old.
Has anyone else run into this?
php56 apache24
It seems fine to run it against a newer PHP version (PHP 56 is just about EOL this month). I’ve got a few PR’s sitting in my queue to update the ports collection - but have not had the time to extensively test (and one genuine breakage example on 7.1).
Dw

Use PHP 7, not php5.6
http://linoxide.com/unix/freebsd-11-webserver-nginx-mysql-php-7-0-fpm/
On Tue, Feb 14, 2017 at 2:13 PM, Andrew Meyer andrewm659@outlook.com wrote:
So I have it observium almost fully setup on FreeBSD 11 however I can't get Apache 2.4 to work. I'm getting a error that php is too old.
Has anyone else run into this?
php56
apache24
<VirtualHost *> LoadModule rewrite_module libexec/apache24/mod_rewrite.so DocumentRoot /usr/local/www/observium/html CustomLog /usr/local/www/observium/logs/access_log combined ErrorLog /usr/local/www/observium/logs/error_log <Directory "/usr/local/www/observium/html"> DirectoryIndex index.php AllowOverride All Options FollowSymLinks MultiViews Require all granted </Directory> LogLevel debug
</VirtualHost>
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

All fine here with 10.3-RELEASE-p2:
# php -v PHP 5.6.30 (cli) (built: Jan 21 2017 01:16:05) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
# httpd -V Server version: Apache/2.4.25 (FreeBSD) Server built: unknown Server's Module Magic Number: 20120211:67 Server loaded: APR 1.5.2, APR-UTIL 1.5.4 Compiled using: APR 1.5.2, APR-UTIL 1.5.4 Architecture: 64-bit Server MPM: prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/usr/local" -D SUEXEC_BIN="/usr/local/bin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status" -D DEFAULT_ERRORLOG="/var/log/httpd-error.log" -D AP_TYPES_CONFIG_FILE="etc/apache24/mime.types" -D SERVER_CONFIG_FILE="etc/apache24/httpd.conf"
In httpd.conf:
LoadModule rewrite_module libexec/apache24/mod_rewrite.so LoadModule php5_module libexec/apache24/libphp5.so
-- Eduardo Schoedler
2017-02-14 20:13 GMT-02:00 Andrew Meyer andrewm659@outlook.com:
So I have it observium almost fully setup on FreeBSD 11 however I can't get Apache 2.4 to work. I'm getting a error that php is too old.
Has anyone else run into this?
php56
apache24
<VirtualHost *> LoadModule rewrite_module libexec/apache24/mod_rewrite.so DocumentRoot /usr/local/www/observium/html CustomLog /usr/local/www/observium/logs/access_log combined ErrorLog /usr/local/www/observium/logs/error_log <Directory "/usr/local/www/observium/html"> DirectoryIndex index.php AllowOverride All Options FollowSymLinks MultiViews Require all granted </Directory> LogLevel debug
</VirtualHost>

plz no :(
plz :'(
adam. On 14/02/2017 22:53:19, Eduardo Schoedler listas@esds.com.br wrote: All fine here with 10.3-RELEASE-p2:
# php -v PHP 5.6.30 (cli) (built: Jan 21 2017 01:16:05) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
# httpd -V Server version: Apache/2.4.25 (FreeBSD) Server built: unknown Server's Module Magic Number: 20120211:67 Server loaded: APR 1.5.2, APR-UTIL 1.5.4 Compiled using: APR 1.5.2, APR-UTIL 1.5.4 Architecture: 64-bit Server MPM: prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/usr/local" -D SUEXEC_BIN="/usr/local/bin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status" -D DEFAULT_ERRORLOG="/var/log/httpd-error.log" -D AP_TYPES_CONFIG_FILE="etc/apache24/mime.types" -D SERVER_CONFIG_FILE="etc/apache24/httpd.conf"
In httpd.conf:
LoadModule rewrite_module libexec/apache24/mod_rewrite.so LoadModule php5_module libexec/apache24/libphp5.so
-- Eduardo Schoedler
2017-02-14 20:13 GMT-02:00 Andrew Meyer :
So I have it observium almost fully setup on FreeBSD 11 however I can't get Apache 2.4 to work. I'm getting a error that php is too old.
Has anyone else run into this?
php56
apache24
LoadModule rewrite_module libexec/apache24/mod_rewrite.so DocumentRoot /usr/local/www/observium/html CustomLog /usr/local/www/observium/logs/access_log combined ErrorLog /usr/local/www/observium/logs/error_log
DirectoryIndex index.php AllowOverride All Options FollowSymLinks MultiViews Require all granted
LogLevel debug
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Could it be something like libphp5.so wasn't compiled with the same version of PHP?
But isn't php7 available anyway?
On Wed, 15 Feb 2017, Adam Armstrong wrote:
plz no :( plz :'(
adam.
On 14/02/2017 22:53:19, Eduardo Schoedler <listas@esds.com.br> wrote: All fine here with 10.3-RELEASE-p2: # php -v PHP 5.6.30 (cli) (built: Jan 21 2017 01:16:05) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies # httpd -V Server version: Apache/2.4.25 (FreeBSD) Server built: unknown Server's Module Magic Number: 20120211:67 Server loaded: APR 1.5.2, APR-UTIL 1.5.4 Compiled using: APR 1.5.2, APR-UTIL 1.5.4 Architecture: 64-bit Server MPM: prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/usr/local" -D SUEXEC_BIN="/usr/local/bin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status" -D DEFAULT_ERRORLOG="/var/log/httpd-error.log" -D AP_TYPES_CONFIG_FILE="etc/apache24/mime.types" -D SERVER_CONFIG_FILE="etc/apache24/httpd.conf" In httpd.conf: LoadModule rewrite_module libexec/apache24/mod_rewrite.so LoadModule php5_module libexec/apache24/libphp5.so -- Eduardo Schoedler 2017-02-14 20:13 GMT-02:00 Andrew Meyer : > So I have it observium almost fully setup on FreeBSD 11 however I can't get > Apache 2.4 to work. I'm getting a error that php is too old. > > > Has anyone else run into this? > > > php56 > > apache24 > > > > LoadModule rewrite_module libexec/apache24/mod_rewrite.so > DocumentRoot /usr/local/www/observium/html > CustomLog /usr/local/www/observium/logs/access_log combined > ErrorLog /usr/local/www/observium/logs/error_log > > DirectoryIndex index.php > AllowOverride All > Options FollowSymLinks MultiViews > Require all granted > > LogLevel debug > _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
NOTE: This message was trained as non-spam. If this is wrong, please correct the training as soon as possible. Spam Not spam Forget previous vote

Just tried to install php7 and remove php56. Observium was uninstalled.
________________________________ From: observium observium-bounces@observium.org on behalf of William Bauer bbauer@scripps.edu Sent: Tuesday, February 14, 2017 10:58 PM To: Observium Network Observation System Subject: Re: [Observium] Installation on FreeBSD 11
Could it be something like libphp5.so wasn't compiled with the same version of PHP?
But isn't php7 available anyway?
On Wed, 15 Feb 2017, Adam Armstrong wrote:
plz no :( plz :'(
adam.
On 14/02/2017 22:53:19, Eduardo Schoedler <listas@esds.com.br> wrote: All fine here with 10.3-RELEASE-p2: # php -v PHP 5.6.30 (cli) (built: Jan 21 2017 01:16:05) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies # httpd -V Server version: Apache/2.4.25 (FreeBSD) Server built: unknown Server's Module Magic Number: 20120211:67 Server loaded: APR 1.5.2, APR-UTIL 1.5.4 Compiled using: APR 1.5.2, APR-UTIL 1.5.4 Architecture: 64-bit Server MPM: prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/usr/local" -D SUEXEC_BIN="/usr/local/bin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status" -D DEFAULT_ERRORLOG="/var/log/httpd-error.log" -D AP_TYPES_CONFIG_FILE="etc/apache24/mime.types" -D SERVER_CONFIG_FILE="etc/apache24/httpd.conf" In httpd.conf: LoadModule rewrite_module libexec/apache24/mod_rewrite.so LoadModule php5_module libexec/apache24/libphp5.so -- Eduardo Schoedler 2017-02-14 20:13 GMT-02:00 Andrew Meyer : > So I have it observium almost fully setup on FreeBSD 11 however I can't get > Apache 2.4 to work. I'm getting a error that php is too old. > > > Has anyone else run into this? > > > php56 > > apache24 > > > > LoadModule rewrite_module libexec/apache24/mod_rewrite.so > DocumentRoot /usr/local/www/observium/html > CustomLog /usr/local/www/observium/logs/access_log combined > ErrorLog /usr/local/www/observium/logs/error_log > > DirectoryIndex index.php > AllowOverride All > Options FollowSymLinks MultiViews > Require all granted > > LogLevel debug > _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium Info Page - postman.memetic.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium postman.memetic.org To see the collection of prior postings to the list, visit the observium Archives. Using observium: To post a message to all the list members, send ...
NOTE: This message was trained as non-spam. If this is wrong, please correct the training as soon as possible. Spam Not spam Forget previous vote
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium observium Info Page - postman.memetic.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium postman.memetic.org To see the collection of prior postings to the list, visit the observium Archives. Using observium: To post a message to all the list members, send ...

If it really is something that Adam et al recommend, contact the FBSD maintainer and ask the pkg/port use php7 instead. They may agree and do it.
-- Stephen
On 2017-02-15 3:21 PM, Andrew Meyer wrote:
Just tried to install php7 and remove php56. Observium was uninstalled.
*From:* observium observium-bounces@observium.org on behalf of William Bauer bbauer@scripps.edu *Sent:* Tuesday, February 14, 2017 10:58 PM *To:* Observium Network Observation System *Subject:* Re: [Observium] Installation on FreeBSD 11
Could it be something like libphp5.so wasn't compiled with the same version of PHP?
But isn't php7 available anyway?
On Wed, 15 Feb 2017, Adam Armstrong wrote:
plz no :( plz :'(
adam.
On 14/02/2017 22:53:19, Eduardo Schoedler <listas@esds.com.br> wrote: All fine here with 10.3-RELEASE-p2: # php -v PHP 5.6.30 (cli) (built: Jan 21 2017 01:16:05) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies # httpd -V Server version: Apache/2.4.25 (FreeBSD) Server built: unknown Server's Module Magic Number: 20120211:67 Server loaded: APR 1.5.2, APR-UTIL 1.5.4 Compiled using: APR 1.5.2, APR-UTIL 1.5.4 Architecture: 64-bit Server MPM: prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/usr/local" -D SUEXEC_BIN="/usr/local/bin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status" -D DEFAULT_ERRORLOG="/var/log/httpd-error.log" -D AP_TYPES_CONFIG_FILE="etc/apache24/mime.types" -D SERVER_CONFIG_FILE="etc/apache24/httpd.conf" In httpd.conf: LoadModule rewrite_module libexec/apache24/mod_rewrite.so LoadModule php5_module libexec/apache24/libphp5.so -- Eduardo Schoedler 2017-02-14 20:13 GMT-02:00 Andrew Meyer : > So I have it observium almost fully setup on FreeBSD 11 however I can't get > Apache 2.4 to work. I'm getting a error that php is too old. > > > Has anyone else run into this? > > > php56 > > apache24 > > > > LoadModule rewrite_module libexec/apache24/mod_rewrite.so > DocumentRoot /usr/local/www/observium/html > CustomLog /usr/local/www/observium/logs/access_log combined > ErrorLog /usr/local/www/observium/logs/error_log > > DirectoryIndex index.php > AllowOverride All > Options FollowSymLinks MultiViews > Require all granted > > LogLevel debug > _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium Info Page - postman.memetic.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium postman.memetic.org To see the collection of prior postings to the list, visit the observium Archives. Using observium: To post a message to all the list members, send ...
NOTE: This message was trained as non-spam. If this is wrong, please correct the training as soon as possible. Spam Not spam Forget previous vote
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium observium Info Page - postman.memetic.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium postman.memetic.org To see the collection of prior postings to the list, visit the observium Archives. Using observium: To post a message to all the list members, send ...
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

We would recommend 7 now, I think. Though, we would not recommend FreeBSD, because it's just weird enough that we can't guarantee that it'll always work.
adam. On 15/02/2017 21:55:26, Stephen Fulton sf@lists.esoteric.ca wrote: If it really is something that Adam et al recommend, contact the FBSD maintainer and ask the pkg/port use php7 instead. They may agree and do it.
-- Stephen
On 2017-02-15 3:21 PM, Andrew Meyer wrote:
Just tried to install php7 and remove php56. Observium was uninstalled.
*From:* observium on behalf of William Bauer *Sent:* Tuesday, February 14, 2017 10:58 PM *To:* Observium Network Observation System *Subject:* Re: [Observium] Installation on FreeBSD 11
Could it be something like libphp5.so wasn't compiled with the same version of PHP?
But isn't php7 available anyway?
On Wed, 15 Feb 2017, Adam Armstrong wrote:
plz no :( plz :'(
adam.
On 14/02/2017 22:53:19, Eduardo Schoedler wrote:
All fine here with 10.3-RELEASE-p2:
# php -v PHP 5.6.30 (cli) (built: Jan 21 2017 01:16:05) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
# httpd -V Server version: Apache/2.4.25 (FreeBSD) Server built: unknown Server's Module Magic Number: 20120211:67 Server loaded: APR 1.5.2, APR-UTIL 1.5.4 Compiled using: APR 1.5.2, APR-UTIL 1.5.4 Architecture: 64-bit Server MPM: prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/usr/local" -D SUEXEC_BIN="/usr/local/bin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status" -D DEFAULT_ERRORLOG="/var/log/httpd-error.log" -D AP_TYPES_CONFIG_FILE="etc/apache24/mime.types" -D SERVER_CONFIG_FILE="etc/apache24/httpd.conf"
In httpd.conf:
LoadModule rewrite_module libexec/apache24/mod_rewrite.so LoadModule php5_module libexec/apache24/libphp5.so
-- Eduardo Schoedler
2017-02-14 20:13 GMT-02:00 Andrew Meyer :
So I have it observium almost fully setup on FreeBSD 11 however I can't get Apache 2.4 to work. I'm getting a error that php is too old.
Has anyone else run into this?
php56
apache24
LoadModule rewrite_module libexec/apache24/mod_rewrite.so DocumentRoot /usr/local/www/observium/html CustomLog /usr/local/www/observium/logs/access_log combined ErrorLog /usr/local/www/observium/logs/error_log
DirectoryIndex index.php AllowOverride All Options FollowSymLinks MultiViews Require all granted
LogLevel debug
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium Info Page - postman.memetic.org
postman.memetic.org To see the collection of prior postings to the list, visit the observium Archives. Using observium: To post a message to all the list members, send ...
NOTE: This message was trained as non-spam. If this is wrong, please correct the training as soon as possible. Spam Not spam Forget previous vote
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium observium Info Page - postman.memetic.org
postman.memetic.org To see the collection of prior postings to the list, visit the observium Archives. Using observium: To post a message to all the list members, send ...
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (7)
-
Adam Armstrong
-
Andrew Meyer
-
Cody Cook
-
Dirk-Willem van Gulik
-
Eduardo Schoedler
-
Stephen Fulton
-
William Bauer