Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. The "pdo_mysql" extension is NOT loaded in your `php.ini`!
  2. Make sure to load it before continuing!
  3.  
  4. yum install php-devel php-pear mysql-devel httpd-devel
  5. pecl install pdo
  6. PHP_PDO_SHARED=1 pecl install pdo_mysql
  7.  
  8. extension=pdo.so
  9. extension=pdo_mysql.so
  10.  
  11. creating libtool
  12. appending configuration tag "CXX" to libtool
  13. configure: creating ./config.status
  14. config.status: creating config.h
  15. running: make
  16. /bin/sh /root/tmp/pear/pear-build-rootLwk2BH/PDO_MYSQL-1.0.2/libtool --mode=compile cc -I -I/usr/include/mysql -g -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -I. -I/root/tmp/pear/PDO_MYSQL -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootLwk2BH/PDO_MYSQL-1.0.2/include -I/root/tmp/pear/pear-build-rootLwk2BH/PDO_MYSQL-1.0.2/main -I/root/tmp/pear/PDO_MYSQL -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_MYSQL/pdo_mysql.c -o pdo_mysql.lo
  17. mkdir .libs
  18. cc -I -I/usr/include/mysql -g -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -I. -I/root/tmp/pear/PDO_MYSQL -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootLwk2BH/PDO_MYSQL-1.0.2/include -I/root/tmp/pear/pear-build-rootLwk2BH/PDO_MYSQL-1.0.2/main -I/root/tmp/pear/PDO_MYSQL -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_MYSQL/pdo_mysql.c -fPIC -DPIC -o .libs/pdo_mysql.o
  19. In file included from /root/tmp/pear/PDO_MYSQL/pdo_mysql.c:31:
  20. /root/tmp/pear/PDO_MYSQL/php_pdo_mysql_int.h:25:19: error: mysql.h: No such file or directory
  21. In file included from /root/tmp/pear/PDO_MYSQL/pdo_mysql.c:31:
  22. /root/tmp/pear/PDO_MYSQL/php_pdo_mysql_int.h:36: error: expected specifier-qualifier-list before ‘MYSQL’
  23. /root/tmp/pear/PDO_MYSQL/php_pdo_mysql_int.h:48: error: expected specifier-qualifier-list before ‘MYSQL_FIELD’
  24. /root/tmp/pear/PDO_MYSQL/php_pdo_mysql_int.h:53: error: expected specifier-qualifier-list before ‘MYSQL_RES’
  25. make: *** [pdo_mysql.lo] Error 1
  26. ERROR: `make' failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement