No Modul Installer sqlsrv and pdo_sqlsrv
cpanel version 108.0.11 why No Modul Installer sqlsrv and pdo_sqlsrv. Helppppp.....!!
-
root@newcpanel:/tmp/sqlsrv-5.10.1# sudo pecl config-set php_ini /etc/php/8.0/fpm/php.ini sudo: pecl: command not found root@newcpanel:/tmp/sqlsrv-5.10.1# ls /etc/php/8.1/fpm/conf.d/*sqlsrv.ini ls: cannot access '/etc/php/8.1/fpm/conf.d/*sqlsrv.ini': No such file or directory root@newcpanel:/tmp/sqlsrv-5.10.1# /opt/cpanel/ea-php74/root/usr/bin/pecl install sqlsrv downloading sqlsrv-5.10.1.tgz ... Starting to download sqlsrv-5.10.1.tgz (193,661 bytes) .........................................done: 193,661 bytes 34 source files, building running: phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 building in /root/tmp/pear/pear-build-rootyjBn3S/sqlsrv-5.10.1 running: /root/tmp/pear/sqlsrv/configure --with-php-config=/opt/cpanel/ea-php74/root/usr/bin/php-config checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for PHP prefix... /opt/cpanel/ea-php74/root/usr checking for PHP includes... -I/opt/cpanel/ea-php74/root/usr/include/php -I/opt/cpanel/ea-php74/root/us r/include/php/main -I/opt/cpanel/ea-php74/root/usr/include/php/TSRM -I/opt/cpanel/ea-php74/root/usr/inc lude/php/Zend -I/opt/cpanel/ea-php74/root/usr/include/php/ext -I/opt/cpanel/ea-php74/root/usr/include/p hp/ext/date/lib checking for PHP extension directory... /opt/cpanel/ea-php74/root/usr/lib64/php/modules checking for PHP installed headers prefix... /opt/cpanel/ea-php74/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking whether to enable sqlsrv functions... yes, shared checking for SQLSRV headers... /root/tmp/pear/sqlsrv/shared/ checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_fi le_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate configure: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make /bin/bash /root/tmp/pear/pear-build-rootyjBn3S/sqlsrv-5.10.1/libtool --mode=compile g++ -std=c++11 -I. -I/root/tmp/pear/sqlsrv -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootyjBn3S/sqlsrv-5.10.1/include -I/ root/tmp/pear/pear-build-rootyjBn3S/sqlsrv-5.10.1/main -I/root/tmp/pear/sqlsrv -I/opt/cpanel/ea-php74/r oot/usr/include/php -I/opt/cpanel/ea-php74/root/usr/include/php/main -I/opt/cpanel/ea-php74/root/usr/in clude/php/TSRM -I/opt/cpanel/ea-php74/root/usr/include/php/Zend -I/opt/cpanel/ea-php74/root/usr/include /php/ext -I/opt/cpanel/ea-php74/root/usr/include/php/ext/date/lib -I/root/tmp/pear/sqlsrv/shared/ -DHA VE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /root/tmp/pear/sqlsrv/conn.cpp - o conn.lo libtool: compile: g++ -std=c++11 -I. -I/root/tmp/pear/sqlsrv -DPHP_ATOM_INC -I/root/tmp/pear/pear-buil d-rootyjBn3S/sqlsrv-5.10.1/include -I/root/tmp/pear/pear-build-rootyjBn3S/sqlsrv-5.10.1/main -I/root/tm p/pear/sqlsrv -I/opt/cpanel/ea-php74/root/usr/include/php -I/opt/cpanel/ea-php74/root/usr/include/php/m ain -I/opt/cpanel/ea-php74/root/usr/include/php/TSRM -I/opt/cpanel/ea-php74/root/usr/include/php/Zend - I/opt/cpanel/ea-php74/root/usr/include/php/ext -I/opt/cpanel/ea-php74/root/usr/include/php/ext/date/lib -I/root/tmp/pear/sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector - c /root/tmp/pear/sqlsrv/conn.cpp -fPIC -DPIC -o .libs/conn.o In file included from /usr/include/sql.h:19, from /root/tmp/pear/sqlsrv/shared/xplat.h:30, from /root/tmp/pear/sqlsrv/shared/typedefs_for_linux.h:23, from /root/tmp/pear/sqlsrv/shared/xplat_winnls.h:24, from /root/tmp/pear/sqlsrv/shared/FormattedPrint.h:24, from /root/tmp/pear/sqlsrv/shared/core_sqlsrv.h:41, from /root/tmp/pear/sqlsrv/php_sqlsrv_int.h:25, from /root/tmp/pear/sqlsrv/conn.cpp:24: /usr/include/sqltypes.h:56:10: fatal error: unixodbc.h: No such file or directory 56 | #include "unixodbc.h" | ^~~~~~~~~~~~ compilation terminated. make: *** [Makefile:192: conn.lo] Error 1 ERROR: `make' failed root@newcpanel:/tmp/sqlsrv-5.10.1# 0
Please sign in to leave a comment.
Comments
2 comments