Jump to content

Installing PDO MySQL


Recommended Posts

I am trying to compile PHP 5.1.2 with the following flags:

./configure \
--prefix=/usr/local/apache2/php \
--with-xml \
--with-zlib \
--enable-pdo \
--with-mysql=/usr/local/mysql \
--with-pdo-mysql \
--with-apxs2=/usr/local/apache2/bin/apxs

I get the following error:

Cannot find MySQL header files under

 

Any help would be appreciated, if it helps I can successfully compile everything if I remove the --with-pdo-mysql flag.

Link to comment
https://forums.phpfreaks.com/topic/44876-installing-pdo-mysql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.