Jump to content

Search the Community

Showing results for tags 'oci8 dynamic library connect'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. I am trying to run the following simple php script: <?php $db = oci_connect("userId","password","//ipAddress:port/sid"); if ( !$db ) { $e = oci_error(); trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR); } $stmt_getPrinter = oci_parse($db, "select distinct printer from persons_printers where Machine_Name = '%PC-JZP%'"); oci_execute($stmt_getPrinter); $status = OCIFetch($stmt_getPrinter); if ( $status ) { echo htmlentities("successful fetch<br>"); } else{ echo htmlentities("fetch failed<br>"); } ?> When I try to run the script above php -f testConn4.php I get the following errors/warnings PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/oci8.so' - /usr/lib/php/modules/oci8.so: undefined symbol: core_globals_id in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/oci8.so' - /usr/lib/php/modules/oci8.so: undefined symbol: core_globals_id in Unknown on line 0 PHP Fatal error: Call to undefined function oci_connect() in /share_area/www/docs/testConn4.php on line 2 Fatal error: Call to undefined function oci_connect() in /share_area/www/docs/testConn4.php on line 2 Runing Oracle 11g Enterprise Edition Release 11.2.0.1.0 PHP Version 5.4.9 PHPInfo() shows the following OCI8 Suport: enabled Version: 1.4.9 The OCI8.so file is located in the folder /usr/lib/php/modules with the correct privileges. Any Ideas why I am getting these errors/warnings? Thanks!!
×
×
  • 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.