|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56081 header files not installed + dependencies
Submitted: 2004-05-30 10:19 UTC Modified: 2013-02-18 00:35 UTC
From: matt at kynx dot org Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 5CVS-2004-05-30 (dev) OS: RedHat 9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
24 - 14 = ?
Subscribe to this entry?

 [2004-05-30 10:19 UTC] matt at kynx dot org
Seems that the header files (in particular php_pdo_driver.h) were not installed with the package. This caused installation of the drivers to fail. 

Workaround was to manually copy the header files from the tar archive to:

Also pdo_mysql-1.0.tgz falsely reports "PHP version >= 5.0.0 is required" and had to be installed with --nodeps.

Can't wait to start using this!

Reproduce code:
pear install PDO-0.1.1.tgz
pear install --nodeps pdo_mysql-0.1.tgz

Expected result:
Build process completed successfully
Installing '' at ext_dir (/usr/local/lib/php/20040412/
install ok: pdo_mysql 0.1

Actual result:
configure: error: Cannot find php_pdo_driver.h.
`/tmp/tmpUfBBnG/pdo_mysql-0.1/configure' failed


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-12-24 06:25 UTC]
-Status: Open +Status: Feedback -Package: PDO +Package: *General Issues
 [2011-12-24 06:25 UTC]
Please try using this snapshot:
For Windows:

 [2011-12-26 09:52 UTC] matt at kynx dot org
Can't remember having this problem in the last seven-odd years of using PDO ;)

Think it's safe to close. 

Happy hols.
 [2013-02-18 00:35 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 00:01:33 2024 UTC