PHP,MYSQL,ORACLE,APACHE issue?

Hello All,
In my oracle 10gr2 server that is build on rhel4, we have web based portal, now that web based portal connects to oracle and mysql, my problem is that, the developer told me that i have to install php4, apache2 with support of OCI8, i have tried every thing in google but unable to find, how can i do this, please help me out, thanks

Some example guides show installing Apache as a non-root user just to avoid breaking production web servers when installing for the first time. A non-root user cannot start Apache on a privileged port like 80. Once you're familiar with the install process you can always install on the system default Apache or use 80 as the port number.
The free, prebuilt PHP and Oracle-client stack called Zend Core for Oracle runs on x64. ZCO can be very easy to install. http://www.oracle.com/technology/tech/php/zendcore/index.html
-- cj

Similar Messages

  • How to update PHP, MySQL or Apache

    The Mac OS X 10.6.2 system does not include the latest versions of PHP, MySQL or Apache.
    What is the recommended update procedure for PHP, MySQL or Apache:
    a) automatically by Mac OS X system (is this possible?) or
    b) manually by the administrator (are there any documentations?)
    Many thanks.
    Actual system versions:
    Mac OS X 10.6.2
    MySQL 5.0.82
    Apache 2.2

    Hi, Thanks for your answer.
    That sounds Apple do not seriously release updates of third party packages shipped with the system (like Apache, mySQL ...) very often.
    To use month or year old packages in a web environment is a big risk, e.g. mySQL actual official version is V5.50 / mySQL Version shipped and updated by Mac OS X 10.6.2 Server is V5.0.82).
    The same with Apache and PHP, both are packages included in Mac OS X Snow Leopard Server product by Apple and are included in a old version.
    And when manually updates by the administrator of the server system do not work well or are not supported by the OS X Server system (as I understand your posting), the administrator can not act to improve and secure the system.
    That can only lead to one conclusion: Apple's Mac OS X Snow Leopard Server should not be used in a productive, internet faced web environment.
    Is this true? I do not want to believe this!?
    Is there really no official supported or documented procedure by Apple to keep the integrated third party components updated?
    I'd like to prefer Mac OS X Server odd Linux distribution because it seems more handy to administrate and to use, e.g. tools like Server Admin. These tools are an advantage of Mac OS X Server.

  • Trying to run PHP, Mysql and Apache

    Hey guys, Basically Im at university and doing a web development project and i need to use mysql and php, and someone told me leopard already comes with it? Does anyone know how i can get it to work correctly? any steps from the beginning? - am new to macs
    Cheers
    Krups

    hello, I will suggest you to follow the instructions set up by Marc Lyianage in his website, the url is http://www.entropy.ch/software/macosx/ there you will find a page for setting up php5 (it comes preinstalled in leopard) and it has a also a package installer for mysql very easy to set up.

  • How to enable php, mysql, and apache?

    Hi guys, I am sorry if I am not in the right forum, but I am really worried about my problem...
    According to this article("http://developer.apple.com/mac/articles/internet/phpeasyway.html") I already have php , apache, and SQlite installed on my mac. My problem is when I try to enable the apache, instead of coming a localhost ( like 128.1.2.1) comes my website " your computer's website: http://nunomedi-e14....lan/ ) I donn't know what is this, I replace the index.html with index.php in sites folder.
    Can somebody help me please.

    Please look at my second post. I corrected what I said:
    macwiz1220 wrote:
    O wow. I'm sorry. I have no idea where i got that from. The file you want is in /etc/apache2/httpd.conf and the line you are looking for is *#LoadModule php5_module*
    Take a look at this article on LAMP on Leopard.

  • Installing php, mysql and apache

    Hey guys, Basically Im at university and doing a web development project and i need to use mysql and php, and someone told me leopard already comes with it? Does anyone know how i can get it to work correctly? any steps from the beginning? - am new to macs
    Cheers
    Krups

    This web page:
    http://www.macosxhints.com/article.php?story=20071030153912813
    claims to tell you how to do it, though after 12 hours of working on this today I seem to be no closer.

  • Subscribe/unsubscribe PHP/Mysql Adobe Tutorial Issue

    I've been following the Adobe Dreamweaver CS3 tutorial known
    as "Building a subscribe/unsubscribe app in PHP with Dreamweaver
    CS3"
    here is the tutorial link
    http://www.adobe.com/devnet/dreamweaver/articles/subscribing_unsubscribing_with_php.html
    Basically I'm having a major problem that boils down to me
    creating the "Subscription" Submit form/ button within my actual
    template. Not the "main" section of the page... the template
    itself.
    Here's an example of a similar site like mine that has a
    subscribe box within its template.
    http://www.free-stuff.co.uk/
    When i type in an email address and try to send it. Rather
    than going to the confirmation page, the page goes know where, it
    just refreshes itself.
    My client wants the subscription form within the template and
    i am at a loss as to how to get my index page and other pages
    (which are attached to the template), to respond appropriately.
    PS: I know that the cause of the problem is the form being
    within the template, because when i put the subscribe form in the
    "main" section of my index page. It works fine.
    Thanks for your time, and if you think you have an answer,
    but are unsure of anything I've explained, I promise to get back to
    you ASAP, to explain in more detail.
    Thanks a lot.

    geschenk wrote:
    > did you download the "cafe_php.zip" sample file
    mentioned on page 1 ? The tutorial.sql file is in there, just
    checked it
    Uh... no. I thouht I looked there, but turns out I was at the
    bottom of
    pg 4 - Copy the sample PHP files.
    Thanks.
    Harvey

  • Apache php mysql mac 10.4.8 client

    does anyone know the version of php mysql and apache on 10.4.8 if it's shipped with osx and how to upgrade them
      Mac OS X (10.4.8)  

    mysql is not shipped... unless youre talking about osx server then it may be.
    php is 4.4.1 and the path is /usr/bin/php and /usr/lib/php
    apache is 1.3.33 and the relevant paths are /usr/libexec/httpd and /usr/sbin
    I wouldnt reommmend upgrading any of them because its possible they could be broken by future system updates, although i dont specifically know of this ever happening. but for development purpouses its better to isolate your environment. Instead of upgrading the system versions i would recommend installing the versions you wish into /usr/local and jsut setting things up to run from there. Marc Lyiange's php packages do this for you by default (www.entropy.ch). MySQL also comes as a mac binary and installs into /usr/local. As for Apache that will require some configuration What i would do is install it into usr/local. Then i would rename /usr/sbin/httpd to /usr/sbin/httpd-1.3.33 and /usr/sbin/apachectl to /usr/sbin/apachectl-1.3.33. then make symlinks to /usr/local/apachedir/bin/apachectl and /usr/local/bin/httpd to /usr/sbin/httpd and /usr/sbin/apachectl.
    Of course you could always change the appropriate plists to just run your version of apache but i dont know what those are off hand. For what its worth unless you need a particular module thats not supported on 1.3.33 i wouldnt even mees with apache 2.0. its jsut not worth the effort in my opinion.

  • PHP/MySQL issue after security update 2010-005

    Hello,
    I run Apache/PHP/MySQL on my MBP for testing Web sites.
    After the 2010-005 security update I can't connect to my databases anymore.
    I don't know how to fix this, I even don't know where to start looking.
    Ideas, anyone?

    coloma wrote:
    etresoft, thanks for sharing this ... I decided to go with the TriangleJuice suggestion instead for two reasons ... first is that I wasn't sure where to find this launchd file.
    There is nothing wrong with TriangleJuice's suggestion. My only issue with creating a php.ini file is that now I have to worry about all those other settings in the ini file. If something else in PHP breaks, I have to figure out if I am the one who broke it.
    Apple ships MySQL with MacOS X Server. They probably adjusted the PHP settings to match how they have MySQL setup in MacOS X Server.
    For MySQL's, no, Sun's - drat! no, Oracle's part, they still haven't acknowledged the fact that Apple has shipped MacOS X 10.4. MySQL still ships with a Startup Item. If you don't know where the launchd file is, it is because you don't have one. You probably have a MySQL entry in /Library/StartupItems or maybe /System/Library/StartupItems. Startup Items were deprecated in 10.4. Oracle should be creating a file named com.mysql.mysqld.plist in /Library/LaunchDaemons.
    Here is what mine looks like now:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>KeepAlive</key>
    <true/>
    <key>Label</key>
    <string>com.mysql.mysqld</string>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/local/mysql/bin/mysqld</string>
    <string>--socket=/var/mysql/mysql.sock</string>
    <string>--basedir=/usr/local/mysql</string>
    <string>--datadir=/usr/local/mysql/data</string>
    <string>--user=mysql</string>
    <string>--log-error=/usr/local/mysql/data/Pele.local.err</string>
    <string>--pid-file=/usr/local/mysql/data/Pele.local.pid</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    </dict>
    </plist>
    I also don't have a /var/mysql directory and wasn't sure whether I should just create one or if this meant my configuration was different. If you feel like explaining any of this, I'd be curious to know.
    You have to create one. Such a directory probably already exists on MacOS X Server. Just make sure it is owned by mysql.
    sudo mkdir /var/mysql
    sudo chown _mysql:staff /var/mysql
    sudo chmod 0755 /var/mysql
    [jdaniel@Pele:516] /var $ ls -al /private/var | grep mysql
    drwxr-xr-x 3 _mysql staff 102 Aug 26 20:03 mysql
    Of course, /var is a symbolic link to /private/var. Long story there.

  • PHP/Mysql issue

    I use Dreamweaver CS3 to create my sites on a Windows/Apache
    Server with PHP5 and Mysql 5. The site works perfectly on my
    testing server at home. On the Web server I'm getting the following
    error which causes the page to not load:
    PHP Warning: mysql_query(): supplied argument is not a valid
    MySQL-Link resource in
    /hermes/bosweb/web248/b2488/ipw.horsehelp/public_html/residents/residents.php
    on line 63
    PHP Warning: mysql_select_db(): supplied argument is not a
    valid MySQL-Link resource in
    /hermes/bosweb/web248/b2488/ipw.horsehelp/public_html/residents/residents.php
    on line 61
    The lines in question are:
    Line 61 - mysql_select_db($database_conn_phh, $conn_phh);
    $query_getSuccess = "SELECT * FROM horses WHERE status =
    'Success Story' ORDER BY horse_barn ASC";
    $getSuccess = mysql_query($query_getSuccess, $conn_phh) or
    die(mysql_error());
    $row_getSuccess = mysql_fetch_assoc($getSuccess);
    $totalRows_getSuccess = mysql_num_rows($getSuccess);
    All of the code is supplied by Dreamweaver. I did not tweak
    the code. I'm not a web developer and what I have found out there
    is still reading greek to me. My connection file is working and
    connecting the database that I have tested.
    Since the above code is throughout the site in one form or
    another it's causing me major headaches. Any help would be
    appreciated.

    This is the first time I've used Adobe products so if the
    following is in the wrong forum (It's the closest one I found so
    far) or the format is incorrect please forgive me.
    I'm new to Dreamweaver CS3 and as I was reading the "first
    steps" it mentions to set up a Dreamweaver site right away. I got
    as far as completing "Site Definition" page under the basic side of
    the setup screen.
    The next screen is "Do you want to work with server
    Technology?"
    There are 2 options - Yes or No. If you select yes a
    drop-down menu appears with several options (but you can only
    select one)...
    Asp Javascript
    Asp VbScript
    Asp.net#
    Asp.net Vb
    Cold Fusion
    JSP
    Php MySql.
    I know nothing about these format and brand new to web design
    so I thought it best to contact GoDaddy (my hosting account) to
    find out what their servers would support. I spoke to a tech rep
    but she wasn't sure.
    She did mention that I have a windows hosting account and Php
    MySql would not work unless I changed to their Linux platform at no
    additional charge.
    The site I have in mind will design with CSS, Liquid layout,
    have some flash, widgets, an inquiry form that clients complete and
    results e-mailed to me, auto-responder, Paypal link and whatever
    else I can discover from Dreamweaver.
    My question being:
    I haven't even begun designing my site because I do not know
    what weather I should select the Yes option and select one of the
    formats mentioned above (if so which one) - or select the No
    option. If I do select the No option at the very beginning, will I
    have problems with my site uploading and working correctly?
    Thank you
    Travis

  • Apache php mysql installation on arch

    does anyone have a tutorial on how to install :
    - apache
    - php
    - mysql
    on Archlinux
    i have installed apache
    pacman -S apache
    pacman -S php
    pacman -S mysql
    but apache won't start : /etc/rc.d/httpd start - it gives me FAIL
    and when i try httpd it give a nasty error
    httpd: arp_sockaddr_info_get() failed for pufos (pufos - the linux box name)
    httpd: Could not reliably determine the server's fully qualified domain name , using 127.0.0.1 for ServerName
    is because i didnt configureg good httpd.conf or what
    anyway , a tutorial for installing apache php and mysql would be perfect.
    Thank guys

    pacman -S mysql
    /etc/rc.d/mysqld start
    :: Adding mysql group
    /etc/rc.d/mysqld: line 14: groupadd: command not found
    :: Adding mysql user
    /etc/rc.d/mysqld: line 19: useradd: command not found
    chown: 'mysql.mysql': invalid user
    :: Starting MySQL [FAIL]
    omg , if the mysql installed through pacman get stuck cause 'useradd' does not exist as a command .... huuuh
    ??? any sugestions ?

  • Oracle+apache+php in windows environment

    Hi all, i have a great problem with a new web application written in Php 5 under Apache 2.2.4. using Oracle instant client 10g
    The database (10.2.0.2) characterset is WE8MSWIN1252 same for the client. When i insert/update a rows from php with àèìòù characters i see ¿¿¿ with the client (sqlplusw) if i insert/update same characters from sqlplusw i saw ???? from php.
    Tried to set NLS_LANG in httpd.conf but nothing is changed. Could anyone help me ?
    Thanks.

    What platforms are you using here, for apache/php/oracle client host and the other host where you have sqlplusw.exe?
    When having inserted non-ascii characters from sqlplusw, what does the following return
    select column, dump(column,1016) from table where ...
    After insert from php, what does the same query return?
    Also read the following thread
    charset

  • Ruby | Php | Mysql on iMac Apache

    Hello,
    I am a developer who is trying to get my iMac to run local versions of all the languages I use.
    I have been successful in the following:
    Establishing Ruby and mysql on the built in apache server
    Installing MAMP to serve as the php, mysql machine
    This has left me with a problem.
    I have two versions of mysql on my machine, and they are independent. What I would like is to consolidate, preferably by getting php to run on the built in apache. I have been unsuccessful in my attempts to compile and make php.
    A worst case scenario would be telling phpMyAdmin on MAMP to read from the mysql database on the built in server.
    The Goal: access my Ruby on Rails databases through phpMyAdmin.
    Any suggestions, links or points in the right direction would be greatly appreciated!
    Thanks.

    PHP isn't enabled. You have to go into /etc/httpd.conf and uncomment a couple of lines.
    10.4.11 has PHP 4 I think. It does not have GD. I see many posts here with people trying to build their own PHP with gd and failing miserably. I've tried to explain to people how to do it, but they want a 3 minute fix. A 30 minute fix just isn't good enough and they will spend weeks trying to get the 3 minute fix to work.
    Here is what you do:
    1) Enable PHP by uncommenting
    # LoadModule php4_module libexec/httpd/libphp4.so
    and
    # AddModule mod_php4.c
    2) Restart Apache via "sudo apachectl restart" or turning Web Sharing off and back on.
    3) Create the standard phptest.php file containing only "<? phpinfo() ?>" and open it in a browser.
    hopefully you'll see everything you need. If you need to add additional modules:
    4) Go to Apple's open source page, select the appropriate directory for your OS and processor.
    5) Download the "apachemodphp-18.8" project (note this is PHP4, if you want 5, download it from the 10.5 directory - it should work).
    6) Collect the additional, non-default packages you want to use. Build and install them via regular configure, make, make install.
    7) Inspect the Makefile that comes with the Apple PHP. I don't know if the Makefile will work or not. It may need other parts of the darwin open-source environment. It does have the configure options used to build PHP. Go into the PHP directory, and configure using Apple's options and any additional options of your own, make, and make install.
    There are many other threads dealing with PHP and GD but almost everyone is trying to hack up something they got from Fink. If you need to hack around with things, it would be better to start with Apple's default settings and the default settings of any 3rd party libraries.

  • DW8.02 + php + mysql recordet issue

    Am absolutely new to PHP and MySql having been using ASP
    & MSSql for a
    long while.
    I have the latest versions of PHP and MySql installed which
    would both
    appear to be working correctly.
    When I go to create a recordset in the usual manner - if I
    press test I
    can see the correct data, when I click OK to finish I get a
    series of
    JavaScipt errors "while executing findSeverBehaviours in
    recordset.htm"
    (line 53??) etc etc cannot find TomLR-PHP-AdvRS.htm
    DW puts the code in the page, but the Bindings window remains
    empty.
    I've cleared the winfilecache - anyone got any other
    suggestions??
    TIA!!
    Buzby
    There's nothing more dangerous than a resourceful idiot

    twindude wrote:
    > Buzby
    >
    > I too am trying to convert some apps to mysql
    >
    > CAn you please post how you got this to work with DW8
    >
    > I am getting an error trying to setup the RS
    > when i try to 'select database"
    > i get this:
    > Your PHP server doesn't have the MySQL module loaded or
    you can't
    > use the mysql_(p)connect functions.
    >
    > I am running php/mysql on my xp pro workstation....with
    dw8 on it
    >
    > ??? loss......
    Sounds like you haven't installed the mysql module.
    I'm sure someone who knows much much more about it than me
    will be
    along in a moment.
    However - possibly the easiest way to do it without getting
    your hands
    dirty is to delete and then reinstall PHP - make sure you do
    the
    detailed route and look out for the modules section and check
    all the
    MySql ones (sorry can't remember exactly what they were
    called - I've
    only done this twice - the first one I bodged up!) -
    otherwise it's
    trawl through your php.ini file and uncomment all the mysql
    components
    that you think you may need!
    HTH
    Buzby
    There's nothing more dangerous than a resourceful idiot

  • PHP MySQL Error Code 500

    May be someone can help me out with this problem.
    I have setup a new site using PHP MySQL and Dreamweaver 8.02.
    Dreamweaver connects to the database but after creating a
    recordset the recordset cannot be used.
    instead Dreamweaver returns:
    HTTP Error Code 500 internal Server Error
    Any help will be much appriciated.
    Jos

    Hello,
    I have also had the same error - namely that whilst I could connect via ftp, upload/download files, and view database tables, any attempt to view of modify recordsets resulted in error 500.
    Having checked other potential causes (e.g. selection/non-selection use of passive FTP setting, enabling of php, etc.), on the back of posts here I contacted my host and asked if if could relate to mod security, as further investigation revealed that the issue only occurred on sites where mod security had not been disabled (I don't like to disable mod security for obvious reasons - and I'm told you can't do that site by site with apache2 anyway).
    After a few false starts, the problem was resolved - with the following response from my host: "The false positives were being generated by "/_mmServerScripts/MMHTTPDB.php" and that is what we've worked around in the rules. As such, any domain on [servername] using that script in the same way shouldn't generate a false-positive moving forward."
    So it seems the answer (assuming your on an apache server of course) may be to modify the rules to allow full access for MMHTTPDB.php.
    I hope that is of help to some.

  • Apache2, PHP, MySQL Help

    Hi,
    Sorry if this is a bit of a newbie thing todo but I am not too good with solaris configuration yet.
    Can anyone supply a decent step by step and easy tutorial/how-to on how to set up Apache, PHP, MySQL and PHPmyadmin on a SPARC solaris 10 box please...
    Thanks Rob

    Can anyone supply a decent step by step and easy
    tutorial/how-to on how to set up Apache, PHP, MySQL
    and PHPmyadmin on a SPARC solaris 10 box please...Setting up Apache is very easy since all it takes is setting it up. Its installed by default, you can check /etc/apache for an example configuration file. Next to that www.apache.org/docs/ is also a very valuable read.
    <blunt SPAM>
    You could also consider looking into the Java webserver (formely SunONE). Its currently being made available for free with the Java Enterprise System and compares very well to Apache. If you'll also be doing some Java it would be a better choice (IMO its a better choice than Tomcat) and it can also do PHP.
    http://www.sun.com/software/products/web_srvr/home_web_srvr.xml
    http://www.zend.com/sun/?article=/sun/index.php&kind=&id=6179&open=1&anc=0&view=1
    http://www.php.net/
    </SPAM>
    As you'll note I included the PHP website because with the above setup you'd also need to manually setup PHP. If you have the companion CD present you can install the PHP module which will end up on /opt/sfw/apache. This directory will also present you a php.ini example which will need to be placed in /etc/apache as well. Setting it up is basicly following the documentation in the ini file, and the Apache documentation on adding an extra module (/opt/sfw/apache/libexec/libphp4.so).
    MySQL. Also very easy since its shipped with Solaris as well. Look into /etc/sfw/mysql for a README which covers the most essential steps to set it up. In short you'll need to setup a few directories for MySQL to work and optionally (but recommended) copy the default config file to /etc (/etc/my.cnf) which will define certain basic settings. The readme explains. Next you're likely to need the MySQL guide (if you're new with MySQL) which can be located at http://dev.mysql.com/doc/refman/4.1/en/index.html.
    This applies to the version (close enough anyway) which is shipped with Solaris. From personal experience I can say that MySQL 5 will also run very well on Solaris 10.
    Finally the PHPMyadmin... That really is an RTFM issue, once you have your environment setup (Apache and the likes) its likely you only need to copy it to your document root and point your browser to it.
    Hopes this helps somewhat.

Maybe you are looking for

  • Can Photoshop 4, upgraded to 5, be installed on my Windows 7 64 bit OS ?

    I bought Photoshop 4, 16 or 17 years ago, and upgraded it to version 5 later on, and I never had trouble with this combo, on any other of my Windows controlled computers, but they were all 32 bit. I'm now in my early 60's, so another upgrade is no lo

  • PCMICA Media Card Reader only mounts once per session

    After I restart and insert my PCMICA media card reader will show up on the desktop but only once. After I eject the card and reinstall it will not show up on the desktop. The card appears in the menu bar but no where else not on the desktop or in a f

  • Composite primary key as foreign key not working

    i want have two tables in one table i make a composite primary key and in the other table i refer one of the column of the composite key from the above table as foreign key in this table but this didn't work. eg: create table temp1 ( name char2(10),

  • Oracle RAC 32bit Linux OS Linux 64bit OS

    I'm currently in the process of testing a 2 node RAC configuration. Is it possible to have a Linux (SUSE 9) 32bit OS Node and Linux (SUSE 9) 64bit node in the same cluster? Any help would be appreciated.

  • Plant specific equipment number ranges

    Hi, Is there ay possibility to maintain plant specific Equipment number ranges,kindly suggest