php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68956 PDO_IBM as shared module doesn't work
Submitted: 2015-01-30 08:34 UTC Modified: 2016-07-24 04:22 UTC
From: j_a_v_i at hotmail dot com Assigned: vnkbabu (profile)
Status: No Feedback Package: PDO_IBM (PECL)
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
 [2015-01-30 08:34 UTC] j_a_v_i at hotmail dot com
Description:
------------
I'm trying to compile the PDO_IBM extension (version 1.3.3) as a shared module under Linux, PHP version 5.3.29.

It finishes the compile without errors and creates the pdo_ibm.so module to be used. But when loading the library in Apache it says:

PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) 'pdo_ibm.so' in Unknown on line 0


I have tried to compile the full php library with the PDO_IBM support (not shared module) and that works OK and it includes the module in the whole library and Apache starts and the module is loaded OK. 

But I need just the shared pdo_ibm module and I can get a library that actually works as shared module.

Could you provide any help?

Many thanks


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-05 12:54 UTC] rahulpriyadarshi@php.net
-Assigned To: +Assigned To: rahulpriyadarshi
 [2015-06-05 12:54 UTC] rahulpriyadarshi@php.net
ibm_db2 works well in shared mode, what command you have used for building this extension.
 [2016-02-07 15:47 UTC] rahulpriyadarshi@php.net
-Assigned To: rahulpriyadarshi +Assigned To: vnkbabu
 [2016-07-15 13:06 UTC] cmb@php.net
-Status: Assigned +Status: Feedback
 [2016-07-15 13:06 UTC] cmb@php.net
Please try with PDO_IBM-1.3.4.
 [2016-07-24 04:22 UTC] pecl-dev 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 "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 05 21:01:27 2024 UTC