Bug #76332 [Com]: Cannot find php_pdo_driver.h.

From: Date: Fri, 11 May 2018 20:10:43 +0000
Subject: Bug #76332 [Com]: Cannot find php_pdo_driver.h.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215217@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76332&edit=1 ID: 76332 Comment by: call dot of dot shad at gmail dot com Reported by: call dot of dot shad at gmail dot com Summary: Cannot find php_pdo_driver.h. Status: Open Type: Bug Package: PDO OCI Operating System: Ubuntu 16.04 LTS PHP Version: 5.6.36 Block user comment: N Private report: N New Comment: Sorry for register this like a stackoverflow question. I would edit it, but the temp password not matched. -the installed packages are: php5.6 php5.6-common libapache2-mod-php5.6 php5.6-cli php5.6-dev php-pear -The problem seems be in the configure file of pdo_oci sources as the dependency php_pdo_driver.h isn't in the pdo_oci directory. It is in pdo directory, so my guess is that .configure file just needs be fixed to find the correct path. Or the includes inside each related .h files. -I did a workaround compiling and installing pdo before pdo_oci so the dependency php_pdo_driver.h was found. I don't know if it's a correct way, but solved my case. I need confirmation. Previous Comments: ------------------------------------------------------------------------ [2018-05-11 18:32:36] spam2 at rhsoft dot net likely devel packages not installed - why don't you at least just provide the installed php packages when you confuse a bug tracker with stackoverflow ------------------------------------------------------------------------ [2018-05-11 18:05:55] call dot of dot shad at gmail dot com Description: ------------ I'm trying recreate my environment in ubuntu and I need pdo_oci for connect to oracle db. After phpize, I run ./configure --with-pdo-oci=instantclient,/usr,11.2 but it finishes in these: checking for oci.h... /usr/include/oracle/11.2/client64 checking for OCIEnvCreate in -lclntsh... yes checking for OCIEnvNlsCreate in -lclntsh... yes checking for OCILobIsTemporary in -lclntsh... yes checking for OCICollAssign in -lclntsh... yes checking for OCIStmtFetch2 in -lclntsh... yes checking for PDO includes... checking for PDO includes... configure: error: Cannot find php_pdo_driver.h. Is there a fix to this? ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76332&edit=1

« previous php.bugs (#215217) next »