How to uninstall default Apache and PHP

I use Lion 10.8.2。Now  i  want to uninstall default Apache and PHP。But i don't how to do it . Because i want to use nginx and update php to 5.4 or new.
Than you very much.

2. If I want to retrieve information from the database
and display the information in the applet, what should
I do then ?
You would read the response given by the PHP side and parse it. How this is done depends on how PHP returns the data. It should preferrably be plain text or some other simple format, not HTML.
Another problem is, when I tried to send a HTTP request, I get an exception :
access denied ( java.net.SocketPermission "the host name") resolve
What is that and how do I solve the problem ?What applets are allowed to do is severly restricted because they are loaded and started by a web browser when a user visits a web page without consulting the user. You wouldn't like some site delete all files on your hard drive while you're browsing the web. Opening network connections to servers other than where the applet was originally downloaded from is another thing that is not allowed.
There are two ways to solve this: put the php script and the applet on the same server, or sign the applet. Signing an applet means assuring the user that the applet won't do anything bad and that it's ok to allow it to do something that would otherwise be forbidden, here's an example:
http://java.sun.com/security/signExample12/signedPluginEx.html

Similar Messages

  • I have downloaded MAMP for Mac and want to use it for working with Wordpress. I had mysql installed before this and would like to uninstall it and use MAMP. It was easy to turn off Apache and PHP but don't know how to uninstall mysql. Please help!!

    I have downloaded MAMP for Mac and want to use it for working with Wordpress. I'm on an Imac with Maverick OS 10.9. I had mysql installed before this and would like to uninstall it and use MAMP. It was easy to turn off Apache and PHP but don't know how to uninstall mysql. Please help!!

    It depends on how you installed it. You have to shutdown the MySQL service first. If you used the standard, but obsolete Startup Item, you can do that with the Startup Item. If you created a launchd script, you can do it with launchctl. Once MySQL is no longer running, you can delete the Startup Item or launchd script and the rest of MySQL.

  • Apache and PHP update causes an error

    Apple update downloaded updates for apache and php, since then I cant get to work my squirrel mail, because web wont start if it has the php plugin enabled, any help or suggestions ???

    Shxnnxn please see Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html for information on how to resolve Error 49.

  • Can I manage custom builds of Apache and PHP with Server Admin?

    Okay, here's the deal: I have a shiny new Xserver Xeon with Leopard Server installed. I see that it comes with a number of programs that I'll need, preinstalled, but for various reasons (extensions and modules for PHP, Apache, and the like), I may need to roll my own builds of several of these programs and libraries. In this case, the main thing I'm concerned with is recompiling Apache and PHP.
    My question is, can I do this and still manage those tools from Server Admin? I'm not averse to doing it on the command line if need be, but I'd just as soon not have to, if I have Server Admin. So, what would I need to do to make sure that I can still use Server Admin with a custom PHP and Apache?

    My main interest is in using Wiki Server with the custom Apache and PHP builds. Since that's managed through Server Admin, I figured it would be best to try and integrate with the Apple tools.
    Apache I could maybe get by without a rebuild, but there are definitely PHP modules I need which the default build does not come with.

  • I have installed mountain lion on my macbook pro ,but it made my mac very slow. Would someone please tell me how  to uninstall this one and reinstall snow leopard?

    Hello,
    I have installed mountain lion on my macbook pro ,but it made my mac very slow. Would someone please tell me how  to uninstall this one and reinstall snow leopard? I tried to do it by my original CDs but macbook  pro didn't let me to do it.
    Thanks

    It would be easier to just fix whatever is making your machine slow.
    I wrote a little diagnostic program to help show what might be causing these problems. Download EtreCheck from http://www.etresoft.com/download/EtreCheck.zip, run it, and paste the results here.
    Disclaimer: Although EtreCheck is free, there are other links on my site that could give me some form of compensation, financial or otherwise.

  • I am fairly new to using Mac computers, I would like to know how to uninstall drivers, software and other things I might install on my computer. With a PC it's really easy, you just go to the control panel.

    I am fairly new to using Mac computers, I would like to know how to uninstall drivers, software and anything else I may install on my computer. With PC it's very easy, you go the control panel, locate what you want to uninstall and with a few clicks it's done. Can someone please help me? Thank you.

    See these:
    Switching from Windows to Mac OS X,
    Mac Basics—Tutorials on using a Mac,
    Mac OS X keyboard shortcuts,
    Apple How-To Guides for Mac OS X,
    Anatomy of a Mac,
    MacTips,
    Switching to Mac Superguide, and
    Switching to the Mac: The Missing Manual, Mavericks Edition.
    Additionally, *Texas Mac Man* recommends:
    Quick Assist,
    Welcome to the Switch To A Mac Guides,
    Take Control E-books, and
    A guide for switching to a Mac.

  • Need Urgent Help with Apache and PHP

    I have been struggling with apache and php for a week now and I finally broke down to post a message.
    I have apache 1.3 running on my mac mini g4 with 10.4.9 and I installed sql. I went to the entropy website and downloaded php5 to install without knowing I already had php4 on the machine. I installed 5 but could not get it to work. I then went back to httpd.conf and tried to install php4 by uncommenting out the loadmodule and addmodule lines. I restarted apache but php still did not work. I tested the phpinfo.php script but all I got was the script in Safari and not the actual page. At the moment, I have php4 and php5 on my machine but can't get either one to work. I am sure there is an easy fix but I don't know it. Please help.

    The problem is not terribly complicated, but Apache will not start with the entropy file in the folder
    /etc/httpd/users/
    Let me experiment on you. Rename the entropy file and then try to start Apache. To do this, open Terminal and paste this command:
    <pre>sudo mv /etc/httpd/users/+entropy.conf /etc/httpd/users/+entropy<pre>
    Now check the Apache configuration:
    <pre>apachectl configtest<pre>
    If it says "Syntax OK", start Apache:
    <pre>sudo apachectl start<pre>
    Since we only disabled the entropy file, you should be able to enable PHP5 with some more advanced configuring.

  • Apache and PHP Security Scans

    I am now required to keep up with the latest versions of Apache and PHP on my Xserves for security reasons. Is there an easy way to do this?

    In order to keep up with security updates you'll have to install your own apache and php and stop using the ones that comes with Mac OS X (i think it is a good idea to do that anyway).
    Fortunately there are tools out there that will help you.
    I use macports, (http://macports.org) but if you decide to use it you will no longer be able to start, stop and control apache from the Server Admin interface. (there is actually a way to continue to do it but it will break at any system update you run).
    If you are comfortable controlling the server with the command line you'll like it very much and at the end feel it is a great improvement over the apache/php that ships with OS X.
    There is also Fink (http://www.finkproject.org/) but i have never used it so i can't say if it will work well or not and i'm sure it will also prevent you from using the Server Admin.
    Good luck.

  • How do  uninstall 10.8 and reinstall 10.7?

    How do  uninstall 10.8 and reinstall 10.7?  I just spent $150.00 on an HP printer that will not work with 10.8

    Restore the backup of 10.7 you made before the upgrade.
    Allan

  • How to set default currency and Country in R12 financial modules

    Hi all,
    How to set default currency and Country in R12 financial modules (AR,AP,GL,FA,CE) becuase I found some default settings are shown "USD" & "United States" such as create AR Customer, the Country is shown the default "United States"....
    Can anybody advise ?
    Thanks & Regards,

    Hi,
    Change the below profile for the user to a territory different than the US :
    In System Administrator, navigate to Profiles -> System.
    Select Site, Application, and Responsibility.
    Profile options:
    Default Country
    HZ: Reference Territory
    ICX: Territory
    Regards,
    Raju.

  • About building Apache and PHP from source

    Hello,
    I figured my question should be posted here, if it should be done somewhere else, I apologize.
    I'm in the process of exploring solaris 9 (I have RH5 - 9, FC1-3 and FreeBSD 4.7> experience). I was wondering which tools I need to build stuff from source, like Apache and PHP. I am aware of www.sunfreeware.com, which helped me out with mc and other useful stuff.
    The problem I see is that when I install packages from sunfreeware.com, I must rely on the package maintainer to release a new package for newer Apache/PHP versions (with bug/security fixes in it). I plan to run a public webserver on this config, so I figured it'd be best to build what I need from the source so I can update it anytime I like.
    What I installed from sunfreeware.com:
    autconf
    automake
    gcc
    make
    bison
    expect
    mc
    libiconv
    ncurses
    flex
    What else do I need to successfully build software from the source?
    Are there any people running a public web/dns/mailserver on Solaris (whatever the version)?
    If someone could answer to those questions, I'd be most grateful.
    Bas

    Have you installed the companion CD? All you need is there.
    Have you tried to compile?
    If so, what errors do you get?

  • Mac OSX 10.6, Apache and PHP and Marc Liyanage

    I am just about to get PHP up and running (hopefully) on my Mac where I have just installed 10.6, and I was about to use David Powers recommended route of Marc Liyanage's Entrophy PHP, but I read there that a number of people are having trouble with getting Marcs normally excellent installation up and running on 10.6.
    Has anybody here used the Entrophy download on 10.6 and managed to get it working?
    I also found this link from David Powers... http://foundationphp.com/tutorials/php_leopard.php
    It seems straight forward, and I think I prefer to go this route if nobody has managed to get the entrophy download to work. However, does this step-by-step guide still apply to 10.6?
    I know how to switch the apache server on by activating web sharing, but in 10.6, is the pre installed PHP still disabled by default?
    I am asking this BEFORE I go ahead and try it for myself, as in the past I have managed to totally ruin a perfectly good Mac OSX system, and it caused me all sorts of headaches and pains.
    Any advice is appreciated.
    Thanks.
    Mat

    That was a great tutorial / walk through.
    In fact, I would say that was far easier than the entrophy route (which is good) as you can see exactly what you are doing rather than relying on an installer which has often failed in the past for me, and then just suddenly worked for no apparent reason!
    Just two things to improve it for other users, and they are really VERY minor... From previous experience, I knew where to find the php.ini.default file, but you don't let people know where to find that, and the links to the MySQL downloads were broken. I guess that is because the file names have changed or because I am coming at it from a different country. I got a message stating: 'That file does not exist on our download mirrors.'
    Thanks for doing that, I really appreciate you (and the likes of David Powers) taking the time to set these tutorials up for others to use.
    Mat

  • How to Uninstall Leopard Upgrade and go back to Tiger

    I would like to go back to Tiger and was wondering how to uninstall the Leopard upgrade without having to do a full reformat. Is this possible? Thanks in advance!

    nerowolfe wrote:
    fenderltd wrote:
    I would like to go back to Tiger and was wondering how to uninstall the Leopard upgrade without having to do a full reformat. Is this possible? Thanks in advance!
    First, welcome to the Apple boards.
    Backup what you have because it probably contains things from the original update you want to keep - network settings, passwords, etc. A bootable clone is your best bet - and test it out.
    Then you need to format your HD (full, not quick) with the Leopard DVD and then reboot with the Tiger CD and install it. I am not sure how much you can migrate "downwards" from the Leopard backup, but some things will probably come along OK. Not sure about mail since it was converted by Leopard - will it unconvert? Don't know.
    I have read of some who tried to simply install Tiger over Leopard but the results were less than great. You can try it once you have that clone backup, because you won't be losing anything.
    I would suggest unplugging the clone during the erase and install process until you get to the migration point.
    Message was edited by: nerowolfe
    I have a brand new Leopard based MacBook Pro that I need to revert to its previous cat form of Tiger. Would you mind walking me through it? I have Tiger disks that came with another MacBook Pro so those should have all of the machine specific items I will need. As I understand this, I start the computer from the included Leopard disk and do a full format. (I noticed that there is a new partition style named GUID Partition, is this Leopard only?) Next, I load in my Tiger disks and install from those? I do not need to do any system backups as I have no information on this computer as of yet. Any help would be appreciated.
    Thanks, Brian

  • How to change DEFAULT font and font size on new Pages document

    When I open a new Page document, it always comes in with a default font and font size. I know how to change those settings on the open document.
    I want to know how to change the ~default~ font and font size so that a new Page document always opens with those default settings.
    -Thanks for your service to the community.

    Hi Lionate
    Welcome to the forum.
    Make a document to your liking.
    Change the Body style and any other styles in :
    +Menu > Show Styles Drawer > click on the little triangle next to Body > redefine Style from Selection+
    Capture the page:
    +Menu > Format > Advanced > Capture Pages… > Name it > OK+
    +Menu > Format > Advanced > Manage Pages… > Delete other Sections/Pages > OK+
    Save as a template:
    +Menu > File > Save as Template…+
    +Menu > Pages > Preferences > General Preferences > For New Documents > click Use template: > Choose > browse to the template above+
    Peter

  • How to set default color and font?

    Where do I set a default font and color for my outgoing mail? I looked in the preferences but when you change it there, it changes it for all emails, incoming and out going. Isn't there a way to have different fonts for the outgoing than for the incoming??
    thanks for your time,
    Michelle

    I'm glad that other people have had this problem too. I've spent hours on the web trying to find how to select the default composing font colour. I find it incredible that with all the options available in Mail and other mail applications that Apple haven't included this most basic of requirements. It would be lovely if someone from Apple would let us know why this has been left out and if they are going to put it in VERY soon, perhaps as a software update? Mac's still rule though :o)

Maybe you are looking for