Oracle 8i + Apache 1.3.9 + PHP 3.0.14

I have installed oracle 8.1.5 with patch 2 on my redhat 6.1, it seems to work fine ( sqlplus svrmgrl, etc. ). So I recompiled my PHP 3.0.14 to use OCI8. But something must be wrong. When I restarted Apache to load php module, it died immediately. In redhat 6.1, nothing output in error.log, and in mandrake 7.0, it said that "caught SIGTERM". I don't know why, then I had to restart the computer, it worked, but could not use oci functions to connect dbserver ( error code -12545 ). And when I restarted httpd, the same error as above happened. Does anybody encounter this error? Who can help me?

I've been able to get Apache_1.3.(9|11|12)+PHP-(3.0.1[45]|4.0b4pl1)+Oracle-8.1.5.0.2 to work (OCI8 API calls) but with much difficulty.
Compiling was pretty straightforward. I used APXS to load the PHP module. However, when I start Apache with the PHP modules loaded and added, Apache would die (no hints, etc.) What I did was start Apache without PHP loaded, reconfigure in PHP once Apache started and THEN restart apache. This works for me. Kinda tedious, though. And the time when Apache is running without support for PHP would allow anyone to see my PHP code with my database password.
(Incidentally, how should I configure Apache so it doesn't serve files which end in .php[3] unless it was through the PHP module?)
I've emailed the Apache OCI8 module developers about it (Stig and Thies) so I hope it'll be resolved soon.

Similar Messages

  • I use Apache in Oracle 9i DB. I keep php in C:\oracle\ora92\Apache\Apache\h

    I use Apache in Oracle 9i DB. I keep php in C:\oracle\ora92\Apache\Apache\htdocs. Why I can't run php. I must use driver, doesn't me?.
    Thank you!
    Sorry, I'm not well in English.

    Have you installed the php program into Oracle's Apache?
    There are some notes on this at:
    http://otn.oracle.com/products/ias/ohs/htdocs/php_instructions_for_ohs.htm
    What error are you getting?
    -- CJ

  • How to install Apache Web Server with PHP on Sun Solaris Sparc machine

    Hi,
    We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
    Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
    Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
    Thanks,
    Harish

    Apache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
    php is available at www.php.net
    I found an old document for installing PHP maybe this will help.
    Cheers
    -Dhruva
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
    Introduction
    This document describes how to install PHP for Apache on Solaris.
    You should have Apache installed before trying to install PHP.
    If you want to use PHP with MySQL then you must install MySQL first.
    Before we Begin
    1. These instructions assume that you have Apache installed according to instructions.
    Getting PHP
    1. You must be logged in as root to perform this installation.
    su root
    2. I save all my downloads in:
    /usr/local/dist
    If you don't already have one, you may need to create that directory now:
    mkdir /usr/local/dist
    3. You can get PHP 3.0.14 from here(www.php.net).
    cd /usr/local/dist
    ftp ftp.php.net
    cd pub/distributions
    bin
    get php-3.0.14.tar.gz
    bye
    Installing PHP
    1. We will install PHP in /usr/local/build, but use a tricky tar command
    to do it in on hit from the download directory:
    cd /usr/local/dist
    tar xvfz php-3.0.12.tar.gz -C ../build
    Compiling PHP
    1. First let's get where the action is:
    cd /usr/local/build/php-3.0.14
    2. You now have 3 options:
    * Simple PHP install without MySQL - goto step 3
    * Simple PHP install with MySQL - goto step 4
    * Custom PHP install - goto step 5
    3. Simple PHP install without MySQL. Next, jump to step 6.
    ./configure --with-apache=../apache_1.3.12
    4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
    should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
    should look like this:
    ./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
    Next, jump to step 6.
    5. Custom PHP install. Take a look at the available configuration directives by using this command:
    ./configure --help
    6. Now we can make the PHP executable. This may take a while.
    make
    7. Now we install the PHP module with:
    make install
    Adding the PHP Module to Apache
    1. Now we have to setup Apache to include the PHP module:
    cd ../apache_1.3.12
    2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
    You can see your previous Apache configure command by doing:
    cat config.status
    You can configure Apache using the previous command with the added PHP module by doing:
    ./config.status --activate-module=src/modules/php3/libphp3.a
    If you used the simple Apache install from instructions the command will look like this:
    ./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
    3. Make and install Apache with PHP enabled:
    make
    4. We need to stop the server before installing the files:
    /usr/local/apache/bin/apachectl stop
    5. Now we can install the new binaries:
    make install
    6. Start apache again (now running the new php enabled version):
    /usr/local/apache/bin/apachectl start
    Setting Up PHP
    1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
    cd /usr/local/apache/conf
    2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
    AddType application/x-httpd-php3 .phtml
    Check that it Works
    1. We have to restart Apache to make these changes take effect on the running server.
    cd /usr/local/apache/bin
    ./apachectl restart
    2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
    ./apachectl status
    Apache Server Status for dev.synop.com
    Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
    Server Built: Oct 25 1999 00:37:07
    3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
    following text:
    <?php phpinfo(); ?>
    4. Point your browser at this file on the virtual host which you used:
    http://localhost/test.php3

  • For David Powers - Apache 2.2 and php 5.2. Virtual hosts

    Hi David,
    I have updated to the latest Apache and PHP
    Apache 2.2 and php 5.2. Must easier instal,
    But now I'm setting up Virtual hosts to make it easier to use
    php
    includes and DW templates.
    I have followed instructions on page 86 of above book, but I
    can't
    find the section NameVirtual Host on Apache's httpd.conf and
    it is
    much shorter than 950 lines.
    Malcolm N_
    ~Malcolm N....
    ~

    On Sun, 21 Jan 2007 11:49:47 -0000, "Dave Buchholz"
    <[email protected]> wrote:
    >Malcolm,
    >
    >a different David I know but you will find an updated
    tutorial on the "real"
    >David's site here
    http://foundationphp.com/tutorials/apache22_vhosts.php
    Many thanks David - I had found his revised tutorial on
    installing
    Apache - but I must have missed the bit on virtual hosts.
    That's great - I've not got all my sites working as virtual
    hosts (:-)
    Now to play with relative links / links to php include files
    in
    templates. !!!
    I'm going to try to get headers, footers and nav panels etc
    out of the
    main template(s), and do what Murray has been nagging
    everyone to do
    for ages.....
    I wasn't getting on well with that with before !! - standby
    for more
    questions.
    I had to read two of David's excellent books about three
    times - eh !.
    Malcolm
    ~Malcolm N....
    ~

  • Apache 2.0 and PHP 5

    Hello,
    I have a Customer who wants to develop an application with IAS 9.0.4. There should be an Integration of PHP 5 as Apache module mod_php (using the following PEAR packages)
    - DB
    - DB_LDAP
    - Auth
    - Config
    - File
    - Log
    - XML_Serializer
    and additional Apache modules mod_ssl and mod_dav should also be used.
    Has somebody done something similar.
    I know that this is not official supported, but I just wan t to know if there are technical traps or bugs which could be show stopper.
    thanks in advance for your help
    Martin

    Recent traffic on php.internals makes me think the note in
    http://www.php.net/manual/en/install.apache2.php
    "Do not use Apache 2.0 and PHP in a production environment
    neither on Unix nor on Windows." is still valid.
    -- CJ

  • Apache doen't load php module

    I've tried to get php running on the apache server on leopard. I've modified the httpd.conf to load the php5 module (removed the #) but when i open a php file, the screen is blank, and the source shows the php code.
    I tried to stop and restart the webserver but it didn't help
    Does anyone know what the problem could be? It could be the httpd.conf file, does anyone have a working version of this file? Thanks.

    I solved the problem,
    Apache did load the php module, it just didn't see that the files were php. There was a problem with the extensions. The original phpinfo file was saved as .rtf and then changed to .php. Apparently apache didn't recognize the file as php.
    I made a new file and saved it as .php from the beginning. Problem solved.

  • Compiling Apache 1.3.9 & PHP 3.0.12 to use Oracle 8.1.5 on SuSe 6.2

    Hi!
    I am trying to compile the above packets but am running into massive problems.
    PHP3 compiles well, if i try to use the "normal" static module for Apache, but the Apache configure script says that it needs an ANSI C compiler and stops.
    I am using GCC 2.7.2.3 with the bugfixes from SuSe.
    Since that did not work I tried the configuration as a Dynamic Module. The Apache "Readme.config" explains two ways to do so, but the first has the same problem with GCC and the second (via APXS) compiles Apache without problems, but PHP3 wont compile since it does not find a library. The exact error is: "/usr/i486-linux/bin/ld: cannot open -lclntsh: No such file or directory"
    I found a libclntsh.so.8.0 in the oracle/lib directory, but since i fumbled around with this library (i tried ln -s libclntsh.so.8.0 libclntsh.so) sqlplus says libclntsh.so.8.0: cannot find file data: no such file or directory (even now that the link is deleted again).
    And PHP still wont compile. Any ideas would be welcome.
    P.S.: Is it normal that Oracle has to be told NOT to create a database during install, TO create a database???
    We worked for 3 days on the Oracle installation and that was the only way to install Oracle without errors.
    thx
    Uwe Schurig

    Lee Bennett (guest) wrote:
    :Hi
    :I have successfully installed Oracle 8.1.5 Enterprise edition
    on
    :Suse 6.2 and applied the 8.1.5.0.1 patch set,
    NO!
    SuSe 6.2 have a patch file for Oracle made from their developers.
    Never use Oracle 8.1.5.0.1 patch file that doesn't work because
    us bugged.
    Use SuSe 6.2 Oracle patch set.
    (don't remember the web page where you can download it but a
    search with word "oracle" from SuSe homepage will lead you to
    it)
    -Stefano
    null

  • Oracle Database 10.2.0.1 + Apache 2.0.59 + PHP 5.2.0

    Hi all.
    Where can i find the changePerm.sh script for Oracle Database 10.2.0.1?
    I get the error:
    Warning: ocilogon() [function.ocilogon]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORACLE_HOME is set and points to the right directory in /usr/local/apache/htdocs/oci8test.php on line 3
    Help me, please!
    Giovanni D'Ascola

    in Apache dir write short file: something.php
    <? phpinfo() ?>
    and access it via browser to see if there is oci defined.
    BTW. when you start apache you should se oracle (oci) variables to get access :-)

  • Linux CentOS 4.4 + Oracle Database 10.2.0.1 + Apache 2.0.59 + PHP 5.2.0

    Hi.
    I get this error:
    Warning: ocilogon() [function.ocilogon]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORACLE_HOME is set and points to the right directory in /usr/local/apache/htdocs/oci8test.php on line 3
    Can you help me?

    Marcello, i've already read that documentation:
    "[...] Note: If you are using Oracle 10.2 but not the Express Edition, you must give the "nobody" user access to the Oracle directory. With Oracle 10.2.0.2 there is a script $ORACLE_HOME/install/changePerm.sh to do this."
    With Oracle 10.2.0.2... but with 10.2.0.1?
    I made "nobody" user member of the "oinstall" group (bad idea, i know), but still it doesn't works...

  • DB Connection Problem: Redhat 4.1-Oracle 10.2-Apache 2.0.54-PHP 5.0.4

    Hi I have all the above running on a single Redhat server
    Apache starts fine
    PHP config page shows fine on Apache with OCI module loaded
    sqlplus scott/tiger@tnsentry> connects fine
    sqlplus scott/tiger@//<ip>/<service> connects fine
    ... but PHP will just not connect to the db
    I've tried
    oci_connect("scott","tiger","<service>")
    OCILogin("scott","tiger","<service>")
    OCILogin("scott","tiger","//<ip>:<port>/<service>")
    OCILogin("scott","tiger","(CONNECTION=(....))")
    and all I can ever get are ORA-12154 and ORA-12514 errors
    eg the following line....
    if ($c=OCILogon("scott","tiger", "//<ip>:<port>/<service>")) { echo "Successfully connected to Oracle.\n"; oci_close($c); } else { echo "Oracle Connect Error "; print_r(oci_error()); }
    gives me....
    Oracle Connect Error Array ( => 12514 [message] => Error while trying to retrieve text for error ORA-12514 [offset] => 0 [sqltext] => )
    I've set ORACLE_HOME and ORACLE_SID prior to starting apache
    I've tried putenv("ORACLE_HOME=<oracle home path>") in PHP prior to OCILogon
    but nothing seems to work and I'm tearing my hair out
    One thing to note is that "root" owns apache and "oracle"owns the oracle software so not sure whether this might be a problem and whether it's recommended not to do this?
    If anyone can help me with this I would really be grateful - thanks very much in advance!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi there MartynC
    Just wanted to let you know that I screwed up - as usual, the simplest of errors.... I created a script around apachectl to start apache and prior to the apachectl start line I inserted
    ORACLE_HOME=<my oracle home>; export ORACLE_HOME
    ...only I mistyped <my oracle home> so apache wasn't finding it
    I've corrected that, restarted Apache and now PHP, Apache and Oracle are working fine!
    Thanks very much for your offer of help (the only consolation I can take is that possibly this will someone reading this will take note and double check the dumb stuff and save themselves a lot of time and heartache)
    Also I should note for anyone interested that my Linux installation is actually Centos 4.1 (a Redhat "clone")

  • Need help regarding Apache httpd.conf and PHP setup.

    Hi,
    I am facing problem setting up my PHP and apache setup. I have installed Apache2.2 Root path = C:\Program Files\Apache Software Foundation\Apache2.2
    I have also installed PHP in my C:\PHP drive earlier. I moved this PHP folder to C:\Program Files\Apache Software Foundation\Apache2.2 just to keep all things at one place.
    I have copied php5ts.dll at 4 locations - C:\Program Files\Apache Group\Apache2 \bin , %SYSTEMROOT%\System32, %SYSTEMROOT%\system and %SYSTEMROOT%. I have also added these paths in Environment variable 'PATH'.
    In httpd.conf file entries are as follows:
    ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
    I have added these 3 lines as
    LoadModule php5_module php/php5apache2.dll
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
    When restarting apache http server I get message as:
    httpd.exe error ...... cannot load C:\Program Files\Apache Software Foundation\Apache2.2\php\php5ts.dll into the server. The specified module could not be found.
    I have checked that php5ts.dll DLL exist at above path. Please help me out urgently.

    Sorry I don't have Windows available to check the paths. With recent versions
    of PHP I never copied files out of the php source directory.
    Make sure the Oracle 10g Instant Client is in your PATH environment variable.
    You could try using the PHP Windows MSI installer.
    cj

  • Apple's Apache 2.0.54, PHP 5.0.4 and MySQL 5.0.18

    Hello
    Using OSX Server 10.4.4.
    I'm considering using Apple's /opt Apache 2.0.54 with the builds of PHP 5.0.4 and MySQL 5.0.18. Has anyone any experience with this combination and any warnings / advice?
    MySQL 5.0.18 is an installer straight from MySQL and PHP 5.0.4 installer is straight from Marc Liyanage's entropy site.
    Thanks in advance...
    David.
    XServe G5   Mac OS X (10.4.4)  

    Hi there MartynC
    Just wanted to let you know that I screwed up - as usual, the simplest of errors.... I created a script around apachectl to start apache and prior to the apachectl start line I inserted
    ORACLE_HOME=<my oracle home>; export ORACLE_HOME
    ...only I mistyped <my oracle home> so apache wasn't finding it
    I've corrected that, restarted Apache and now PHP, Apache and Oracle are working fine!
    Thanks very much for your offer of help (the only consolation I can take is that possibly this will someone reading this will take note and double check the dumb stuff and save themselves a lot of time and heartache)
    Also I should note for anyone interested that my Linux installation is actually Centos 4.1 (a Redhat "clone")

  • OracleAS + ColdFusion + Apache vhosts = ???

    I have ColdFusion deployed as a J2EE app under OracleAS. ColdFusion's "context root" is /cfusion. I have an app deployed within ColdFusion, residing at /cfusion/myapp/ on the filesystem. Oracle HTTP Server (Apache) is set up with a virtual host for the ColdFusion app. The DocumentRoot in this vhost is specified as <path-prefix>/cfusion/myapp. One would expect that (1) visiting the vhost using the URL given by its ServerName would result in the index.cfm page under the myapp/ directory on the filesystem and that (2) visiting the same URL and appending /cfusion/myapp would be an erroneous request in that it would specify a non-existent directory /cfusion/myapp/ under the DocumentRoot (which already contains /cfusion/myapp -- the request would be like <URL-prefix>/cfusion/myapp/cfusion/myapp/).
    However, the former request (1) results in the proper page, but it does not get interpreted by ColdFusion (CfmServlet.jar) and the latter request (2) delivers the page, interpreted as expected.
    What's going on? What should I be doing to track this down? I want to serve the ColdFusion app using the shorter URL and I want to understand where these problems are coming from. I don't know whether this is an Oracle AS or a ColdFusion issue!
    Thanks.

    Nevermind I am a idiot I just found a solution in this thread a few lines down.
    http://bbs.archlinux.org/viewtopic.php?id=69105
    sorry

  • Compiling Apache 2.2 and php 5.2 from source on Arch

    Hi there
    Wanting to compile Apache 2 with PHP 5 on my Arch server. I figure this must be frequently done by people out there wanting more control over how their servers are setup, and was wondering if anyone had some good documentation for this? If none exists I'm keen to work on putting it up on the Arch Wiki.
    I've compiled apache httpd-2.2.16 from source already, and have it running nicely.
    Apache compile options were:
    ./configure --prefix=/usr/local/apache \
    --enable-rewrite --enable-ssl --enable-so \
    --enable-mime-magic --enable-suexec \
    --enable-static-rotatelogs \
    --disable-imap --disable-userdir --enable-cgi \
    --disable-dav \
    --disable-proxy-connect --disable-proxy-ftp --disable-proxy-http --disable-proxy \
    --disable-authnz-ldap
    $ /usr/local/apache/bin/httpd -Vvv
    Server version: Apache/2.2.16 (Unix)
    Server built: Sep 6 2010 06:10:41
    Server's Module Magic Number: 20051115:24
    Server loaded: APR 1.4.2, APR-Util 1.3.9
    Compiled using: APR 1.4.2, APR-Util 1.3.9
    Architecture: 32-bit
    Server MPM: Prefork
    threaded: no
    forked: yes (variable process count)
    Server compiled with....
    -D APACHE_MPM_DIR="server/mpm/prefork"
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
    -D APR_USE_SYSVSEM_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D DYNAMIC_MODULE_LIMIT=128
    -D HTTPD_ROOT="/usr/local/apache"
    -D SUEXEC_BIN="/usr/local/apache/bin/suexec"
    -D DEFAULT_PIDLOG="logs/httpd.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_LOCKFILE="logs/accept.lock"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="conf/mime.types"
    -D SERVER_CONFIG_FILE="conf/httpd.conf"
    Now installing PHP from source is proving to not work out so easily.
    root@server: ~/source-programs/apache/httpd-2.2.16/php-5.2.14
    $ ./configure with-apxs2=/usr/local/apache/bin/apxs --prefix=/usr/local/apache/php
    configure: warning: with-apxs2=/usr/local/apache/bin/apxs: invalid host type
    loading cache ./config.cache
    checking for Cygwin environment... (cached) no
    checking for mingw32 environment... (cached) no
    checking for egrep... (cached) grep -E
    checking for a sed that does not truncate output... (cached) /bin/sed
    checking host system type... with-apxs2=/usr/local/apache/bin/apxs
    checking target system type... with-apxs2=/usr/local/apache/bin/apxs
    checking for gcc... (cached) gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking how to run the C preprocessor... (cached) gcc -E
    checking for icc... no
    checking for suncc... no
    checking whether gcc and cc understand -c and -o together... (cached) yes
    checking how to run the C preprocessor... gcc -E
    checking for AIX... no
    checking whether ln -s works... (cached) yes
    checking for system library directory... lib
    checking whether to enable runpaths... yes
    checking if compiler supports -R... (cached) no
    checking if compiler supports -Wl,-rpath,... (cached) yes
    checking for gawk... (cached) gawk
    checking for bison... (cached) bison -y
    checking for bison version... (cached) invalid
    configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none).
    checking for flex... (cached) flex
    checking for yywrap in -lfl... (cached) yes
    checking lex output file root... (cached) lex.yy
    checking whether yytext is a pointer... (cached) yes
    checking for working const... (cached) yes
    checking for flex version... (cached) invalid
    configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4 (found: )
    checking for re2c... no
    configure: warning: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking whether to force non-PIC code in shared modules... no
    checking whether /dev/urandom exists... yes
    checking for pthreads_cflags... (cached) -pthread
    checking for pthreads_lib... (cached)
    Configuring SAPI modules
    checking for AOLserver support... no
    checking for Apache 1.x module support via DSO through APXS... no
    checking for Apache 1.x module support... no
    checking whether to enable Apache charset compatibility option... no
    checking for Apache 2.0 filter-module support via DSO through APXS... no
    checking for Apache 2.0 handler-module support via DSO through APXS... no
    checking for Apache 1.x (hooks) module support via DSO through APXS... no
    checking for Apache 1.x (hooks) module support... no
    checking whether to enable Apache charset compatibility option... no
    I end up with the PHP bin files, but just can't get the module to compile.
    $ /usr/local/apache/php/bin/php -v     
    PHP 5.2.14 (cli) (built: Sep  6 2010 05:37:45)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    Have tried to make Apache execute php bin via CGI without any luck, but I think I'd rather work on compiling PHP into a module properly.
    Any help or pointers in the right direction would be greatly appreciated.
    Thanks
    Last edited by craig_nz (2010-09-08 08:07:13)

    Thanks for this!
    Using:
    ./configure \
    --with-apxs2=/usr/local/apache/bin/apxs \
    --prefix=/usr/local/apache/php \
    --disable-cgi
    --enable-so \
    --enable-rewrite \
    make
    libtool --finish /root/source-programs/apache/httpd-2.2.16/php-5.2.14/libs
    In /usr/local/apache/modules I get:
    libphp5.a  libphp5.la
    No libphp5.so yet but closer.. Also looking at how I can use ABS just to compile php.

  • PHP4 + Oracle 9i Apache Server

    Hy
    i got a problem compiling php4 with the apxs under
    $ORACLE_HOME/product/Ora9i/Apache/Apache/bin/apxs
    the error message is :
    checking for Apache module support via DSO through APXS...
    Can't locate strict.pm in @INC (@INC contains: /project4/iAS1021/src/pdc_perl/bin/Linux/Opt/lib/5.00503/i686-linux /project4/iAS1021
    /src/pdc_perl/bin/Linux/Opt/lib/5.00503 /project4/iAS1021/src/pdc_perl/bin/Linux/Opt/lib/site_perl/5.005/i686-linux /project4/iAS102
    1/src/pdc_perl/bin/Linux/Opt/lib/site_perl/5.005 .) at /app/oracle/product/Ora9i/Apache/Apache/bin/apxs line 64.
    BEGIN failed--compilation aborted at /app/oracle/product/Ora9i/Apache/Apache/bin/apxs line 64.
    Sorry, I was not able to successfully run APXS. Possible reasons:
    1. Perl is not installed;
    2. Apache was not compiled with DSO support (--enable-module=so);
    3. 'apxs' is not in your path.
    anybody knows about this strict.pm script ?
    thanks

    It should be relatively straight forward.
    If you have WAR files which you've deployed to Tomcat, then you should pretty much be able to deploy them as is to OracleAS using the application server control management console.
    The mgt console has support for WAR file deployment.
    In the documentation, the User's Guide is a good book to read to get up to speed.
    http://download-west.oracle.com/docs/cd/B10464_02/web.htm
    If you have just a collection of JSPs as your application, then I'd recommend you put them into a WAR file archive, and then deploy that.
    cheers
    -steve-

