For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > April 2007 > Problem enabling pdo and pdo-mysql shared extension









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem enabling pdo and pdo-mysql shared extension
gerolinux

2007-03-21, 5:36 am

Hi to all,

I'm try to compile php 5.2.1 on a Red-Hat system and I would like to
enable pdo and pdo-mysql as shared extension. Mysql install directory is not
in a standard location but in /apx/mysql and so compilation failed.

.../configure --prefix=/apx/php \
--disable-all \
--with-zlib=/usr \
--enable-pdo=shared \
--with-pdo-mysql=shared

checking for a custom ODBC support... no
checking for iODBC support... no
checking for Easysoft ODBC-ODBC Bridge support... no
checking for unixODBC support... no
checking for DBMaker support... no
checking whether to enable pcntl support... no
checking whether to enable PDO support... yes, shared
checking for PDO_DBLIB support via FreeTDS... no
checking for Firebird support for PDO... no
checking for MySQL support for PDO... yes, shared
checking for mysql_config... not found
configure: error: Cannot find MySQL header files under


If I compile pdo and pdo-mysql as static extension, all work fine!

.../configure --prefix=/apx/php \
--disable-all \
--with-zlib=/usr \
--enable-pdo \
--with-pdo-mysql=/apx/mysql

Anyone can help me ?

Thanks for your help.

G.
Im_a_carrie

2007-04-09, 3:49 pm

Lindsay Lohan Doing A Hung Guy!
http://Lindsay-Lohan-Doing-A-Hung-G...hp?movie=148803
Ganstaa

2007-04-15, 3:37 pm

Anjelina Jolie doing it!
http://Angelina-Jolie-doing-it.info...hp?movie=148803
La-lai

2007-04-29, 6:53 am

http://Johnny-Depp-lesbian-strip.or...hp?movie=148803
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com