Unable to load php extension oci8.dll in wamp server windows xp

Hi this is my first post in this forum.
I have installed wamp server 2.2 on my windows xp desktop and I am trying to use oci8.dll extension to enable my oracle queries to run in my php pages. but when i enable to ext in wamp server i am getting the below error.
PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.13/php_oci8.dll
I have tried installing 'oracle instant client'
I have tried copying oci8.dll file from another system(where oci8.dll is succesfully loaded)
I updated the environment variable path also to point the oracle instantclient_10_2
I am still not able to vercome this error.

Your post doesn't have enough detail to identify a cause.
How did you install Instant Client? Did you set PATH?
Don't copy oci8.dll. It is too easy to get a conflicted set up.

Similar Messages

  • Unable to load required component 'Unicows.dll'

    英語版 Windows/Adobe Acrobat Reader を使用している外国人社員と PDF 文書を交換したく、日本語版 Windows XP Professional SP1a/Microsoft Word 2003/Adobe Acrobat 7.0 for Windows を用いて PDFMaker 経由で作成した PDF ファイルを上述英語環境(Acrobat Reader 6.0/7.0)で開くと "Unable to load required component 'Unicows.dll'" というエラーが表示され、開く事が出来ません。この障害はエクスプローラーから PDF ファイルをダブルクリックで開くと生じますが、Acrobat Reader 起動後に File -> Open によって PDF ファイルを開くと生じません。

    解決しました。
    問題は Acrobat では無く、当方の環境に有りました。
    日本語版 Windows XP を host OS とし、英語版 Windows XP を guest OS として、host OS 上の C:¥TEMP フォルダーを VMware の host share holder 機能を利用して guest OS に見せていたのですが、この folder を Exploler で参照すると、当該メッセージを出力する事が判明しました。
    推測するに、Exploler にはアクセス対象のファイルシステム属性を判断する機能があり、日本語 Windows XP 上では Unicows.dll を必要としないが、(本来 SBCS 環境である)英語 Windows XP では勘違いして Unicows.dll を読み込もうとする模様です(御承知の通り、Windows 2000 以降には Unicows.dll は存在しません)。

  • Unable to load dynamic library oci8.so

    Hello All,
    When I try to start lampp, I am getting the below error.
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so' - libclntsh.so.10.1: cannot open shared object file: No such file or directory in Unknown on line 0
    But I have  libclntsh.so.11.1 in my system. Why it is searching for libclntsh.so.10.1?

    Madhu.149 wrote:
    Hello All,
    When I try to start lampp, I am getting the below error.
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so' - libclntsh.so.10.1: cannot open shared object file: No such file or directory in Unknown on line 0
    But I have  libclntsh.so.11.1 in my system. Why it is searching for libclntsh.so.10.1?
    Madhu.149 wrote:
    Hello All,
    When I try to start lampp, I am getting the below error.
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so' - libclntsh.so.10.1: cannot open shared object file: No such file or directory in Unknown on line 0
    But I have  libclntsh.so.11.1 in my system. Why it is searching for libclntsh.so.10.1?
    >Why it is searching for libclntsh.so.10.1?
    old PHP software that does not know about V11
    So just create a softlink as below
    ln -s libclntsh.so.11.1 libclntsh.so.10.1

  • Unable to load php file into native window..

    Hi Guys,
    Im using flash cs3 as my development environment. what i was trying to do is creating a small login application using Air. I must say im still a newbie to flash air. as far as my login system concern i have managed following tasks,
    1. send username ans password using post and validate through php
    2. get the result back to flash application and open up a new native air window if the login is success.
    3. close the login window.
    now what i want to do is load my PHP application inside that newly open native window. How can i do it. I tried using Loader() method but it only worked for images not for php or html files.
    heres how I tried to use the loader method,
    var url:String = "http://localhost/Flash/login/welcome.php";
    var fileLoader:Loader = new Loader();
    fileLoader.load(new URLRequest(url));
    win.stage.addChild(fileLoader);
    This failed.
    Does anyone know how to load a PHP file into a Native window? Your help highly appreciate it.
    Just in case for the people who wants to know who I did the above mentioned tasks heres the code,
    Posting data to PHP server
    function sendLoginData() {
         if(txtUserName.text=='')
              txtBox.text = 'Username is empty';
         else if(txtPassword.text=='')
              txtBox.text = 'Password is empty';
         else
              var variables:URLVariables = new URLVariables();
              variables.UserName = txtUserName.text;
              variables.Password = txtPassword.text;
              var request:URLRequest = new URLRequest("http://localhost/Flash/login/login.php"); 
              var loader:URLLoader = new URLLoader(); 
              loader.dataFormat = URLLoaderDataFormat.TEXT; 
              request.data = variables; 
              request.method = URLRequestMethod.POST; 
              loader.addEventListener(Event.COMPLETE, handleComplete); 
              loader.addEventListener(IOErrorEvent.IO_ERROR, onIOError); 
              loader.load(request);
    Handdle the returned data
    function handleComplete(event:Event):void
         var variables:URLVariables = new URLVariables(event.target.data); 
         if(variables.errorcode==0)
              var url:String = "http://localhost/Flash/login/welcome.php";
              try {                             
                   //Native window
                   var options:NativeWindowInitOptions = new NativeWindowInitOptions();
                   options.systemChrome = NativeWindowSystemChrome.STANDARD;
                   options.transparent = false;
                   options.maximizable=false;
                   var win:NativeWindow = new NativeWindow(options);
                   win.title = 'welcome page';
                   //win.width = 900;
                   //win.height = 900;
                   /*var fileLoader:Loader = new Loader();
                   fileLoader.load(new URLRequest(url));
                   win.stage.addChild(fileLoader);*/
                   win.maximize();
                   win.activate();
                   stage.nativeWindow.close();
              } catch (e:Error) {
                trace("Error occurred!");
         else
              txtBox.text = 'Invalid logins';
    function onIOError(event:IOErrorEvent):void
         trace("Error loading URL."); 
    PHP code
    <?php
    $username = addslashes($_POST['UserName']);
    $password = addslashes($_POST['Password']);
    //do your database checking here. this is an example
    if($username=='niroshan' && $password=='123456')
         echo "errorcode=0"; 
    else
         echo "errorcode=1"; 
    ?>
    Call the function when pressing the submit
    cmdButton.addEventListener(MouseEvent.CLICK,readySendLoginData);
    function readySendLoginData(evt:MouseEvent){    
      sendLoginData();
    Thanks,
    best regards,
    Niroshan

    Thats right, HTMLLoader should solve the issue as Loader used for JPEG, PNG OR GIF files loading as per my knowledge

  • ITunes was unable to load data class information from sync services on windows pc

    I have been able to use iTunes on my windows 7 pc for several years with no problem to sync calendar and contact with Outlook 2013; Suddenly I'm getting this error message.  iTunes recognises an iphone but I can't sync it.  I've tried uninstalling iTunes, Apple Software Update, Apple Mobile Device Support, Bonjour and Apple Application Support, rebooted the PC and reinstalled iTunes.  Nothing works.  Can anyone help please?

    Error message missed off previous post - "iTunes was unable to load data class information from sync services"

  • Unable to load data into any application.database on server.

    I have a rather odd problem that's been vexing my for a few days.
    I am unable to do a data import into any cubes within Essbase, its as if the cube is in read only mode, though everything seems OK. I'm not running any sort of archiving, and to manually check, within essmsh, I did an "alter database end archive". I've tried with our existing and unchanged data load script as well as from within the EAS ( Right-click Data Load ). If I check the processes running on the server ( LINUX server ) the ESSSVR process is the top process eating 100% CPU. I can do outline builds OK.
    From within the application log file, the last few entries are:
    [Wed Apr  3 09:44:58 2013]Local/OP_ACC/Accounts/svc_biserver/Info(1021044)
    Starting to execute query
    [Wed Apr  3 09:44:58 2013]Local/OP_ACC/Accounts/svc_biserver/Info(1021045)
    Finished executing query, and started to fetch records
    [Wed Apr  3 09:44:58 2013]Local/OP_ACC/Accounts/svc_biserver/Info(1021000)
    Connection With SQL Database Server is Established
    [Wed Apr  3 09:44:58 2013]Local/OP_ACC/Accounts/svc_biserver/Info(1003040)
    Parallel dataload enabled: [1] block prepare threads, [1] block write threads.
    [Wed Apr  3 09:45:19 2013]Local/OP_ACC/Accounts/svc_biserver/Info(1021047)
    Finished fetching data
    Nothing has changed on this server for a few weeks so I'm somewhat flummoxed and no other errors show in any other logs ( nohup.out ).
    Essbase 11.1.1.2
    Redhat LINUX_x64 2.6

    Yes, I tried rebooting the whole box, server has 9Gb free space, same story when I load just 1 row via a text file in the EAS, it seems to hang and the ESSSVR process for that cube goes to 100%.
    I've tried a few different cubes, and they all have the same problem, so I suspect its something to do with Essbase itself rather than the specific cube I'm having problems with.
    This is our test server I'm experiencing the problem with and I tried migrating 1 app from UAT back to test which still didnt work.
    Stumped!

  • Unable to load the web site after deploying into the windows azure.Internal Server 500

    Hello everyone,
    Currently we are having one cloude service running into window azure.We are weekly deployeing that from local visual studio 2010.Yesterday when i published from visuual studio after that i am getting 500-Internal server error while opening my URL.So i had
    thought of enabling the Remote Access for my cloude service ,but when i am trying to do that i am geting different differnt errors.
    Details are like..
    3:14:39 PM - Warning: There are package validation warnings.
    3:14:39 PM - Checking for Remote Desktop certificate...
    3:14:40 PM - Preparing deployment for ScrumApplication.Azure - 2/11/2015 3:13:26 PM with Subscription ID 'b7a6057b-c401-46d7-a18d-7e0a4d6d1863' using Service Management URL 'https://management.core.windows.net/'...
    3:14:40 PM - Connecting...
    3:14:40 PM - Verifying storage account 'leanzy'...
    3:14:41 PM - Uploading Package...
    3:35:24 PM - Updating...
    3:36:13 PM - Legacy plugin RemoteAccess is found in role ScrumApplication. Please remove the import from Service Definition file to use the Extension.
    and some time i am getting another issue like
    1:58:36 AM - Warning: There are package validation warnings.
    11:58:36 AM - Checking for Remote Desktop certificate...
    11:58:41 AM - Uploading Certificates...
    11:59:01 AM - Preparing deployment for ScrumApplication.Azure - 2/11/2015 11:57:47 AM with Subscription ID 'b7a6057b-c401-46d7-a18d-7e0a4d6d1863' using Service Management URL 'https://management.core.windows.net/'...
    11:59:01 AM - Connecting...
    11:59:01 AM - Verifying storage account 'leanzy'...
    11:59:03 AM - Uploading Package...
    12:10:41 PM - Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
    so please help me to resolve the problem in urgent basis. 
    Please mail me if anything we can do on urgent basis.
    My email id is- [email protected]
    Thanks in advance.

    hi Madhusudan,
    According to your description, It is very hard to reproduce your issue. But from my experience, I suggest you can try those steps:
    1.Please try to create a new cloud service and try to deploy on Azure. I wanted to check whether the environment  issue.
    2.Please try to redeploy your project and disable RemoteAccess feature in your deployment process.
    Any results, please let me know free.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to load the list of replicas on mavericks server

    Hi everybody, I have one server where the list of replicas, is not show in server app.
    1. When I check the status of service in this replica, It show stopped
    bash-3.2# serveradmin fullstatus dirserv
    dirserv:logPaths:opendirectorydLog = "/var/log/opendirectoryd.log"
    dirserv:logPaths:ldapLog = "/var/log/slapd.log"
    dirserv:logPaths:passwordServiceServerLog = "/Library/Logs/PasswordService/ApplePasswordServer.Server.log"
    dirserv:logPaths:passwordServiceErrorLog = "/Library/Logs/PasswordService/ApplePasswordServer.Error.log"
    dirserv:logPaths:kdcLog = "/var/log/krb5kdc/kdc.log"
    dirserv:logPaths:slapconfigLog = "/Library/Logs/slapconfig.log"
    dirserv:LDAPServerType = "replica"
    dirserv:state = "STOPPED"
    dirserv:readWriteSettingsVersion = 1
    bash-3.2#
    2. When a try to start the service it show this
    bash-3.2# serveradmin start dirserv
    2014-09-30 16:15:12.917 serveradmin[16322:507] servermgr_dirserv: received request to start the Directory Server
    2014-09-30 16:15:12.939 serveradmin[16322:507] servermgr_dirserv: starting Directory Server deamons
    2014-09-30 16:15:42.954 serveradmin[16322:507] servermgr_dirserv: Did not receive slapd startup notificaton
    2014-09-30 16:15:42.987 serveradmin[16322:507] servermgr_dirserv: already bound to ourselves
    2014-09-30 16:15:42.987 serveradmin[16322:507] servermgr_dirserv: adding /LDAPv3/127.0.0.1 to Authentication Search policy
    2014-09-30 16:15:44.732 serveradmin[16322:507] servermgr_dirserv: adding /LDAPv3/127.0.0.1 to Contacts Search policy
    2014-09-30 16:15:46.406 serveradmin[16322:507] servermgr_dirserv: Not starting Certifcate Server: the Directory Server is not configured as a Certificate Server
    2014-09-30 16:15:46.407 serveradmin[16322:507] servermgr_dirserv: no need to restore /var/db/krb5kdc/kdc.conf from LDAP: file already exists
    2014-09-30 16:15:46.407 serveradmin[16322:507] servermgr_dirserv: restarting Kerberos deamons
    2014-09-30 16:15:46.500 serveradmin[16322:507] servermgr_dirserv: Directory Server started
    dirserv:state = "RUNNING"
    3. The state change again to stopped and I notice that the certificate is not being accepted in open directory service. Each time that I select my certificate in server app, This return automatically to the state without certificate, but it is only into open directory service.
    4. I can read the replicas into the directory using dscl /LDAPv3/127.0.0.1 read Config/ldapreplicas. Everything looks like be ok.
    5. I can read the information in password server using dscl /LDAPv3/127.0.0.1 read Config/passwordserver but I can't find the adresse of this server dans Kerberos client list using dscl /LDAPv3/127.0.0.1 read Config/KerberpsClient. I understood that the server address it could be in both list. I have been wondering if it is a certification problem into the replica server or if this come from the Master server in kerberos service or both.
    I'll appreciate any idea
    thanks

    I started over again destroying my replica with slapconfig -destroyldapserver and rebindig it to the master

  • Unable to Load Preflight Profiles

    Hello Everyone,
    I'm using InDesign CS4 6.0.4 running OS X 10.6.2.  A friend supplied me with a preflight (they are also using 6.0.4 on 10.6.2) and I am unable to load it.  I went to the Preflight Window and chose Define Profiles > Load Profile.  I navigated to the profile, and it is greyed out.  I tried changing the dropdown menu from 'All Readable Documents' to 'All Documents' and it remains greyed out.  I then tried exporting one of my preflight profiles and the same thing happened with that.
    I've tried trashing my preferences, and that didn't help the problem as well.  I tried placing the profile into /Applications/Adobe InDesign CS4/Scripts/Preflight and that didn't help either.  Any clues as to how to get preflight profiles to be able to be loaded would be much appreciated.
    Thanks!!!

    I experience exactly the same problem in CS5.
    It is not even possible to reimport profiles that have been exported on the same machine by InDesign itself.
    Repairing file permissions, as well as assigning global rwx-rights to the profiles didn’t help. All profiles still only show up inactive and cannot even be selected.
    I’d appreciate any help regarding this problem.
    Cheers,
    Alexander Rutz

  • Lync 2013. There was a problem connecting with the Exchange. Unable to load the magazine discussions.

    Lync 2013. There was a problem connecting with the Exchange. Unable to load the magazine discussions.
    Installed Lync Server Standart 2013, client PC MS Office 2013.
    As the mail system - Lotus Notes Domino Server and Lotus Notes client, respectively.
    Exchange is not installed at all.
    question:
    1 What is the message: "There was a problem connecting with Exchange. Unable to load the magazine discussions." and how it is fraught?
    2 How can I fix this message? Cleaning the C: \ Users \% UserName% \ AppData \ Local \ Microsoft \ Office \ 15.0 \ Lync \ does not help
    3 What are the disadvantages when using Lync Server Standart 2013 without Exchange? In principle, I put for Lync Exchange?
    4 What are the advantages when using Lync Server Standart 2013 with Exchange?
    5 Is it possible to work simultaneously Lync Server Standart 2013 + Exchange + Lotus Notes
    Thank you.

    1) That sounds like a strange translation.  But basically, it wants to connect to Exchange and it's complaining. 
    2) You can attempt to go to Tools->Options->Personal and set Personal Information Manager to None, and in Lync Management Shell run set-csclientpolicy
    http://technet.microsoft.com/en-us/library/gg398300.aspx with the following options:
    DisableCalendarPresence $True
    DisableEmailComparisonCheck $True
    EnableExchangeContactSync $False
    There may be more, I've never tried to completely disable Exchange features from Lync.
    3) No conferencing plugin for meeting invites, no automatic presence management based upon your calendar, no searching your Outlook contacts for new contacts, no voicemail, no conversation history,no unified contact store, and more:
    http://technet.microsoft.com/en-us/library/jj688098.aspx
    4) This is just #3 in reverse :)
    5) Depends on your goals, but the experience wouldn't be great.  You'd want to keep your contacts and calendar in Exchange and your email in Notes.  It would be confusing to your users. 
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • Unable load  library '/usr/lib64/php/modules/oci8.so' - libclntsh.so.11.1

    Dear all,
    I have a problem with OCI8 installation and I would appreciate if you could kindly guide me how to solve this issue.
    I started reading the following articles in order to learn how to install the OCI8 package allowing to connect from PHP to oracle
    http://www.php.net/manual/en/oci8.installation.php
    http://www.oracle.com/technetwork/articles/technote-php-instant-084410.html
    Here is my environment description
    OS: Fedora Core 17 (X86_64)
    Oracle version: Oracle Enterprise Edition 11gR2 (11.2.0.1.0) X86_64
    PHP Version: 5.4.13
    Apache version: 2.2.23Just a detail: almost every documentation starts by explaining the instant client installation. However, on the same physical machine, before even installing Apache and PHP. Oracle server had been completely installed, that is, both server and client (SQL*Plus, SQL*Loader, . . .). As a result, I omitted this step in the documentation and I continued by installation direcly OCI8 and apparently everything was compiled successfully (no error message).
    Problem: OCI8 doesn't show up in phpinfo()
    So it seems that there is a problem. I'm going to write down exactly how I proceeded and I would appreciate if you could kindly take a look at these steps and tell whether I made mistake(s)
    I started by running as ROOT. As I said the oracle server was already installed on the machine and so all the required environment variables such as LD_LIBRARY_PATH, ORACLE_SID, . . . were already defined in ~/.bash_profile
    And if you look at the below output, you can see that for example ORACLE_HOME was detected automatically during the installation (*checking Oracle ORACLE_HOME install directory... /u01/app/oracle/product/11.2.0/db_1*)
    # pecl install oci8This gave me the following output
    # pecl install oci8
    downloading oci8-1.4.9.tgz ...
    Starting to download oci8-1.4.9.tgz (169,255 bytes)
    .....................................done: 169,255 bytes
    10 source files, building
    running: phpize
    Configuring for:
    PHP Api Version:         20100412
    Zend Module Api No:      20100525
    Zend Extension Api No:   220100525
    Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client [autodetect] :
    building in /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9
    running: /var/tmp/oci8/configure --with-oci8
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for cc... cc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether cc accepts -g... yes
    checking for cc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr
    checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
    checking for PHP extension directory... /usr/lib64/php/modules
    checking for PHP installed headers prefix... /usr/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking for Oracle Database OCI8 support... yes, shared
    checking PHP version... 5.4.13, ok
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking size of long int... 8
    checking checking if we're on a 64-bit platform... yes
    checking Oracle ORACLE_HOME install directory... /u01/app/oracle/product/11.2.0/db_1
    checking ORACLE_HOME library validity... lib
    checking Oracle library version compatibility... 11.1
    checking how to print strings... printf
    checking for a sed that does not truncate output... (cached) /usr/bin/sed
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by cc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking for gawk... (cached) gawk
    checking command to parse /usr/bin/nm -B output from cc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if cc supports -fno-rtti -fno-exceptions... no
    checking for cc option to produce PIC... -fPIC -DPIC
    checking if cc PIC flag -fPIC -DPIC works... yes
    checking if cc static flag -static works... no
    checking if cc supports -c -o file.o... yes
    checking if cc supports -c -o file.o... (cached) yes
    checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    configure: creating ./config.status
    config.status: creating config.h
    config.status: executing libtool commands
    running: make
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8.c -o oci8.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8.c  -fPIC -DPIC -o .libs/oci8.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8_lob.c -o oci8_lob.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_lob.c  -fPIC -DPIC -o .libs/oci8_lob.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8_statement.c -o oci8_statement.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_statement.c  -fPIC -DPIC -o .libs/oci8_statement.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8_collection.c -o oci8_collection.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_collection.c  -fPIC -DPIC -o .libs/oci8_collection.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8_interface.c -o oci8_interface.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_interface.c  -fPIC -DPIC -o .libs/oci8_interface.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=link cc -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -o oci8.la -export-dynamic -avoid-version -prefer-pic -module -rpath /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules  oci8.lo oci8_lob.lo oci8_statement.lo oci8_collection.lo oci8_interface.lo -Wl,-rpath,/u01/app/oracle/product/11.2.0/db_1/lib -L/u01/app/oracle/product/11.2.0/db_1/lib -lclntsh
    libtool: link: cc -shared  -fPIC -DPIC  .libs/oci8.o .libs/oci8_lob.o .libs/oci8_statement.o .libs/oci8_collection.o .libs/oci8_interface.o   -L/u01/app/oracle/product/11.2.0/db_1/lib -lclntsh  -O2 -Wl,-rpath -Wl,/u01/app/oracle/product/11.2.0/db_1/lib   -Wl,-soname -Wl,oci8.so -o .libs/oci8.so
    libtool: link: ( cd ".libs" && rm -f "oci8.la" && ln -s "../oci8.la" "oci8.la" )
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=install cp ./oci8.la /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules
    libtool: install: cp ./.libs/oci8.so /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules/oci8.so
    libtool: install: cp ./.libs/oci8.lai /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules/oci8.la
    libtool: finish: PATH="/usr/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/op
    t/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/sbin" ldconfig -n /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules
    Libraries have been installed in:
       /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules
    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
       - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
         during execution
       - add LIBDIR to the `LD_RUN_PATH' environment variable
         during linking
       - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
       - have your system administrator add LIBDIR to `/etc/ld.so.conf'
    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    Build complete.
    Don't forget to run 'make test'.
    running: make INSTALL_ROOT="/var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9" install
    Installing shared extensions:     /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules/
    running: find "/var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9" | xargs ls -dils
    3679979   4 drwxr-xr-x. 3 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9
    3680009   4 drwxr-xr-x. 3 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr
    3680010   4 drwxr-xr-x. 3 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64
    3680011   4 drwxr-xr-x. 3 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php
    3680012   4 drwxr-xr-x. 2 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules
    3680008 596 -rwxr-xr-x. 1 root root 606865 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules/oci8.so
    Build process completed successfully
    Installing '/usr/lib64/php/modules/oci8.so'
    install ok: channel://pecl.php.net/oci8-1.4.9
    configuration option "php_ini" is not set to php.ini location
    You should add "extension=oci8.so" to php.ini
    # Once OCI8 was installed I updated the */etc/php.ini* accordingly by adding the following entries
    ; Dynamic Extensions ;
    ; If you wish to have an extension loaded automatically, use the following
    ; syntax:
    ;   extension=modulename.extension
    extension=oci8.so
    ; Paths and Directories ;
    ; UNIX: "/path1:/path2"
    extension_dir="/usr/lib64/php/modules"Also I updated the */etc/sysconfig/httpd* in order to export the specified set of OS environment variables. So I added the following lines at the end of the file
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib
    LD_LIBRARY_PATH64=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib
    TNS_ADMIN=/u01/app/oracle/product/11.2.0/db_1/network/admin
    NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
    ORACLE_SID=db01In order to check that these values are actually taken into account by Apache, I run
    # service httpd restartThen I run a PHP script with phpinfo() and in the section Environment the above values were present in particular the LD_LIBRARY_PATH variable.
    However, as I said, there is no OCI8 entry in phpinfo() output. I checked the apache log file and I saw that there is a problem
    # cat /var/log/httpd/error_log
    [Thu Apr 04 16:02:13 2013] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
    [Thu Apr 04 16:02:13 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Thu Apr 04 16:02:13 2013] [notice] Digest: generating secret for digest authentication ...
    [Thu Apr 04 16:02:13 2013] [notice] Digest: done
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/oci8.so' - libclntsh.so.11.1: cannot open shared object file: No such file or directory in Unknown on line 0
    [Thu Apr 04 16:02:13 2013] [warn] mod_wsgi: Compiled for Python/2.7.2.
    [Thu Apr 04 16:02:13 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
    [Thu Apr 04 16:02:13 2013] [notice] Apache/2.2.23 (Unix) DAV/2 PHP/5.4.13 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
    #What I understand from the above log is that the shared library libclntsh.so.11.1 cannot be found. Yet I checked and I saw that it is present in LD_LIBRARY_PATH
    # locate libclntsh.so
    /u01/app/oracle/product/11.2.0/db_1/inventory/Scripts/ext/lib/libclntsh.so.11.1
    /u01/app/oracle/product/11.2.0/db_1/inventory/backup/2012-06-25_12-08-41PM/Scripts/ext/lib/libclntsh.so.11.1
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.10.1
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    # So the last line, shows that the specified library exists in */u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1*.
    So I don't really seem what is the problem and the more strange thing is that in command line PHP seem to detect my oracle server parameters.
    $ php --ri oci8
    oci8
    OCI8 Support => enabled
    Version => 1.4.9
    Revision => $Id: e2241cffb72c940cb2ca267b7a6a0ce436de7e5e $
    Active Persistent Connections => 0
    Active Connections => 0
    Oracle Run-time Client Library Version => 11.2.0.1.0
    Oracle Version => 11.2
    Compile-time ORACLE_HOME => /u01/app/oracle/product/11.2.0/db_1
    Libraries Used => -Wl,-rpath,/u01/app/oracle/product/11.2.0/db_1/lib -L/u01/app/oracle/product/11.2.0/db_1/lib  -lclntsh
    Temporary Lob support => enabled
    Collections support => enabled
    Directive => Local Value => Master Value
    oci8.max_persistent => -1 => -1
    oci8.persistent_timeout => -1 => -1
    oci8.ping_interval => 60 => 60
    oci8.privileged_connect => Off => Off
    oci8.statement_cache_size => 20 => 20
    oci8.default_prefetch => 100 => 100
    oci8.old_oci_close_semantics => Off => Off
    oci8.connection_class => no value => no value
    oci8.events => Off => Off
    $ I thought maybe there are several different php.ini and the one used within GUI is not the same used in CLI but a search showed that there is just one php.ini file
    # locate php.ini
    /etc/php.ini
    # php -i | grep Configuration
    Configuration File (php.ini) Path => /etc
    Loaded Configuration File => /etc/php.ini
    Configuration
    #It is almost 3 days that I'm googling without success to find the solution to this problem.
    So, could someone help me, what is the problem? Why the OCI8 module cannot be loaded by PHP and become visible in the phpinfo() output?
    Thanks in advance,
    Regards,
    Dariyoosh

    cj wrote:
    Try disabling SELinux. On Oracle Linux you would edit /etc/selinux/config, set SELINUX to DISABLED, and reboot. Also see the setenforce command.Yes !!!!!!!!
    Thanks man it worked !! It was SELinux which was blocking the library load. Now I have OCI8 entry in phpinfo(). At the same time as we saw before the PHP in command line could detect OCI8, maybe this means that SELinux doesn't have the same impact in CLI as in GUI. Conclusion, you were totally correct about defining the environment variables in /etc/syscnfig/httpd. The variables were actually defined (with a slight difference in syntax that I will show below), yet SELinux prevented PHP from loading the oracle libraray.
    I also wrote a test SQL script (SELECT employee_id FROM employees WHERE department_id = 100) and the result was printed on the screen perfectly.
    So for those who may have encountered the same problem with the same environment parameters I'm going to give a summary of how I proceeded in the case where it might be helpful for others.
    My environment
    OS: Linux Fedora Core 17 (X86_64)
    Oracle version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
    Apache version (httpd): Apache 2.0
    PHP version: 5.4.13
    Before the installation
    Before the installation I disabled SELinux. At the time of writing I'm not an expert of SELinux so I don't know any rule modification in order to modify SELinux policy accordingly allowing to OCI8 module to load oracle libraries. As a result I finally disabled completely the SELinux on my system which may have serious security impacts! This can be done in the following way (being as root)
    # vim  /etc/selinux/configThe file content is something similar to the following
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #     enforcing - SELinux security policy is enforced.
    #     permissive - SELinux prints warnings instead of enforcing.
    #     disabled - No SELinux policy is loaded.
    SELINUX=enforcing
    # SELINUXTYPE= can take one of these two values:
    #     targeted - Targeted processes are protected,
    #     minimum - Modification of targeted policy. Only selected processes are protected.
    #     mls - Multi Level Security protection.
    SELINUXTYPE=targeted So what I did was that I put a comment at the beginning of the line SELINUX=enforcing and instead I added a new line right after that line which was SELINUX=disabled.
    Finally I rebooted the system.
    Installation:
    - Make sure that all oracle environment variables are defined in ~/.bash_profile of the user who installs OCI8. Otherwise you will have to enter manually the path to $ORACLE_HOME. I tested both ways and each method works pretty well. Yet I find the first one more elegant because it detects automatically everything
    - In my case, PHP, Apache and Oracle server were all on the same physical machine, therefore I didn't need to install the Oracle Instant client*. All the required oracle libraries for OCI8 were therefore already available.
    - being as ROOT, I run the following (I don't know whether this was mandatory but I prefered to stop httpd before installing OCI8)
    # pecl install oci8(On my machine pecl was already there, if not you can install it by using yum)
    - Once installation is over, at the end of the installation report in the terminal you will get something like this
    >
    Build process completed successfully
    Installing '/usr/lib64/php/modules/oci8.so'
    install ok: channel://pecl.php.net/oci8-1.4.9
    configuration option "php_ini" is not set to php.ini location
    You should add "extension=oci8.so" to php.ini
    >
    The two bold lines above shows what you have to put in your php.ini file (on my computer this file is in */etc/php.ini* )
    So I updated the php.ini file in the following way:
    ; Dynamic Extensions ;
    ; If you wish to have an extension loaded automatically, use the following
    ; syntax:
    ;   extension=modulename.extension
    extension=oci8.so
    ; Paths and Directories ;
    ; UNIX: "/path1:/path2"
    extension_dir="/usr/lib64/php/modules"Then you have to define the required oracle environment variables for Apache. According to what I read in http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html and in several forums while I was googling for this problem and also based on my own tests, it seems to me that depending on which Apache version you're using, the syntax for declaring the environment variables in */etc/sysconfig/httpd* is not the same.
    Here is what I added at the end of the file /etc/sysconfig/httpd
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib
    TNS_ADMIN=/u01/app/oracle/product/11.2.0/db_1/network/admin
    NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
    ORACLE_SID=db01I tried to use the export keyword before the variable names but it didn't work for me, yet I saw in other forums that there were people who apparently had used that syntax successfully. So again it is a matter of personal observation. For me using Apache 2.0, only the above syntax works. Also if I use $ in order to expand the environment variables it doesn't work
    so for example instead of writing
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/libI had to write explicitly the expanded values myself, that is,
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/libOnce this is done, restart httpd
    # service httpd startIf everything went well, normally you will see the OCI8 entry if you run phpinfo() in a test PHP script.
    Hope this may help others,
    Once again, thanks a lot to cj for his time and his valuable help for solving my problem.
    Regards,
    Dariyoosh

  • PHP Startup: Unable to load dynamic library './oci8.so' - ./oci8.so:

    I have oracle 11g, php5, and apache2 are running on server(A). One of my php application need to connect Oracle 10g on server(B). so I have to configure PHP5 and OCI8. Here is what I have done.
    #env
    ORACLE_SID=demo
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.1.0/db_1/lib
    TNS_ADMIN=/u01/app/oracle/product/11.1.0/db_1/network/admin
    ## PHP configured
    #./configure prefix=/usr/local/php5 with-apxs2=/usr/local/apache2/bin/apxs --with-oci8=/u01/app/oracle/product/11.1.
    0/db_1 enable-sigchild with-config-file-path=/usr/local/apache2/conf
    ##OCI8
    ./configure -with-oci8=shared,/u01/app/oracle/product/11.1.0/db_1
    Then I add "extension=oci8.so" on the php.ini file (/usr/local/php/conf/php.ini)
    ## Here is a problem
    # php phpinfo.php |grep oci
    PHP Warning: PHP Startup: Unable to load dynamic library './oci8.so' - ./oci8.so: cannot open shared object file: No such file or directory in Unknown on line 0
    oci8
    oci8.default_prefetch => 10 => 10
    oci8.max_persistent => -1 => -1
    oci8.old_oci_close_semantics => 0 => 0
    oci8.persistent_timeout => -1 => -1
    oci8.ping_interval => 60 => 60
    oci8.privileged_connect => Off => Off
    oci8.statement_cache_size => 20 => 20
    OLDPWD => /usr/local/apps/oci8-1.3.4
    _SERVER["OLDPWD"] => /usr/local/apps/oci8-1.3.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    what is your OS?
    Under Fedora 9 I used :
    locate oci8.soI had to use yumex to install a bunch of php files (pecl and phpize) that had the programs to dowload and install oci8.
    Another post has the instructions! Search on phpize or pecl
    in /etc/php.ini put :
    extension=oci8.so

  • Help / Configure PHP+IIS+Oracle "Unable to load dynamic library....."

    Hello,
    I am a seasoned Oracle user and PHP developer and for the life of me I cannot get our development server to load the php_oci8.dll file. I have spent hours searching the web, the Oracle forums and reading the FAQs and can still not get the web server to load correctly. Below are some specs about the environment we are running:
    -OS: Win2k Server SP4
    -Web Server: IIS 5.0
    -PHP Version: 5.1.4 PHP
    -Full Oracle Admin 10gr2 client is installed on web server
    When I pull up a page, I get the following warning: "PHP Warning: PHP Startup: Unable to load dynamic library 'D:\temp\php_oci8.dll' - The specified module could not be found. in Unknown on line 0 "
    Here is what I have done to troubleshoot:
    -'everyone' user has full access to the extension directory
    -I have tried moving the php_oci8.dll to other directories and changing the extension_dir in my php.ini
    -I am confident that my extension_dir in the ini file is correct
    -I have tried the Oracle instant client and the full admin OEM client. The machine currently has the full OEM client installed
    -All environment variables appear to be correct
    I rarely post to forums but I am running out of options. If I cannot figure this out soon, we will have to go another route for resolution. Any help is tremendously appreciated.
    Dave.
    [email protected]
    Message was edited by:
    user527623

    Should I explicity create environment variables named: ORACLE_HOME and NLS_LANGYep, you need to create those specific variables.
    Nooooo don't use ODBC!!!!
    Actually, I don't really care either way, I'm pretty much technology agnostic. Different things have different uses and you have to pick the best tool for the job. If I was a zealot I'd say "Don't use IIS" :p
    ~Jer

  • Unable to load the support DLL (webaccess setup)

    Hi,
    I'm installing GW8 SP2 HP3. So far I've installed the domain, PO and GWIA. They work just fine. Now I'm trying to install the WebAccess agent. When I run the setup I receive the following error message:
    Unable to load the support DLL:
    C:\Users\USERNAME\AppData\Local\Temp\2\{ad3aed10-0f09-11d3-93d8-0008c7392dd7}\WAZAGB32.DLL
    When I go to that temp location, the files are all there, including the above mentioned DLL. In my forum searches I found similar messages, but they were all caused by a missing Novell Client. I have the Novell Client 2 SP1 installed. I even installed the latest IR9 update to see if that helped.
    I installed the previous hotpatch just fine (GW8SP2HP2). When I try to run the old hotpatch webaccess installer, it fails with the same error. So obviously something changed between the time I installed the previous and this hotpatch on my system. I just can't figure out what.
    Does anyone have an idea as to what might be causing this error?
    I'm running on Windows Server 2008 R2 SP1

    iwan,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • PHP & JAVA (Unable to load Java Library)

    Hello,
    I try to execute a script ncluding the call with JAVA routines, I obtain the following message:
    Fatal error: Unable to load Java Library /opt/j2sdk1.4.2_04/jre/lib/i386/libjava.so, error: libjvm.so: cannot open shared object file: No such file or directory in /usr/local/apache2/htdocs/prerequis.php on line 17
    My environment is as follows:
    Linux REDHAT 2.4.21, Apache 2.0.50, PHP 4.3.9, JDK 1.4.2_04
    Files php.ini :
    [Java]
    java.class.path = /usr/local/lib/php/php_java.jar
    java.home = /opt/j2sdk1.4.2_04
    java.library = /opt/j2sdk1.4.2_04/jre/lib/i386/libjava.so
    java.library.path = /usr/local/lib/php/extensions/no-debug-non-zts-20020429
    extension_dir = /usr/local/lib/php/extensions/no-debug-non-zts-20020429
    extension=java.so
    If somebody has an idea??
    Thanks

    Shouldn't java.library.path point to java.library?

Maybe you are looking for

  • Apple TV/External Hard drive Question

    Here's my problem... Next year I will going away to college. I have a relitively large DVD collection, and don't really want to take all of the physical DVDs with me. i've figured out how to get the DVDs onto my Macbook Pro using Handbreak. The probl

  • Value of Textfield on Masterpage is not rendered!

    Hi all, I design a new form using HRFORMS. When I put a simple textfield on a master page and give the textfield a default value and render my form using transaction PC00_M01_CALC_SIMU, the value of the textfield is NOT rendered. I am using Adobe Liv

  • Changes in HCM learning application

    Hi All, According to my requirement I have to change code in standard BSP application i.e. HCM Learning I have to put authorization in it for employees according to roles. Please tell me how to do the changes in standard BSP application? and where in

  • How to get the row's size of  ResultSet ?

    i can't find a method to return the record number of a ResultSet. how can i get it without using the next() method and select count(*) from sometable

  • Mail to be send for every new pur group

    Hi , I have to send mail to recipients of  the purchase grp ekgrp.. right now im able to send mail to all purchase orders of the pur.group, individually. but my requirement demands that the mail has to triggered for every new pur.group, all the pur o