Hi,
I don't know why but the installation off zabbix under netbsd 6.1.5 does not seem to detect properly php-mysql ...
I compiled the various prerequisites from pkgsrc :
Has you can see I added the necessary extension :
PHP Module is also correctly loaded in httpd.conf :
However the installer keep staing that no PHP Database support is found...
I tried eith php54 al weel and it give me the same error.
I also ( yep... sadly ) rebooted more than once.
I must say I'm out of idea right now and open to almost anything
I don't know why but the installation off zabbix under netbsd 6.1.5 does not seem to detect properly php-mysql ...
Code:
test-netebsd6# cat /etc/release | grep NetBSD NetBSD 6.1.5/amd64
Code:
test-netebsd6# pkg_info pkg_install-20150508 Package management and administration tools for pkgsrc libarchive-3.1.2nb1 Library to read/create different archive formats pkgin-0.8.0nb1 Apt / yum like tool for managing pkgsrc binary packages libidn-1.32 Internationalized Domain Names command line tool wget-1.16.3nb1 Retrieve files from the 'net via HTTP and FTP digest-20121220 Message digest wrapper utility libtool-base-2.4.2nb9 Generic shared library support script (the script itself) perl-5.22.0 Practical Extraction and Report Language pkg-config-0.28 System for managing library compile/link flags apr-1.5.2 Apache Portable Runtime apr-util-1.5.4nb2 Apache Portable Runtime utilities pcre-8.37 Perl Compatible Regular Expressions library readline-6.3nb3 GNU library that can recall and edit previous input apache-2.4.16 Apache HTTP (Web) server, version 2.4 gmake-4.1nb1 GNU version of 'make' utility sqlite3-3.8.10.2 SQL Database Engine in a C Library m4-1.4.17 GNU version of UNIX m4 macro language processor bison-3.0.4nb1 GNU yacc(1) replacement bash-4.3.039 The GNU Bourne Again Shell libexecinfo-1.1nb1 BSD Licensed clone of backtrace facility found in GNU libc ncurses-5.9nb4 CRT screen handling and optimization package curl-7.42.1nb2 Client that groks URLs cmake-3.2.3nb1 Cross platform make mariadb-client-5.5.43nb1 MarisDB 5.5, a free SQL database (client) mariadb-server-5.5.43 MariaDB 5.5, a free SQL database (server) xmlcatmgr-2.2nb1 XML and SGML catalog manager libxml2-2.9.2nb3 XML parser library from the GNOME project php-5.6.12 PHP Hypertext Preprocessor version 5.6 ap24-php56-5.6.12 Apache (apache24) module for PHP5.6 p5-gettext-1.05nb11 Perl5 module interface to C I18N functions help2man-1.46.6nb1 Generate simple manual pages from program output autoconf-2.69nb6 Generates automatic source code configuration scripts automake-1.15nb1 GNU Standards-compliant Makefile generator php56-mysql-5.6.12 PHP extension for MySQL databases php56-bcmath-5.6.12 PHP extension for bc-style arbitrary precision math yasm-1.3.0 Complete rewrite of the NASM assembler with BSD license libvpx-1.3.0nb4 On2 VP8 library from Google jbigkit-2.1 JBIG-KIT lossless image compression library osabi-NetBSD-6.1.5 Operating System version dummy-package x11-links-0.94 Shadow tree of links to native X11 headers and libraries jpeg-9anb1 IJG's jpeg compression utilities png-1.6.17 Library for manipulating PNG images fontconfig-2.11.1nb1 Library for configuring and customizing font access tiff-4.0.4beta Library and tools for reading and writing TIFF data files gd-2.1.0nb3 Graphics library for the dynamic creation of images php56-mbstring-5.6.12 PHP extension for multibyte characters support php56-sockets-5.6.12 PHP extension for sockets support php56-gettext-5.6.12 PHP extension for gettext support php56-gd-5.6.12 PHP extension for GD graphics library
Code:
test-netebsd6# grep "extension" /usr/pkg/etc/php.ini | grep .so | grep -v ";" extension=mysql.so extension=bcmath.so extension=gd.so extension=sockets.so extension=mbstring.so extension=gettext.so test-netebsd6#
Code:
test-netebsd6# cat /usr/pkg/etc/httpd/httpd.conf | grep php
LoadModule php5_module lib/httpd/mod_php5.so
<FilesMatch \.php$>
SetHandler application/x-httpd-php
DirectoryIndex index.html index.php
AddType application/x-httpd-php .php
test-netebsd6#
I tried eith php54 al weel and it give me the same error.
I also ( yep... sadly ) rebooted more than once.
I must say I'm out of idea right now and open to almost anything
Comment