Bernard Mentink
Contributor
- Joined
- Apr 2, 2016
- Messages
- 193
Hi,
I have errors after creating a fresh jail and installing nginx. The web page works for html, but php just shows a blank page.
On investigation "php -m" shows:
So it looks like an upgrade issue. I have installed nginx and php56 using "pkg" and have done a "pkg update/upgrade" but still the same errors.
What is the correct way to upgrade jails ... I am continously getting caught by this ... it is a pain in the rear ... :)
Any help much appreciated..
EDIT:
Or maybe the above is ared-herring and the error is to do with FASTCGI, this error in the nginx error.log:
I have errors after creating a fresh jail and installing nginx. The web page works for html, but php just shows a blank page.
On investigation "php -m" shows:
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/gd.so' - /lib/libz.so.6: version ZLIB_1.2.9 required by /usr/local/lib/libpng16.so.16 not found in Unknown on line 0 [PHP Modules] Core date ereg libxml mbstring mysqlnd openssl pcre Reflection session SPL standard xml zlib [Zend Modules]
So it looks like an upgrade issue. I have installed nginx and php56 using "pkg" and have done a "pkg update/upgrade" but still the same errors.
What is the correct way to upgrade jails ... I am continously getting caught by this ... it is a pain in the rear ... :)
Any help much appreciated..
EDIT:
Or maybe the above is ared-herring and the error is to do with FASTCGI, this error in the nginx error.log:
Code:
2018/04/02 15:51:45 [error] 8837#101900: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function filter_var() in /usr/local/www/dokuwiki/lib/plugins/quickstats/scripts/php-inet6_1.0.2/valid_v6.php on line 20" while reading response header from upstream, client: 192.168.178.95, server: localhost, request: "GET /doku.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "192.168.178.5"
Last edited: