#1  
Old 5th January 2008, 23:19
digen digen is offline
Junior Member
 
Join Date: Sep 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default pdo_mysql install issue

Hello,

I am trying to install PDO_MYSQL-1.0.2 for php 5.2.3 (CGI).

cd PDO_MYSQL-1.0.2
/usr/local/php5/bin/phpize
./configure

throws this,

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.

The file does exist at /usr/local/php5/include/php/ext/pdo/php_pdo_driver.h

I have tried appending the CPPFLAGS='I/usr/local/php5/include/php/ext/pdo/` to the configure statement but that hasn't corrected the issue and the configure statement fails to find the PDO include directory.

Installation using pecl fails with the same error.

/usr/local/php5/bin/pecl install pdo_mysql

The server already has PDO installed and pdo_slite.

Any suggestions or pointers are much appreciated. Thanks
Reply With Quote
Sponsored Links
  #2  
Old 6th January 2008, 16:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Which distribution are you using? If it's Debian or Ubuntu, you can search for the package that contains php_pdo_driver.h like this: http://www.howtoforge.com/apt_file_debian_ubuntu
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 6th January 2008, 16:52
digen digen is offline
Junior Member
 
Join Date: Sep 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Falko,

I am using Cent OS. It doesn't have yum installed/configured.
Reply With Quote
  #4  
Old 7th January 2008, 14:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

You can try and search for php_pdo_driver.h on http://rpm.pbone.net .
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig Install Issue / PHP Build sgt_fitz Installation/Configuration 8 28th October 2007 14:15
problem install perl modules Cirox Installation/Configuration 10 16th May 2007 16:04
install Net::DNS chrno Installation/Configuration 4 5th September 2006 17:01
64-bit Debian 3.1 Install Issue naruto Installation/Configuration 14 5th September 2006 04:12
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04


All times are GMT +2. The time now is 16:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.