Binary PHP installer with OCI8 supprt for SunOS 5.10

Hello!
Does anybody know if we can get a binary PHP installer with OCI8 supprt for SunOS 5.10 somewhere?
We're trying to configure and compile our own, but there's no end to resolving dependancies, errors, etc...
Thank you so much for any help with this!

Nope, just running:
./configure --with-apxs2=/usr/local/apache2/bin/apxs
make
make install
Works just fine(with the libphp5.so file being deleted). Problem doesn't arise until I try to add in the --with-ci8=xxx.                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • AIX 5.2 / Apache 2 / PHP 5 with OCI8

    Hi,
    I have problemes to compile the php module for aix5.2 full 64bit kernel. The compiler (libtool/gcc) fails to use the pthread lib.
    The GCCFLAGS are -maix64 -pthread but did not help.
    Any help how to compile?
    Regards
    Friedel

    sorry I write to quick or kbd problem ;
    try replacing all oracle/lib by oracle/lib32 in makefile
    and restart make without configure
    it works for me
    with AIX 5.3 / apache 1.3.31 / PHP 5-dev / Oracle 10g

  • PLease help!! cannot make install php with oci8 instant client

    Cannot make install :
    Installing PHP SAPI module: cgi
    Installing PHP CGI into: /usr/local/bin/
    Installing PEAR environment: /usr/local/lib/php/
    ld.so.1: php: fatal: libnnz10.so: open failed: No such file or directory
    *** Error code 137
    The following command caused the error:
    /home/dmitriy/install/php-4.4.4/sapi/cli/php -n -dshort_open_tag=0 -dopen_basedir= -dsafe_mode=0 -dmemory_limit=-1 /home/dmitriy/install/php-4.4.4/pear/install-pear.php -d "/usr/local/lib/php" -b "/usr/local/bin" /home/dmitriy/install/php-4.4.4/pear/packages/*.tar
    make: Fatal error: Command failed for target `install-pear-packages'
    Current working directory /home/dmitriy/install/php-4.4.4
    *** Error code 1
    The following command caused the error:
    if /home/dmitriy/install/php-4.4.4/build/shtool mkdir -p /usr/local/lib/php; then \
    make -s install-pear-packages; \
    else \
    cat /home/dmitriy/install/php-4.4.4/pear/install-pear.txt; \
    exit 5; \
    fi
    make: Fatal error: Command failed for target `install-pear'
    LD_LIBRARY_PATH is set where i unziped oracle client instantclient
    debug.log
    CONFIGURE: './configure' '-with-oci8-instant-client=/home/dmitriy/instantclient_10_2'
    CC: gcc
    CFLAGS: -g -O2
    CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
    CXX:
    CXXFLAGS:
    INCLUDES: -I/home/dmitriy/instantclient_10_2/sdk/include
    LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -L/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -R/home/dmitriy/instantclient_10_2 -L/home/dmitr
    iy/instantclient_10_2
    LIBS: -lresolv -lm -lnsl -lsocket -lgcc -lclntsh
    DLIBS:
    SAPI: cgi
    PHP_RPATHS: /usr/ucblib /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 /home/dmitriy/instantclient_10_2
    uname -a: SunOS solaris 5.10 Generic_118855-33 i86pc i386 i86pc
    gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -L/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -R/home/d
    mitriy/instantclient_10_2 -L/home/dmitriy/instantclient_10_2 conftest.c -lresolv -lm -lnsl -lsocket -lgcc -lclntsh 1>&5
    ld.so.1: conftest: fatal: libnnz10.so: open failed: No such file or directory

    Please grab the "re-factored" oci8 code from http://pecl.php.net/package/oci8. The version of oci8 distributed with PHP 4 should be avoided. Replace the PHP 4.4 ext/oci8 directory completely with the new package, run buildconf --force and then configure/make etc.  Note the configure option for instant client has changed:
    --with-oci8=instantclient,/usr/lib/oracle/10.2.0.3/client/lib
    -- cj

  • Library error when configuring PHP with OCI8

    I'm running into a problem running the configure command to include OCI8 in our Linux PHP in order to connect to a remote Oracle database. I've been following the instructions on the page:
    http://www.oracle.com/technology/pub/notes/technote_php_instant.html
    We have a CentOS 4.6 server:
    * 2.6.9-67.0.4.ELsmp
    * Apache Apache/2.0.52
    * PHP 4.x
    I've downloaded the latest PHP we can get for 4.x (4.4.8). I can compile and install the default PHP 4.4.8 without issue. However, trying to configure the OCI8 runs into problems:
    I've added the types to the httpd.conf file and installed the rpms:
    oracle-instantclient-basic-11.1.0.1-1.i386.rpm
    oracle-instantclient-devel-11.1.0.1-1.i386.rpm
    I'm unsure if 4.4.8 config.m4 is correct -- but if we try to use the php_oci8c_buildpatch, it fails, so I went with the default config.m4 in PHP 4.4.8.
    I try to configure with the command:
    ./configure with-oci8-instant-client prefix=/usr/local/bin/php with-apxs2 enable-sigchild --with-config-file-path=/etc/httpd/conf
    ...and get the error it can't find the libraries:
    checking for Oracle (OCI8) support using ORACLE_HOME installation... no
    checking for Oracle (OCI8) support using Oracle Instant Client... yes
    checking Oracle Instant Client directory... /usr/lib/oracle/11.1.0.1/client/lib
    checking Oracle Instant Client SDK header directory... /usr/include/oracle/11.1.0.1/client
    checking Oracle Instant Client version... configure: error: Oracle Instant Client libraries not found
    Yet, when I look at the directory where it says it is looking, I see the libraries:
    # ls -l /usr/lib/oracle/11.1.0.1/client/lib
    total 124160
    lrwxrwxrwx 1 root root 17 Feb 6 14:35 libclntsh.so -> libclntsh.so.11.1
    -rw-r--r-- 1 root root 35295891 Aug 1 2007 libclntsh.so.11.1
    -rw-r--r-- 1 root root 5839373 Aug 1 2007 libnnz11.so
    lrwxrwxrwx 1 root root 15 Feb 6 14:35 libocci.so -> libocci.so.11.1
    -rw-r--r-- 1 root root 2331572 Aug 1 2007 libocci.so.11.1
    -rw-r--r-- 1 root root 79215373 Aug 1 2007 libociei.so
    -rw-r--r-- 1 root root 129285 Aug 1 2007 libocijdbc11.so
    -rw-r--r-- 1 root root 1879924 Aug 1 2007 ojdbc5.jar
    -rw-r--r-- 1 root root 1977444 Aug 1 2007 ojdbc6.jar
    -rw-r--r-- 1 root root 299640 Aug 1 2007 ottclasses.zip
    Can anyone shed some light on what I'm missing? I've searched, poked, and prodded -- but am unable to find a solution.
    Thanks!
    Keith

    The problem is in PHP. If you open configure script you will see that PHP 4.4.8 does not know instantclient 11g. He just know 10g.
    So you have three options:
    1. use 10g instant client
    2. use PHP5 instead of PHP4 (as PHP4 are deprecated, so no new versions in the future)
    "Support for PHP 4 has been discontinued since 2007-12-31. Please consider upgrading to PHP 5.2. The release below is the last PHP 4 release."
    3. You can rewrite configure script :-) which is possible but according to option 2 this option is silly.

  • Php 5.1.2 doesn't seem to recognize the --with-oci8-instant-client option

    I just tried configuring php 5.1.2 with the --with-oci8-instant-client option and could never get phpinfo() to show the oci8 section...
    Finally went back and tried php 5.1.1 and it worked.
    If anyone else could verify this behavior, maybe the PHP folks should be notified??

    Discovered the issue:
    the configure script changed the format of the config option
    in php 5.1.1:
    --with-oci8[=DIR] Include Oracle (OCI8) support using an ORACLE_HOME
    install. The default DIR is ORACLE_HOME
    --with-oci8-instant-client[=DIR]
    Include Oracle (OCI8) support using
    Oracle Instant Client. DIR is the directory with the
    Instant Client libraries. On Linux it will default to
    /usr/lib/oracle/<most_recent_version>/client/lib
    Other platforms will need to have it explicitly specified
    HOWEVER, in php 5.1.2:
    --with-oci8[=DIR] Include Oracle (OCI8) support.
    The default DIR is ORACLE_HOME.
    Use --with-oci8=instantclient,/path/to/oic/lib
    to use Oracle Instant Client installation
    This explains why the --with-oci8-instant-client option is ignored.  The new format is:
    --with-oci8=instantclient,/path/to/libs                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Latvian Language support for generated PDF's with FPDF module for PHP

    Hello !
    I have a problem with Adobe Reader for Android. I am working with online PDF creation with PHP module named FPDF.
    With FPDF module for PHP you can create PDF's online.
    The problem is that - when generated PDF appears on phone it doesn't show Latvian language ( cp1257 or  ISO-8859-13 for example ). For example - "ŗķļņž" and "ŖĶĻŅŽ" is shown with other symbols.
    However opening the same file with standart app "Polaris Office" - the text is show as it used to be, without problem.
    Strange bug, that i can't fix from PHP ( Tried a lot of decodes and encodes ). Also i have saved PHP file with different encodings - nothing helped.

    You might ask about this in the regular forum. There are several form experts there that may be able to help you.

  • My up to date iMac can not read the lightroom 5 installation dvd I received for christmas, the dvd player works fine with other dvd's, is there a way to download the program with the dvd's serial number?

    my up to date iMac can not read the lightroom 5 installation dvd I received for christmas, the dvd player works fine with other dvd's, is there a way to download the program with the dvd's serial number?

    No need to worry about the disk version. You would just have to install an update anyway as soon as it was installed. Download from the link provided below and use the serial number you have to activate.
    Product updates

  • Volume Correction Factor Procedure for Installs With Gauge Corrected Meters

    I am trying to set-up a VCF for installations meters that self correct for guage pressure.  However, the installations do not correct for altitude/air pressure, i.e. they are not absolute pressure corrected.
    Therefore, I need a procedure that converts for air pressure but not guage/absolute pressure.
    An example would be that the installations air pressure is 1.000 Bar, with the Gauge Pressure being 0.50 Bar.  Therefore, the total pressure correction factor should 1/1.0135, NOT 1.5/1.0135.
    Can anyone tell me what the VCF set-up should be?
    Note I realise there's also temperature and super compressiblity involved in the VCF, however this is immaterial for my question.

    We have a solution.
    For the Volume Correction Factor Procedure to be used for gauge corrected meters, we've ticked Air Pressure Correction.
    And then for the gauge corrected meters, we've populated the Air Pressure Correction value as being the negative value of the gauge pressure.
    So, therefore for the relevant installation at say 0.6 Bar gauge pressure at an air pressure area that is 1 Bar, the pressure calcuation becomes
    = (Air Pressure + Gauge Pressure + Air Pressure Correction)/(Standard Air Pressure)
    = (1 + 0.6 + -0.6)/1.01325
    = (1)/1.01325
    = 0.9878
    The number of gauge corrected meters we have is very small (<100), therefore using the Air Pressure Correction as a way of stoppping gauge pressure being double applied (once by the meter, and then by SAP) is a suitable solution.

  • Php installation

    hello everybody,
    i am getting php installation problem
    i am using
    1) Linux 3.0 (A.S)
    2)Oracle (10g)
    3)Apache2
    for php as front end.
    the problem is when i am installing php with oci8 it is not giving any errors that command i have given is
    #./configure with-oci8=$ORACLE_HOME with-apxs2=/usr/local/apache/bin/apxs --enable-sigchild
    #make
    #make install
    it is not giving any errors it is installing very perfectly
    then i have written one page
    <?php
    phpinfo();
    ?>
    then i have checked in browser as http://localhost/phptest.php
    here i has to show that with-oci8, but it is showing that without-oci8
    what is the problem pls help me regarding this

    The $ORACLE_HOME has oci.h ?
    What does find $ORACLE_HOME -name 'oci.h' ? If you don't have oci.h download the oci headers from OTN or copy them from another installation.
    Reissue same configure command

  • Is there a easy proven method of getting php working with oracle?

    I am trying to get php 4.3.11 working oracle instant client + suse9.2 + apache2 to connect to a remote oracle db. Recompling php and apache2 from source with oci8 in mind.
    Facing a lot of Recompling errors. Is there any rpm with all libs.
    What is the best combinations? (dont mind starting from scratch)
    Any hints or help will be greatly appreciated.

    Until Zend Core for Oracle* is available, keep compiling.
    What errors are you getting?
    -- CJ
    * For reference, the Zend Core FAQ is at
    http://www.oracle.com/technology/tech/php/htdocs/oracle_zend_faq.html

  • Problem with NW04s SR2 installation with MS SQL Server 2000 SP4

    I’m struggling with the NW04s installation with MS SQL Server 2000.
    The installation stops at the step “Create/modify database schema SAPJ2EDB”.
    The following error/info from log file,
    INFO       2007-06-06 12:02:33 [iaxxgenimp.cpp:632]
               showDialog()
    Execute step doConfiguration of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|NW_MSS_SRVCFG|ind|ind|ind|ind|6|0.
    INFO       2007-06-06 12:02:35 [iaxxgenimp.cpp:632]
               showDialog()
    Execute step doTempdb of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
    INFO       2007-06-06 12:02:36 [iaxxgenimp.cpp:632]
               showDialog()
    Execute step doSwitch of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
    INFO       2007-06-06 12:02:36 [iaxxgenimp.cpp:632]
               showDialog()
    Execute step doTempDBAnalyze of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
    INFO       2007-06-06 12:02:37 [iaxxgenimp.cpp:632]
               showDialog()
    Execute step doTempDBBeforeRestart of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
    INFO       2007-06-06 12:02:38 [iaxxgenimp.cpp:632]
               showDialog()
    Execute step doRestartServer of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
    INFO       2007-06-06 12:02:58 [ianxbservi.cpp:697]
               CIaNtServices::stop(const map<iastring,iastring>&)
    The service 'MSSQLSERVER' stopped successfully on host 'GBCZ672C'.
    INFO       2007-06-06 12:03:10 [ianxbservi.cpp:632]
               CIaNtServices::start(const map<iastring,iastring>&)
    The service 'MSSQLSERVER' started successfully on host 'GBCZ672C'.
    INFO       2007-06-06 12:03:21 [ianxbservi.cpp:632]
               CIaNtServices::start(const map<iastring,iastring>&)
    The service 'SQLSERVERAGENT' started successfully on host 'GBCZ672C'.
    INFO       2007-06-06 12:03:21 [iaxxgenimp.cpp:632]
               showDialog()
    Execute step doTempDBAfterRestart of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
    INFO       2007-06-06 12:03:22 [iaxxgenimp.cpp:632]
               showDialog()
    Execute step doChangeTempSetNewSize of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
    INFO       2007-06-06 12:03:39 [iaxxgenimp.cpp:632]
               showDialog()
    Execute step CheckParameters of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0.
    INFO       2007-06-06 12:03:39 [iaxxgenimp.cpp:632]
               showDialog()
    Execute step CreateDirectories of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0.
    INFO       2007-06-06 12:03:40 [iaxxgenimp.cpp:632]
               showDialog()
    Execute step CreateDatabase of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0.
    ERROR      2007-06-06 12:03:40 [iaxxgenimp.cpp:731]
               showDialog()
    FCO-00011  The step CreateDatabase with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0|CreateDatabase was executed with status ERROR .
    ERROR      2007-06-06 12:03:40
               lib=iamodmssql module=CIaNtMssDmo
    MDB-05053  Errors when executing sql command: <p nr="0"/> If this message is displayed as a warning - it can be ignored. If this is an error - call your SAP support.
    INFO       2007-06-06 12:04:04 [iaxxgenimp.cpp:774]
               showDialog()
    An error occured and the user decided to retry the current step: "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0|CreateDatabase".
    ERROR      2007-06-06 12:04:05 [iaxxgenimp.cpp:731]
               showDialog()
    FCO-00011  The step CreateDatabase with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0|CreateDatabase was executed with status ERROR .
    Please let me know if you can help or if there is any other way around.
    Many Thanks in advance.
    Ritin Jain

    Hi All,
    I was not able to solve the problem with MS SQL 2000, but I was able to resolve the issue with MS SQL 2005.
    You have to chhose the following settings while instalation,
    Service Account - Select one of the following options:
    1) Use the built-in System account for each service and choose Local system or Network Service.
    2) Use a domain user account, and enter the user name and password.
    Under Start services at the end of setup make sure that SQL Server and SQL Server Agent are selected.
    Authentication Mode      
    1) Select Mixed Mode (Windows Authentication and SQL Server Authentication).
    This mode is required for a Java or ABAP+Java system.
    If you choose this mode, you have to set the password for the sa login.
    Note: The password for the sa login must comply with the Windows password policy.
    Collation Settings      
    1) Select SQL collations (used for compatibility with previous versions of SQL Server).
    2) From the drop-down list select Binary order based on code point comparison, for use with the 850 (Multilingual) Character Set.
    I hope this helps!

  • PHP5.2.4 with oci8 Compiling issues

    Hi I had installed apache .2.0.54 rpm and installed oracle-instantclient-basic and oracle-instantclient-devel and compliled php-5.2.4 with the follwoing options
    sudo ./configure with-oci8=instantclient,/usr/lib/oracle/10.2.0.3/client/lib/  prefix=/opt/php with-apxs2=/usr/local/apache2/bin/apxs     enable-sigchild --with-config-file-path=/etc/httpd/conf
    Make gives a error
    /usr/bin/ld: skipping incompatible /usr/lib/oracle/10.2.0.3/client/lib//libclntsh.so when searching for -lclntsh
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    make: *** [libphp5.la] Error 1

    Hi Cj
    Thx As you told i followed the steps and Compiling issues is resolved and i had some other issue like oci8 extns was not visible in phpinfo.php and after Trial and error its started working.
    The reason for oci8 not visible is i httpd-devel was not installed , after installing httpd-devel and recompiling with the following options oci8 was enabled.
    ./configure \
    --with-oci8=instantclient,/opt/instantclient_10_2 \
    prefix=/opt/php   with-apxs2=/usr/sbin/apxs \
    enable-sigchild with-config-file-path=/etc/httpd/conf
    Thx for the Help :) :) :)
    Christian Jones
    Karthik

  • Dreamweaver CS6 PhoneGap build with Camera support for Android Device

    I am trying to build a simple app that triggers the camera in my Samsung N7000 device.
    I have built the app using Dreamweaver CS6 using the builting phonegap build support.
    I am using the Windows version of Dreamweaver CS6.
    When the app is built it shows no errors but when the app is installed on the device it does not trigger  the camera.
    I can not seem to get this very basic app to trigger the camera.
    Any suggestions will be very much appreciated.
    //=======================================================================
    Below is the index.html file i have been using.
        <script src="phonegap.js"></script>
        <script type="text/javascript" charset="utf-8">
            // Called when capture operation is finished
            function captureSuccess(mediaFiles) {
                //var i, len;
                //for (i = 0, len = mediaFiles.length; i < len; i += 1) {
                //    //uploadFile(mediaFiles[i]);
                //navigator.notification.alert('Weee', null, 'Great success!');
            // Called if something bad happens.
            function captureError(error) {
                //var msg = 'An error occurred during capture: ' + error.code;
                //navigator.notification.alert(msg, null, 'Uh oh!');
            // A button will call this function
            function captureImage() {
                // Launch device camera application,
                // allowing user to capture up to 2 images
                navigator.device.capture.captureImage(captureSuccess, captureError, { limit: 2 });
            // Upload files to server
            function uploadFile(mediaFile) {
                var ft = new FileTransfer(),
                    path = mediaFile.fullPath,
                    name = mediaFile.name;
                ft.upload(path,
                    "http://my.domain.com/upload.php",
                    function (result) {
                        console.log('Upload success: ' + result.responseCode);
                        console.log(result.bytesSent + ' bytes sent');
                    function (error) {
                        console.log('Error uploading file ' + path + ': ' + error.code);
                    { fileName: name });
        </script>
        <script type="text/javascript" charset="utf-8">
            var pictureSource;   // picture source
            var destinationType; // sets the format of returned value
            // Wait for Cordova to connect with the device
            function onLoad() { document.addEventListener("deviceready", onDeviceReady, false); }
            // Cordova is ready to be used!
            function onDeviceReady() {
                pictureSource = navigator.camera.PictureSourceType;
                destinationType = navigator.camera.DestinationType;
                alert("device is ready");
            // Called when a photo is successfully retrieved
            function onPhotoDataSuccess(imageData) {
                // Uncomment to view the base64 encoded image data
                // console.log(imageData);
                // Get image handle
                var smallImage = document.getElementById('smallImage');
                // Unhide image elements
                smallImage.style.display = 'block';
                // Show the captured photo
                // The inline CSS rules are used to resize the image
                smallImage.src = "data:image/jpeg;base64," + imageData;
            // Called when a photo is successfully retrieved
            function onPhotoURISuccess(imageURI) {
                // Uncomment to view the image file URI
                // console.log(imageURI);
                // Get image handle
                var largeImage = document.getElementById('largeImage');
                // Unhide image elements
                largeImage.style.display = 'block';
                // Show the captured photo
                // The inline CSS rules are used to resize the image
                largeImage.src = imageURI;
            // A button will call this function
            function capturePhoto() {
                // Take picture using device camera and retrieve image as base64-encoded string
                navigator.camera.getPicture(onPhotoDataSuccess, onFail, {
                    quality: 50,
                    destinationType: destinationType.DATA_URL
            // A button will call this function
            function capturePhotoEdit() {
                // Take picture using device camera, allow edit, and retrieve image as base64-encoded string 
                navigator.camera.getPicture(onPhotoDataSuccess, onFail, {
                    quality: 20, allowEdit: true,
                    destinationType: destinationType.DATA_URL
            // A button will call this function
            function getPhoto(source) {
                // Retrieve image file location from specified source
                navigator.camera.getPicture(onPhotoURISuccess, onFail, {
                    quality: 50,
                    destinationType: destinationType.FILE_URI,
                    sourceType: source
            // Called if something bad happens.
            function onFail(message) {
                alert('Failed because: ' + message);
        </script>
    </head>
    <body onLoad="onLoad()">
        <button onclick="capturePhoto();">Capture Photo</button> <br><br>
        <button onclick="capturePhotoEdit();">Capture Editable Photo</button> <br><br>
        <button onclick="getPhoto(pictureSource.PHOTOLIBRARY);">From Photo Library</button><br><br>
        <button onclick="getPhoto(pictureSource.SAVEDPHOTOALBUM);">From Photo Album</button><br><br>
        <img style="display:none;width:60px;height:60px;" id="smallImage" src="" />
        <img style="display:none;" id="largeImage" src="" />
        <br><button onclick="captureImage();">Capture Image</button> <br>
    //=======================================================================================
    Below is the config.xml file i am using
    <?xml version="1.0" encoding="UTF-8" ?>
        <widget xmlns   = "http://www.w3.org/ns/widgets"
            xmlns:gap   = "http://phonegap.com/ns/1.0"
            id          = "com.phonegap.camera_test"
            versionCode = "11"
            version     = "1.1.0" >
    <name>bla</name>
    <description>
        bla
    </description>
    <author href="http://bla.github.com"
        email="[email protected]">
        bla
    </author>
    <icon src="icon.png" gap:role="default" />
    <feature name="http://api.phonegap.com/1.0/geolocation"/>
    <feature name="http://api.phonegap.com/1.0/network"/>
      <feature name="http://api.phonegap.com/1.0/file"/>
      <feature name="http://api.phonegap.com/1.0/camera"/>
      <feature name="http://api.phonegap.com/1.0/media"/>
      <feature name="http://api.phonegap.com/1.0/device"/>
      <feature name="http://api.phonegap.com/1.0/notification"/>
      <feature name="http://api.phonegap.com/1.0/battery"/>
    <preference name="orientation" value="portrait" />
    <preference name="webviewbounce" value="false" />
    <preference name="prerendered-icon" value="true" />
      <preference name="phonegap-version" value="3.1.0" />
      <preference name="fullscreen" value="false" />
      <preference name="stay-in-webview" value="false" />
      <preference name="ios-statusbarstyle" value="default" />
      <preference name="android-minSdkVersion" value="7" />
      <preference name="android-installLocation" value="internalOnly" />
      <preference name="target-device" value="universal" />
      <preference name="autohide-splashscreen" value="true" />
      <preference name="load-url-timeout" value="60000" />
      <preference name="show-splashscreen-spinner" value="true" />
      <preference name="show-splash-screen-spinner" value="true" />
      <preference name="allow-inline-media-playback" value="false" />
      <preference name="launch-mode" value="standard" />
      <plugin name="Capture" value="CDVCapture" />
      <plugin name="Camera" value="CDVCamera" />
    </widget>
    //=======================================================================================

    This forum is actually about the Cloud, not about using individual programs
    Once your program downloads and installs with no errors, you need the program forum
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll
    http://forums.adobe.com/community/dreamweaver

  • Cleaning wonky PHP installation

    Hi!
    i seem to have a problem with the PHP installation on my MacMini server running Tiger 10.4.11... I bought the mini about two years ago, and it came with the then standard php 4.4.9 within Apache 1.3.41. Some time after than I "upgraded" php to a 5.2.2 from entropy, but then I might have been careless and didn't properly uninstall the former version -- assumed it would be simply replaced...
    Now, I've got these two parallel versions, and I get the feeling there might be some conflicts in what libraries are loaded. I've got a PHP script running flawlessly on a MacBook running Leopard 10.5.6 with php 5.2.6 and Apache 2.2.9. When I try to run it on the MacMini server, some things simply stop working, like e.g.:
    - $argc and $argv are not set for scripts called within apache (registerargcargv is enabled in php.ini, and $_SERVER[ "argc" ] and $_SERVER[ "argv" ] are set, but on the MacBook both variables are set "autonomously")
    - the regex expression "(*ANYCRLF)" (match any kind of newline character in a regex) isn't recognized, for a regex like /(*ANYCRLF)[\\r\\n]/ (needed to clean files that may contain mixes of CR, LF and CRLF) I get an error:
    preg_replace(): Compilation failed: nothing to repeat at offset 1 in ....
    I assume these have not been changed between php 5.2.2 and 5.2.6, so I can only assume there's another incompatibility somewhere.
    I know the "right" (= 5.2.2) version of php is used by the Apache server -- phpinfo() reports the right configuration, and file +entropy-php.conf is included by httpd.conf and sets the right php5 module (/usr/local/php5/libphp5.so). Besides, I've tried to "clean" the installation by replacing the former php paths with links to the newer php installation directory (/usr/local/php5/), i.e.
    /usr/bin/php -> /usr/local/php5/bin/php
    /usr/include/php/ -> /usr/local/php5/include/php/
    /usr/lib/php/ -> /usr/local/php5/lib/php/
    although of course these shouldn't be needed at all. And still it doesn't work...
    Does anyone have any idea what else I have to change in order for PHP to work properly? Or am I mistaken in thinking it's a conflict?
    Can I actually run php5 in an Apache 1 server, or do I also have to update to Apache 2?
    Would it be muuuuuuuuch easier to simply upgrade my server to Leopard, which includes newer versions of Apache and php as standards?
    Any help greatly appreciated! Thx in advance!
    David

    Maybe posting in the Mac OS X Server forum area would help:
    http://discussions.apple.com/category.jspa?categoryID=96
    in as much as this is Tiger > Installation & Setup

  • Oracle 10g R2 installation with ASM+RAC

    Gurus,
    Need some suggestuon on Oracle 10g R2 installation with ASM and RAC option.
    We have found many documents on the Oracle, HP, HP-Oracle CTC and third party web sites, but nothing that is specific to this particular combination of separate
    ORACLE_HOMEs, ASM and 10g RAC CRS. It is unclear for me from the documentation how this combination of ASM and 10.2g RAC may best be installed.
    The high level steps i got after reading lot of docs as follows - but i am not sure whether these are correct or not. if they are correct, can any one share their experience/notes please?
    1) Install CRS
    2) Install RDBMS for ASM HOME - create separater oracle home for ASM instance using OUI
    3) Install RDBMS for RAC Database Home - create separater oracle home for RAC database using OUI
    4) Create ASM database using DBCA -
    5) Use dbca to create database.

    Oracle provides 'paint by numbers' tutorials called 'Oracle By Example'. (Go to OTN, check under the Training tab)
    They have one for a Windows based ASM/RAC that you might want to review. Not your specific environment, but the steps will be dag-nabbed close.
    I recommend walking the path (http://otn.oracle.com >> training:OBE >> Database 10g Release 1:VMWare:Installation
    http://www.oracle.com/technology/obe/obe10gdb_vmware/install/racinstallwin2k/racinstallwin2k.htm

Maybe you are looking for

  • Vendor Balance Report Day wise based on Posting date

    Hi Guru's, I am creating vendor balance reprot day wise based on posting date . In my report i want to show  TDS(With hold tax ) amount where can i get that field name how can retrive the data using bsik and bsak . I Donot want to display reversal do

  • Drag and Drop in List

    Hi All, Am using List control to display the data and also the itemRenderer .I set the attributes, DragEnabled,DropEnabled,DragMoveEnabled to true and also have the Trash icon to remove the Items from the list. In the ItemRenderer am displaying the d

  • How to upload Master Catalog Schema in Catalog Content Management SRM

    Hi All, Please provide the solution as we are in real trouble. We have to delete master catalog and upload it again. Deletion is done because the mapping and all are being corrupted. SAP has suggested to delete the catalog and again upload it and do

  • Editing, then closing, automatically saves. No option to "not save?"

    (iPhoto 6.0.4) Is this a default feature? When I open a photo and do any editing, then double click it to reduce it to thumbnail size, iPhoto automatically saves what I did. Isn't there an option somewhere to tell it to just close but not save, or to

  • Ramping an exposure correction, PPro cs6

    I've got edit lock on an hour long class, so I'm into color correction now. And of course I've found a weird problem. For context, the footage comes from two cameras; it's the "wide" view in the back of the room is what's bugging me, because this cam