Installing PHP on iAS 9.0.2?

Tried configuring PHP (v. 4.3.2) on Apache bundled w. iAS 9.0.2 following standard config-info on php.net. Restarting the http-server in OEM returns an EMSDKException error. After that the entire iAS fails to respond.
Anyone got any pointers on how to do this? I understand Oracle does not support php, but it was possible to set it up on previous versions of iAS/Apache, what has changed?
Regards,
Haakon
[email protected]

There is a new "Open Source" section here @ OTN. Take
a look at:
http://otn.oracle.com/tech/opensource/content.html
Also look at these:
http://otn.oracle.com/tech/opensource/php/apache/inst_php_apache_linux.html
http://otn.oracle.com/tech/opensource/php_faq.html

Similar Messages

  • Failed to install php-oci8 with instant Client for linux 64

    Hello,
    I have a 64-bits Linux box with RHEL4, and PHP version has been upgraded from 4.3.9 to 5.1.6. I try to make the connection to remote oracle server.
    I download instantclient-basic-linuxppc-10.2.0.2-20060327.zip , and follow the instruction to
    install it.
    But when i try to install php-oci8*.rpm, no matter which i use:
    php-oci8-5.1.6-1.el5.i386.rpm or php-oci8-4.3.9-2.2.el4.i386.rpm
    The installation always failed due to dependencies errors with oracle instant client.
    I also tried with some other packages like: php-oci8-4.3.9-3.el4.x86_64.rpm
    All my tries gave me dependency errors.
    sometime like:
    error: Failed dependencies:
    libclntsh.so.10.1 is needed by php-oci8-5.1.6-1.el5.i386
    oracle-instantclient = 10.2.0.3 is needed by
    php-oci8-5.1.6-1.el5.i386And I cannt find the right RPM for oracle instant client for linux 64 bits box, and php-oci8 5.1.6 64 bits.
    I have been trying on this problem for more than one week, and so frustrated. I will appreciate if I can be guide on this issue.
    Thanks in advance!

    See my followup to your duplicate post in the PHP forum

  • How do i install php on my mac pro os x lion

    I want to install php on my macbook pro that currently runs os x lion.

    It is built-in to every web browser.   Look in your browser preference to make sure it is turned on, and make sure you are using the most current version of the browser.   Mind you some scripts depend on Microsoft's ActiveX, which is not supported by Mac OS X.  For those, see this tip:
    https://discussions.apple.com/docs/DOC-2741

  • How do I install php GD libray on Leopard 10.5.8?

    How do I install php GD libray on Leopard 10.5.8?
    I know there are a bunch of places on the internet that will help but they probably just want to open the door to attack my server. I don't want that - I want to command line it into Terminal myself.
    A related question: Why is the GD library not installed to begin with? It's an incredible tool but now people in my field are being LURED into installing GD libraries from 3rd parties into their command-line (from seemingly "friendly" coding forums they find on google). They think "I've done command-line maybe 5-10 times in my life - I can handle this." so they do it - but it's not their fault - they're just trying to get their job done. How does Apple feel about their servers being hijacked like this?
    Sorry for the double-post but I called my OS "tiger" in the title.

    I tried the malisphoto.com solution it but it didn't work for me.
    I even tried the one at entropy.com but that also didn't work.
    I was very careful and successful in the command line (bash) and afterwards, phpInfo() showed that the GD library was installed, however, my localhost GD (gif draw) scripts still kept showing the same old error messages on my localhost (and not online): "Fatal error: Call to undefined function imagecreatefromgif()"
    Perhaps I'm just wrong to think PHP GD will work on my localhost pages after performing these installations - perhaps I'm misunderstanding something? Am I'm trying to change a light-bulb with a jack-hammer?
    I should also point out that both solutions made my localhost run extremely slow. After restoring my system, it's all working fine (but without php GD).
    My system is a Power Mac 10.5.8 Leopard
    This is really lame. Is Apple trying to shut out PHP now? Is PHP the new "Flash"?

  • Trying to install php 5 broke my webserver

    I wanted to use the image creating GD2 capabilities of php and I heard I had to update the version of php currently used in Mac OS X 10.4.8. So I followed the directions on the site (http://www.entropy.ch/software/macosx/php/) and downloaded the version 5.0.2 for PPC and Intel for Apache 1.3. I ran the installer. It seemed to run fine.
    Since I installed php5, the apache webserver shut down. It will no longer start (either using System Preferences->Sharing or the Terminal command, "sudo apachectl graceful"). I even tried restarting, but the problem persists. I had it up and running fine, hosting my website for several years. When I type "sudo apachectl graceful", I get the following error...
    www:/usr/local/php5/bin myusername$ sudo apachectl graceful
    Password:
    /usr/sbin/apachectl graceful: httpd not running, trying to start
    Processing config directory: /private/etc/httpd/users/*.conf
    Processing config file: /private/etc/httpd/users/+entropy-php.conf
    Processing config file: /private/etc/httpd/users/myusername.conf
    /usr/sbin/apachectl: line 193: 321 Bus error $HTTPD
    /usr/sbin/apachectl graceful: httpd could not be started
    My Configuration
    Apache: 1.3.33
    Mac OS 10.4.8 with all the software updates run to present (Monday December 18, 2006).
    Running on a PPC.
    As you can see, I have the latest software and have never installed php before. I have just used the version that came with 10.4.8.
    Do you have any idea why my webserver is no longer running after running the php5 installer at that site?
    Thank you in advance for any help anyone can give me. If I knew this would happen, I never would have downloaded it. I assumed it would reside safely in its own folder (/usr/local/php5) and not trample my webserver. At this point, I would like to get my webserver back up and running as soon as possible either with or without the php version 5.
    Any ideas?

    I have tried resetting the mysql
    password for root following the directions on
    mysql.com, but it is not working.
    Can you post a link to the page with the directions you used? I messed around with MySQL changing passwords for a bit, though I cheerfully admit I didn't try to reset the root password. But the directions look like they should work the same for any user.
    Basically, I followed the last alternative on this page, except that I didn't have to use --skip-grant-tables, instead, I just logged in as the root user. I did the update like they show:
    <pre class="command">UPDATE mysql.user SET Password=PASSWORD('newpwd') WHERE user='root';</pre>Except that since I wasn't changing the root user, I used a different username. Then I had to reload the grants tables:
    <pre class="command">FLUSH PRIVILEGES;</pre>Once I did that, the new password was good to go.
    One thing I found was that I kept mis-typing the password when I tried to log in. Or I'd mis-typed it when I updated the table, so I found that one really handy thing you can do is to look at the password that's stored and compare it to what you might be typing. For example, once I type in the new password ('newpwd', I could look at it like so:
    <pre class="command">mysql> select host,user,password from mysql.user;
    --------------+------------+------------------
    | host | user | password |
    --------------+------------+------------------
    | localhost | root | 43adcaeb639dab47 |
    | 192.168.1.nn | usern01 | 43adcaeb639dab47 |
    | localhost | userno2 | 43adcaeb639dab47 |
    | localhost | userno3 | 43adcaeb639dab47 |
    --------------+------------+------------------
    4 rows in set (0.00 sec)</pre>Ordinarily, you'd probably have different passwords there. By itself, the display you see there isn't too helpful. But you can also check your password like this:
    <pre class="command">mysql> SELECT PASSWORD('newpWd');
    | PASSWORD('newpWd') |
    | 43916d0b63bad907 |
    1 row in set (0.00 sec)</pre>Notice how it's different just because of the different case of the "W". The difference between a "W" and "w" is pretty obvious, but if you have a "1" or an "l", they can look pretty similar in your password, same thing with "O" and "0".
    charlie

  • Web Sharing Not Starting Up After installing PHP

    On Mac OS 10.4.9 on a G4 PPowerbook, using O'Reilly's "Learning PHP and MySQL," my Personal Web Sharing will not start up.
    I enabled Apache per their instructions and things seemed fine.. Then I i installed PHP with these commands, sudo vi/etc/httpd/httpd.conf , then %s/#LoadModule php/LoadModule php/. Then %x/#AddModule php/AddModule php/. Then <espcape>:wq. Then
    vi ~/Sites/test.php
    o
    <?php phpinfo() ?>
    <escape>:wq
    First of all, the test query from the book didn't work quite right, but now my Personal Web Sharing won't start up. It says "starting up." forever.
    Help. And if you can't tell, I have extremely limited knowledge of Unix and command lines, etc.
    What do I do? Assume I know nothing... : )

    The first thing to do is read the Apache error log which will give you more detail about what's gone wrong.
    <pre class=command>tail /var/log/httpd/error_log</pre>
    The other thing to do is run configtest which might also indicate errors in the configuration:
    <pre class=command>sudo apachectl configtest</pre>
    although it'll probably tell you the same thing as the error log.

  • How to Install PHP in PL/SQL??

    Hello!!
    How to install php in pl/sql ??

    See Metalink Note 207303.1 for a compatibility matrix that details support for database links between database versions.

  • 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

  • How to install PHP on OS X 10.2?

    Hi,
    I'm a bit confused. Ther are lots of PHP related files in the library folder, but when i try to open a php file (drag and drop onto safari dock icon), it just opens a blank browser window. How do i install php so i can open php files like this?
    Thanks.

    Damien--
    You can't just drag a PHP file to a browser window. It's a server-side technology, so PHP web pages have to be served by a web server. Since you have OS X, you have Apache installed by default. Read this article on setting up PHP and Apache on Jaguar. That's part three of three parts, so look at the other two parts, especially part one, where he tells how to turn on the server...
    charlie

  • Trying to install php 5.4.4 on my mac getting this error

    trying to install php 5.4.4 on my mac getting this error
    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 build system type... i386-apple-darwin11.4.0
    checking host system type... i386-apple-darwin11.4.0
    checking target system type... i386-apple-darwin11.4.0
    checking for cc... no
    checking for gcc... no
    configure: error: in `/Users/apple/php-5.4.4':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    I am new to php and mysql. I am trying to learn however I can not install the latest version of php on my system I am running 10.4.7 can anybody help me

    If you're trying to build PHP from source (or, indeed, ANYTHING from source), you'll need to install XCode (the old Developer Tools), which include compilers such as gcc.
    However, if you don't need to install source, don't - it's usually a lot of trouble and you really need to know what you're doing. There are perfectly good PHP and MySQL binaries for Mac.
    Matt

  • How to install php, perl, python, C text editor

    I want to know how to install perl, php, C , Java Text Editors in Mac OSX.
    which editor is better .

    C you installed by installing the XCode package from your installation DVD
    Perl is already installed
    PHP is already installed
    Text Editors are a Religion, as once you have trained your fingers to use a given text editor, you frequently do not want to change, so after that your editor is the only "True" editor :-)
    If you are serious about C programming in a Unix environment, then Vim or emacs.  If you are going to be doing mostly Mac OS X Objective-C, then use the XCode editor.  If this is just a hobby, then a GUI text editor such as one of the previously mentioned editors

  • Upgrading to Tiger AFTER installing PHP 5

    Upgrading OS X to Tiger disabled PHP 5 for me, and I'm posting this in case it helps anyone with a similar setup. I have seen posts elsewhere on editing the Apache config file to re-enable PHP 4 after upgrade to Tiger, but the instructions there didn't work for re-enabling PHP 5.
    One small caveat. I'm not a professional programmer and have little experience with command lines, so I have a little trepidation giving advice to others. But what I did here worked, so I guess it's okay.
    After the upgrade to Tiger, PHP wasn't running, and PHP files would display in my Web browser as text. Apparently, Tiger installs PHP 4 and an Apache config file that points to that installation, ignoring whether or not PHP 5 might be present. It doesn't overwrite PHP 5, it just points the server back to the earlier version. Re-enabling PHP 4 left me unable to connect to my MySQL 5 databases, producing this error: "Client does not support authentication protocol." This is because PHP 4 doesn't have the MySQL library that PHP 5 has.
    Following is what I did. Using BBEdit, I chose File > Open Hidden and opened Macintosh HD/private/etc/httpd/httpd.conf, which is the Apache Web server configuration file. I changed three lines.
    The first is line 240 in my file:
    #LoadModule php4_module libexec/httpd/libphp4.so
    Remove the hash mark at the beginning of the line and change it to:
    LoadModule php5_module /usr/local/php5/libphp5.so
    NOTE: I installed PHP 5 from Marc Liyanage's installer. If you installed it another way, this path may not work for you. You need to find the path to the "libphp5.so" file and enter that here.
    The second line is line 284 in my file:
    #AddModule mod_php4.c
    Again, remove the hash mark, and change it to:
    AddModule mod_php5.c
    Finally, near the end, in line 1079 in my file:
    <IfModule mod_php4.c>
    Change to:
    <IfModule mod_php5.c>
    Save and close the file. Go to System Preferences > Sharing > Services. Click on Personal Web Sharing and click Stop. When the server stops (it should take only a second), click Start. When the control panel says that Personal Web Sharing is on, test your PHP 5 files that connect to MySQL 5 databases. They should work now.
    G5 1.6Ghz Mac OS X (10.4.3)
    G5 1.6Ghz Mac OS X (10.4.3)

    Did you download the 10.4.10 combo for PPC and not Intel or Server?

  • Trouble installing PHP with Windows XO IIS

    I followed the Live Docs instructions to install IIS and
    tested it successfully; then I went to
    http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WS9C4F33E1-12B2-4e40-BD4 0-5D66C1F75EB6.html
    aand followed those steps to download, install and test PHP 5.2.1
    installer. After rebooting I tried to open the PHP test page
    http://localhost/timetest.php
    in Firefox but instead of displaying Windows asked me to select a
    program with which to open it. How can I troubleshoot the PHP
    installation.

    Yes I was able to successfully open
    http://localhost/test.htm in
    Firefox;
    One thing I neglected to mention that when installing
    php-5.2.1-win32-installer.msi, I encountered a message not
    mentioned in the Adobe docs. I was asked to choose a web server to
    install and I chose None, since I had already installed Windows
    IIS.
    I had suspected my problem was with PHP, now what steps
    whould I try?
    thanks,
    Gary G

  • Installing Php

    Hello
    I'm trying to install php on my mbp. When trying to test (I turned web sharing on) I go to http://10.0.1.194/~myname/ and I get a 403 error "You don't have permission to access /~myname/php/test.php on this server." How do I give myself permission???
    Thanks

    Select the file in the Finder, choose Get Info from the File menu, and add _www to the list under Sharing & Permissions with read only access.
    (36329)

  • [Solved] Installing PHP PDO

    I'e made a few PHP scripts which I run from the command line. Only, some of these scripts use PDO, which, for some reason, doesn't get installed in Arch Linux when I install php-sqlite, and doesn't seem to have a seperate package either. I've tried installing php_pdo-dblib from the AUR, but that doesn't seem to have made any difference.
    [robin@robinArchLinux µBot]$ php index.php
    PHP Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in /media/Data/Documenten/PHP/µBot/index.php:6
    Stack trace:
    #0 /media/Data/Documenten/PHP/µBot/index.php(6): PDO->__construct('sqlite:./databa...')
    #1 {main}
    thrown in /media/Data/Documenten/PHP/µBot/index.php on line 6
    So the logical question is, how can I get this working?
    Last edited by RobinJ (2012-01-06 13:56:51)

    ... What?
    I thought the ; was supposed to be there :-$ I didn't know ; was being used for comments... Sorry :-$
    And thanks
    Last edited by RobinJ (2012-01-06 12:42:21)

Maybe you are looking for