Maybe you are looking for

  • Problems with CLDC

    Hey all, I'm having some problems connecting to a simple Bluetooth device. I want to create a Java application that allows a computer to connect to a generic bluetooth device (at this current point and time my cellphone). I'm having problems using th

  • ITunes folder bigger then what is in itunes.

    i Recently noticed that the TVS shows folder on my computer is saying that it's 130GB (which is probably would be I have a lot) but when I check it on iTunes cause I have it all there it's only 55Gb on iTunes.  theres no duplicates either and no hidd

  • Oracle environment variable setting for mulit instances

    Dear experts, I am doing CRM_ABAP, CRM_JAVA,ERP installation based on Oracle in a laptop for SAP Best Practise. The CRM_ABAP installation have done, and start to install CRM_JAVA named CRJ. In CRM_ABAP installation, I set Oracle environment variable

  • VIP's not starting after Clusterware upg from 10.2.0.1 to 10.2.0.4, AIX

    Hello: After Clusterware upgrade, VIP's are not starting, with following error: env ORACLE_CONFIG_HOME=/oracrs/crs/or.4/app /oracrs/crs/oracle/product/10.2.0.4/app/bin/racgeut -e USRORA_DEBUG=1 54 /oracrs/crs/oracle/product/10.2.0.4/app/bin/racgvip s

  • BDC Failing abruptly

    Hi Guys i am doing a BDC to change a sales order.i am using this BDC in a Sales Order Change BAPI.the BDC works fine with the material number '1000000002' in the material field as shown below. but when i try passing the same material number in the FM