The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PDO error (not work)

Discussion in 'EasyApache' started by saros, Sep 10, 2013.

  1. saros

    saros Active Member

    Joined:
    Aug 28, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    not work install PDO_MYSQL.

    Centos6 + php 5.4.19 + WHM 11.38.2 (build 6)

    Code:
    WARNING: "pecl/PDO_MYSQL" is deprecated in favor of "channel://http://svn.php.net/viewvc/php/php-src/trunk/ext/pdo_mysql//ext/pdo_mysql"
    WARNING: "pecl/PDO" is deprecated in favor of "channel://http://svn.php.net/viewvc/php/php-src/trunk/ext/pdo//ext/PDO"
    downloading PDO_MYSQL-1.0.2.tgz ...
    Starting to download PDO_MYSQL-1.0.2.tgz (14,778 bytes)
    .....done: 14,778 bytes
    downloading PDO-1.0.3.tgz ...
    Starting to download PDO-1.0.3.tgz (52,613 bytes)
    ...done: 52,613 bytes
    12 source files, building
    running: phpize
    Configuring for:
    PHP Api Version:         20100412
    Zend Module Api No:      20100525
    Zend Extension Api No:   220100525
    building in /root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3
    running: /root/tmp/pear/PDO/configure
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    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 whether cc understands -c and -o together... yes
    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-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20100525
    checking for PHP installed headers prefix... /usr/local/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking whether to enable PDO support... yes, shared
    checking for ld used by cc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognize dependent libraries... pass_all
    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 dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking the maximum length of command line arguments... 1966080
    checking command to parse /usr/bin/nm -B output from cc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if cc supports -fno-rtti -fno-exceptions... no
    checking for cc option to produce PIC... -fPIC
    checking if cc PIC flag -fPIC works... yes
    checking if cc static flag -static works... yes
    checking if cc supports -c -o file.o... 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
    
    creating libtool
    appending configuration tag "CXX" to libtool
    configure: creating ./config.status
    config.status: creating config.h
    running: make
    /bin/sh /root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/libtool --mode=compile cc  -I. -I/root/tmp/pear/PDO -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/include -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/main -I/root/tmp/pear/PDO -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/PDO/pdo.c -o pdo.lo
    mkdir .libs
     cc -I. -I/root/tmp/pear/PDO -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/include -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/main -I/root/tmp/pear/PDO -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/PDO/pdo.c  -fPIC -DPIC -o .libs/pdo.o
    /bin/sh /root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/libtool --mode=compile cc  -I. -I/root/tmp/pear/PDO -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/include -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/main -I/root/tmp/pear/PDO -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/PDO/pdo_dbh.c -o pdo_dbh.lo
     cc -I. -I/root/tmp/pear/PDO -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/include -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/main -I/root/tmp/pear/PDO -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/PDO/pdo_dbh.c  -fPIC -DPIC -o .libs/pdo_dbh.o
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'pdo_stmt_instantiate':
    /root/tmp/pear/PDO/pdo_dbh.c:410: error: 'zval' has no member named 'refcount'
    /root/tmp/pear/PDO/pdo_dbh.c:411: error: 'zval' has no member named 'is_ref'
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'pdo_stmt_construct':
    /root/tmp/pear/PDO/pdo_dbh.c:424: error: too few arguments to function 'std_object_handlers.write_property'
    /root/tmp/pear/PDO/pdo_dbh.c:435: error: 'zend_fcall_info' has no member named 'object_pp'
    /root/tmp/pear/PDO/pdo_dbh.c:458: error: 'zend_fcall_info_cache' has no member named 'object_pp'
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'zim_PDO_setAttribute':
    /root/tmp/pear/PDO/pdo_dbh.c:752: error: 'zval' has no member named 'refcount'
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'zim_PDO_getAttribute':
    /root/tmp/pear/PDO/pdo_dbh.c:818: error: 'zval' has no member named 'refcount'
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'pdo_hash_methods':
    /root/tmp/pear/PDO/pdo_dbh.c:1126: warning: assignment discards qualifiers from pointer target type
    /root/tmp/pear/PDO/pdo_dbh.c:1128: error: 'const struct _zend_arg_info' has no member named 'required_num_args'
    /root/tmp/pear/PDO/pdo_dbh.c:1131: error: 'const struct _zend_arg_info' has no member named 'required_num_args'
    /root/tmp/pear/PDO/pdo_dbh.c:1133: error: 'zend_internal_function' has no member named 'pass_rest_by_reference'
    /root/tmp/pear/PDO/pdo_dbh.c:1134: error: 'zend_internal_function' has no member named 'return_reference'
    /root/tmp/pear/PDO/pdo_dbh.c:1134: error: 'const struct _zend_arg_info' has no member named 'return_reference'
    /root/tmp/pear/PDO/pdo_dbh.c:1139: error: 'zend_internal_function' has no member named 'pass_rest_by_reference'
    /root/tmp/pear/PDO/pdo_dbh.c:1140: error: 'zend_internal_function' has no member named 'return_reference'
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'pdo_dbh_init':
    /root/tmp/pear/PDO/pdo_dbh.c:1242: warning: assignment from incompatible pointer type
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'pdo_dbh_new':
    /root/tmp/pear/PDO/pdo_dbh.c:1413: error: 'zend_class_entry' has no member named 'default_properties'
    make: *** [pdo_dbh.lo] Error 1
    ERROR: `make' failed
    7 source files, building
    running: phpize
    Configuring for:
    PHP Api Version:         20100412
    Zend Module Api No:      20100525
    Zend Extension Api No:   220100525
    building in /root/tmp/pear/pear-build-root7Xx1du/PDO_MYSQL-1.0.2
    running: /root/tmp/pear/PDO_MYSQL/configure
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    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 whether cc understands -c and -o together... yes
    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-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20100525
    checking for PHP installed headers prefix... /usr/local/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking for MySQL support for PDO... yes, shared
    checking for mysql_config... /usr/bin/mysql_config
    checking for mysql_query in -lmysqlclient... yes
    checking for mysql_commit... yes
    checking for mysql_stmt_prepare... yes
    checking for mysql_next_result... yes
    checking for mysql_sqlstate... yes
    checking for PDO includes... checking for PDO includes...
    configure: error: Cannot find php_pdo_driver.h.
    ERROR: `/root/tmp/pear/PDO_MYSQL/configure' failed
    The PDO_MYSQL.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20100525
    Tidying /usr/local/lib/php.ini...
    No changes
    Tidying /usr/local/cpanel/3rdparty/php/53/etc/php.ini...
    No changes
    
     
    #1 saros, Sep 10, 2013
    Last edited: Sep 10, 2013
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,145
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Please try to install PDO_MYSQL on your server through easyapche. You can run easyapche through WHM OR SSH
     
  3. saros

    saros Active Member

    Joined:
    Aug 28, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    when I install shows this error:

    Code:
    WARNING: "pecl/PDO_MYSQL" is deprecated in favor of "channel://http://svn.php.net/viewvc/php/php-src/trunk/ext/pdo_mysql//ext/pdo_mysql"
    WARNING: "pecl/PDO" is deprecated in favor of "channel://http://svn.php.net/viewvc/php/php-src/trunk/ext/pdo//ext/PDO"
    downloading PDO_MYSQL-1.0.2.tgz ...
    Starting to download PDO_MYSQL-1.0.2.tgz (14,778 bytes)
    .....done: 14,778 bytes
    downloading PDO-1.0.3.tgz ...
    Starting to download PDO-1.0.3.tgz (52,613 bytes)
    ...done: 52,613 bytes
    12 source files, building
    running: phpize
    Configuring for:
    PHP Api Version:         20100412
    Zend Module Api No:      20100525
    Zend Extension Api No:   220100525
    building in /root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3
    running: /root/tmp/pear/PDO/configure
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    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 whether cc understands -c and -o together... yes
    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-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20100525
    checking for PHP installed headers prefix... /usr/local/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking whether to enable PDO support... yes, shared
    checking for ld used by cc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognize dependent libraries... pass_all
    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 dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking the maximum length of command line arguments... 1966080
    checking command to parse /usr/bin/nm -B output from cc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if cc supports -fno-rtti -fno-exceptions... no
    checking for cc option to produce PIC... -fPIC
    checking if cc PIC flag -fPIC works... yes
    checking if cc static flag -static works... yes
    checking if cc supports -c -o file.o... 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
    
    creating libtool
    appending configuration tag "CXX" to libtool
    configure: creating ./config.status
    config.status: creating config.h
    running: make
    /bin/sh /root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/libtool --mode=compile cc  -I. -I/root/tmp/pear/PDO -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/include -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/main -I/root/tmp/pear/PDO -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/PDO/pdo.c -o pdo.lo
    mkdir .libs
     cc -I. -I/root/tmp/pear/PDO -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/include -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/main -I/root/tmp/pear/PDO -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/PDO/pdo.c  -fPIC -DPIC -o .libs/pdo.o
    /bin/sh /root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/libtool --mode=compile cc  -I. -I/root/tmp/pear/PDO -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/include -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/main -I/root/tmp/pear/PDO -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/PDO/pdo_dbh.c -o pdo_dbh.lo
     cc -I. -I/root/tmp/pear/PDO -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/include -I/root/tmp/pear/pear-build-rootcycEsE/PDO-1.0.3/main -I/root/tmp/pear/PDO -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/PDO/pdo_dbh.c  -fPIC -DPIC -o .libs/pdo_dbh.o
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'pdo_stmt_instantiate':
    /root/tmp/pear/PDO/pdo_dbh.c:410: error: 'zval' has no member named 'refcount'
    /root/tmp/pear/PDO/pdo_dbh.c:411: error: 'zval' has no member named 'is_ref'
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'pdo_stmt_construct':
    /root/tmp/pear/PDO/pdo_dbh.c:424: error: too few arguments to function 'std_object_handlers.write_property'
    /root/tmp/pear/PDO/pdo_dbh.c:435: error: 'zend_fcall_info' has no member named 'object_pp'
    /root/tmp/pear/PDO/pdo_dbh.c:458: error: 'zend_fcall_info_cache' has no member named 'object_pp'
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'zim_PDO_setAttribute':
    /root/tmp/pear/PDO/pdo_dbh.c:752: error: 'zval' has no member named 'refcount'
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'zim_PDO_getAttribute':
    /root/tmp/pear/PDO/pdo_dbh.c:818: error: 'zval' has no member named 'refcount'
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'pdo_hash_methods':
    /root/tmp/pear/PDO/pdo_dbh.c:1126: warning: assignment discards qualifiers from pointer target type
    /root/tmp/pear/PDO/pdo_dbh.c:1128: error: 'const struct _zend_arg_info' has no member named 'required_num_args'
    /root/tmp/pear/PDO/pdo_dbh.c:1131: error: 'const struct _zend_arg_info' has no member named 'required_num_args'
    /root/tmp/pear/PDO/pdo_dbh.c:1133: error: 'zend_internal_function' has no member named 'pass_rest_by_reference'
    /root/tmp/pear/PDO/pdo_dbh.c:1134: error: 'zend_internal_function' has no member named 'return_reference'
    /root/tmp/pear/PDO/pdo_dbh.c:1134: error: 'const struct _zend_arg_info' has no member named 'return_reference'
    /root/tmp/pear/PDO/pdo_dbh.c:1139: error: 'zend_internal_function' has no member named 'pass_rest_by_reference'
    /root/tmp/pear/PDO/pdo_dbh.c:1140: error: 'zend_internal_function' has no member named 'return_reference'
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'pdo_dbh_init':
    /root/tmp/pear/PDO/pdo_dbh.c:1242: warning: assignment from incompatible pointer type
    /root/tmp/pear/PDO/pdo_dbh.c: In function 'pdo_dbh_new':
    /root/tmp/pear/PDO/pdo_dbh.c:1413: error: 'zend_class_entry' has no member named 'default_properties'
    make: *** [pdo_dbh.lo] Error 1
    ERROR: `make' failed
    7 source files, building
    running: phpize
    Configuring for:
    PHP Api Version:         20100412
    Zend Module Api No:      20100525
    Zend Extension Api No:   220100525
    building in /root/tmp/pear/pear-build-root7Xx1du/PDO_MYSQL-1.0.2
    running: /root/tmp/pear/PDO_MYSQL/configure
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    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 whether cc understands -c and -o together... yes
    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-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20100525
    checking for PHP installed headers prefix... /usr/local/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking for MySQL support for PDO... yes, shared
    checking for mysql_config... /usr/bin/mysql_config
    checking for mysql_query in -lmysqlclient... yes
    checking for mysql_commit... yes
    checking for mysql_stmt_prepare... yes
    checking for mysql_next_result... yes
    checking for mysql_sqlstate... yes
    checking for PDO includes... checking for PDO includes...
    configure: error: Cannot find php_pdo_driver.h.
    ERROR: `/root/tmp/pear/PDO_MYSQL/configure' failed
    The PDO_MYSQL.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20100525
    Tidying /usr/local/lib/php.ini...
    No changes
    Tidying /usr/local/cpanel/3rdparty/php/53/etc/php.ini...
    No changes
    
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  5. saros

    saros Active Member

    Joined:
    Aug 28, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Not installing via whm ...
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:

    You should be.


    Thanks.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Have you tried to enable PDO and PDO_MySQL through EasyApache instead of the module installer option within WHM? You can access EasyApache via:

    "WHM Home >> Software >> EasyApache"

    Thank you.
     
  8. saros

    saros Active Member

    Joined:
    Aug 28, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Installed via easyapache. when I go into modules does not appear as installed.
     
  9. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Home » Service Configuration » Configure PHP and suEXEC

    Have a look at that area in WHM for handlers.
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please check with a command such as:

    Code:
    php -m
    Do you see PDO listed? If so, could you verify where you do not see the modules installed at?

    Thank you.
     
  11. saros

    saros Active Member

    Joined:
    Aug 28, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    yes listed...
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page