MAMP yields gobbledegook

MAMP is returning strange "Bad handshake errors" on a MacBook Air, while it works perfectly on an identical computer on the same home network. I just installed it and the homepage works fine at the default address:
http://localhost:8888/MAMP/?language=English
However when I create foo.php in the test directory and load it with this URL:
http://localhost:8889/MAMP/test/foo.php
I get weird behavior, for either port 8888 or 8889. Here is the output:
4
5.0.4[random stuff that changes with a reload]Bad handshake
Here is the source code:
<html>
<head>
</head>
<body>
hello, world.
<?php echo 'yo'; ?>
hi!
</body>
</html>
Again, PHP works fine on my other MacBook with the same system.
Any ideas why I'm getting this random output?
Rig:
MAMP 1.7.2
Apache port: 8888
MySQL port: 8889
MacBook Air 1.6 Ghz Core 2 Duo
OS/X 10.5.5
2G RAM
80G hard disk, 50G free

Thanks-where is it? Do you mean the Mac OSX Server forum?

Similar Messages

  • Flex 4 Trial - MAMP Channel Disconnected - help!

    I am doing some simple testing with the Flash Builder 4 Trial
    I am running MAMP on my mac and am trying to use PHP to to talk to the mySQL database.
    In Flex 3 this was pretty easy. I am following basically the same procedures (they have change)
    I am simply using the Bind to data...  and going throught the wizard. Everything seems find
    when I bind it to a datagrid - the grid sizes to accomodate all of the fields and puts the correct names in the header.
    But, when I run the application I get the error "Channel disconnected Channel Disconnected before an acknowledement was received"
    I can't find any way around this or much information on the error.
    Would appreciate any help.

    Hi,
    The first thing you need to do is ensure you have a recent version of mamp, as the zendframework requires the latest stable build of php, it will also help to download the latest zendAMF and replace the one that Flashbuilder installed (you just over write the folder with the new code)
    http://framework.zend.com/download/amf     version 1.10.3
    Some people have had issues on macs where the zend pathing wasn't working /recognised, there is info on this spread through  http://forums.adobe.com/community/flex/flex4beta , searching on 'zend' in the forum will yield several thoughts if you have problems after trying the above.
    David

  • How can I use Airport Express to create a standalone Wi-Fi network without Internet Access so I can browse web pages on the local network? I will be using MAMP as my server (Apache)

    I would like to create my own Wi-Fi standalone network at an upcoming tradeshow where there will be NO internet access.
    Currently, I run and develop sites on my iMac use MAMP to manage my sites locally. Using MAMP, I run my sites as though they are on the internet although everything is local.
    I purchased an Airport Express hoping I could create a standalone network so that the iMac would broadcast its website to whatever device connects to it such as my iPhone, iPad and MacBookPro.
    However, after setting up the network successfully (I have a green light on the Airport Express, and there is NO internet going through it), I  am  not able to go any further by logging into the iMac's websites from the other machines. Form my MacBookPro Finder, I can look at files and folders using afp://10.0.1.2, from the Find/Go/Connect to Server utility, but I can't browse the website that is running on the iMac via the Safari browser.
    Can anyone help me configure my MacBookPro (or iPad, or iPhone) to run the website on the iMac when they are all on the same network?
    Thanks so much!!

    1) connecting the TC using a ethernet cable from one of the two modem's LAN ports to the TC's WAN port
    2) create a new Wi-Fi network using the TC ?
    Does someone already create a new Wi-Fi network using its TC connected by Ethernet on a modem/router device ? How do you set up the DHCP (and NAT) ? Which range did you use ?
    This is easy enough to do..
    Plug the TC directly into a computer.. without other connections to do the setup.
    Using the newly installed 5.6 utility.
    Bridge the TC.
    Create a wireless network.
    This is an older screen shot and I would set security to WPA2 Personal only not WPA/WPA2 Personal as shown above.
    I do recommend you use wireless names that are short, no spaces, pure alphanumeric.
    Update the TC..
    Now plug it into the modem router.. it will be a part of the network without doing NAT and DHCP itself.. which you do not want.. that leads to double NAT issues.. but it is a WAP that provides access to devices on both 2.4ghz and 5ghz bands directly to the main router.

  • When I click on a photo I see a yield sign with an exclamation point in it.

    When I'm in an event I can see all my photos for that event, but when I open one of the photos I get an exclamation point in a yield sign shaped ICON.  Is the photo damaged ?  How do I repair this condition and how do I avoid it next time.  Not all my photos have this problem, but the ones that do look like they are from the same import set.  I know at one time they were OK.
    Ward

    Ward,
    what is your iPhoto version?
    The exclamation point shows that iPhoto has lost the connection between the thumbnails of your photos and the edited versions or original image files. You need to rebuild the iPhoto library and to reconnect the versions to the original image files. Try first, if the built-in first aid tools will help (launch iPhoto with the key combination ⌥⌘ held down to bring up the first-aid  panel and try to rebuild the database.
    iPhoto 6 and later: Rebuilding the iPhoto library
    If that does not help, use iPhoto Library Manager: see Old Toad's Post here (Fix 2):
    Re: iphoto crashed
    Be sure to backup the iPhoto library before trying any rebuild options!
    Regards
    Léonie

  • Since updating to FF 5.0, I can no longer access my MAMP server (Mac/Apache/MySQL/PHP) Wordpress development site on my Localhost computer (MacBook Pro, OSX 10.6.4). Why not? It's running EXTREMELY SLOWLY when I try to access the pages on my site.

    PROBLEM WITH LOCALHOST SITE LOADING VERY SLOWLY (IF AT ALL) AFTER I UPGRADED FIREFOX TO 5.0 FROM 3.6
    I have been successfully running MAMP, a personal Apache server with MySQL, on my MacBook Pro using OSX 10.6.4. This is so I can create a Wordpress blog locally to later upload to my remote website.
    Yesterday, I updated my Firefox browser from 3.6 to 5.0 (and added the following extensions: Better Privacy 1.51, Bloody Vikings! 0.5.3, Copy as HTML Link 2.0, Firebug 1.7.3, Firepicker 1.3.4, NoScript 2.1.1.2, and Ultimate Free Stock Photo Search Add-on 1.0.1, TypeGauge 0.5, and Zotero 2.1.8)
    Now, I'm having trouble: At first, MySQL database server in MAMP wouldn't turn on at all. I restarted both Firefox and MAMP a few times. Finally, MySQL turned on and MAMP started to load into the browser. But it got only as far as the top bar on the MyPHP page, and would not load the rest of the page. Finally, pages do load, but I'm getting a "Waiting for localhost…" message looping at the lower left screen for a VERY LONG TIME (30-60 sec?) before my localhost web page appears (sometimes it says "Read localhost…").
    But even when the localhost pages appears, it continues to run VERY SLOWLY when the browser tries to load the pages (although it runs a little less slowly when I use only the backend Wordpress administration pages). In short, it seems that something is stopping Firefox from accessing the MySQL database properly so that my site can show up as quickly as it did before.
    Since this mess only happened after I upgraded to Firefox 5.0 and added the plugins, and nothing else has changed on my computer, it seems the Firefox 5.0 app and/or an extension is the culprit.
    Can you advise me ASAP about what to do? If not, I'll have to downgrade to 4.0 or something. I've got deadlines to meet.
    Thank you.

    PROBLEM WITH LOCALHOST SITE LOADING VERY SLOWLY (IF AT ALL) AFTER I UPGRADED FIREFOX TO 5.0 FROM 3.6
    I have been successfully running MAMP, a personal Apache server with MySQL, on my MacBook Pro using OSX 10.6.4. This is so I can create a Wordpress blog locally to later upload to my remote website.
    Yesterday, I updated my Firefox browser from 3.6 to 5.0 (and added the following extensions: Better Privacy 1.51, Bloody Vikings! 0.5.3, Copy as HTML Link 2.0, Firebug 1.7.3, Firepicker 1.3.4, NoScript 2.1.1.2, and Ultimate Free Stock Photo Search Add-on 1.0.1, TypeGauge 0.5, and Zotero 2.1.8)
    Now, I'm having trouble: At first, MySQL database server in MAMP wouldn't turn on at all. I restarted both Firefox and MAMP a few times. Finally, MySQL turned on and MAMP started to load into the browser. But it got only as far as the top bar on the MyPHP page, and would not load the rest of the page. Finally, pages do load, but I'm getting a "Waiting for localhost…" message looping at the lower left screen for a VERY LONG TIME (30-60 sec?) before my localhost web page appears (sometimes it says "Read localhost…").
    But even when the localhost pages appears, it continues to run VERY SLOWLY when the browser tries to load the pages (although it runs a little less slowly when I use only the backend Wordpress administration pages). In short, it seems that something is stopping Firefox from accessing the MySQL database properly so that my site can show up as quickly as it did before.
    Since this mess only happened after I upgraded to Firefox 5.0 and added the plugins, and nothing else has changed on my computer, it seems the Firefox 5.0 app and/or an extension is the culprit.
    Can you advise me ASAP about what to do? If not, I'll have to downgrade to 4.0 or something. I've got deadlines to meet.
    Thank you.

  • Process Order Yield Variance Report

    Hai All,
               I am working on a report which displays the Average Values of---- "Standard Yield , Batch Size, Order Activity Yield, Variance Qty, Activity Yield and Variance Value".
    Now the requirement is that, I have to display all these data for only those Process orders for which the Technical Confirmation is given.
    I need to know the field name of the Technical Confirmation and in which Table it is stored.

    hi
    use this function module
    STATUS_TEXT_EDIT

  • Report for deviation of yield

    Hello Gurus,
    Is there a standard report available in ECC6.0 to check all the process orders that had deviated from the yields.
    Thanking you in anticipation
    Sri.

    Dear,
    Try transaction code MCPM also use MB51 with relevant movemt type for scrap and Yield, you will get data.
    Please refer this thread,
    Re: Yield Analysis Report
    Regards,
    R.Brahmankar

  • HELP! Lost ALL my bookmarks & Bookmark Toolbar is empty. Attempts to restore from the backup files yields an error message that says, "Unable to process the backup file." Have tried opening nearly all 10 existing backups w/same result.

    I was in the midst of a Firefox session w/two windows open. Nothing special about the sites. No fancy javascripts or anything. When I closed the second window and opened the "History, Show all History" pull-down, the Library screen had no data in it.
    I looked for the Bookmarks.html file in my profile and it is missing. I tried renaming an old .bak file from a couple years ago and I can open it as a file and see the text of it displayed but Firefox will not recognize it as and open it as the Backups file.
    Following the directions already posted - using "History, Show all History" then the "Import and Backup, Restore" process - allows Firefox to see all the backups, but trying to restore from any of them yields the "Unable to process the backup file" error message.
    I have re-started my machine from a cold start - twice now.

    The file that stores bookmarks is probably damaged, for details on how to fix that see http://kb.mozillazine.org/Unable_to_process_the_backup_file_-_Firefox

  • All was well until 10.7 + MAMP + xCode. Now...misery. Why?

    I'm a port from the PC universe. Been loving my iMac since 10.6 for about 2 years now. Recently, I decided to stop programming on the PC and move to the Mac and open source, namely PHP to start. That mean installing MAMP. No harm. Then, I entered the world of debuggin PHP without a debugger. Not fun. So, I joined the installed xDebug. Whoa! Problems all over. Issues Galore. Addressed the issues, joined the $99 developer community, downloaded xCode (for the compiler), upgraded to 10.7 Lion and fixed all sorts of stuff: paths, ini files, got pear working, php-config, phpize, xdebug.so extension.
    Now that xdebug works, I downloaded JetBrains PHPStorm for my debugger along with Dreamweaver CS4 that I've owned all along. All should be well and good, but not so.
    1. All of my Adobe CS products went to ****. I had to re-install and lost 2 yrs worth of customizations, plug-ins etc. That was Adobe's best suggestion.
    2. My external disk drives locked up, there were now permission issues on all, but my internal drive, so I couldn't get to my Time Machine backups. In any case, I had changed so much I'm not sure it would have helped.
    3. Reformatted all external drives. Lost all, but nothing there was that precious. One drive is a scratch disk, the other was my backups. I immediately made another TM backup. All went well after re-format.
    4. Download OS X.7.3....Whoa, more issues. Mainly permissions. Adobe went to **** again, but I'd already lost everything that mattered, so I trudged through the permissions thing (Library and System seemed to be the primary offenders here). User System now exists everywhere and user "Me" is gone, as is user "Administrators" group. Tried getting rid of user system. Bad, bad idea. Started over, then just tried to add Me and Administrators group. Worked out.
    5. Reinstalled Adobe a 2nd time.
    6. Now, some of my drivers, namely HP Scanjet aren't working, download, reinstall, fix that.
    7. Reinstalling HP drivers mucked up permissions again and I get all these Library permission issues on bootup. Fixed that for the 3rd or 4th time now.
    There's more, but you get the idea. All I wanted to do in the beginning was use PHP 5.3 and be able to debug it. Now I have a "hard way" degree in debugging, Unix, and the mac OS. And, I still don't know what I've done wrong.
    This permissions issue keeps cropping up. I've done the Verify/Repair Permissions thing a few times, same for the hard drive. doesn't seem to have an noticible effect.
    Is there some sort of utility out there (or already here) that will help me get my machine stable once again. I've logged probably 40 hours doing the above and this is darn near reminding me of my life with a PC--but I had 30 years of driving that crate, so it wasn't as frustrating.
    It's all about permissions and my user being installed, or not, in various locations that I'm guessing it used to be installed in. Plus, it seems RW permissions have changed to R. I've used Terminal to fix some of this along the way, and get all working correctly, but I'm scared now to turn off the darn machine, or to upgrade "anything" on it.
    Advice is welcome.
    Regards and thanks to all.
    Dan
    PS: Crap, I see a 10.7.4 on the OS dropdown. I could have gone all night without seeing that!

    It sounds like you're randomly setting file permissions without any idea of what they should be. In nearly all cases, they should be whatever the software installer makes them. On very rare occasions, it may be necessary to repair the permissions of system files after running a defective third-party installer. It's certainly necessary if you've "mucked up" those permissions yourself. You may have mucked them up so badly that they can no longer be repaired in the usual way. In that case, boot from your recovery partition (command-R at startup) and run Disk Utility. That, at least, is safe from being mucked up, but it won't fix everything; only Mac OS system files.
    If a third-party product doesn't work, reinstall it, and resist the temptation to change the permissions. If it still doesn't work, contact the developer for support.
    Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
    Back up all data now. Before proceeding, you must be sure you can restore your system to its present state
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy — do not type — the following line into the Terminal window, then press return:
    chmod -R -N ~
    The command will take a noticeable amount of time to run. When a new line ending in a dollar sign ($) appears below what you entered, it’s done. You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:
    sudo !!
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    Next, boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens. You’re not going to reset the password.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • How can I architect my data layer to yield query result pages to the application as SQL Server prepares them?

    I tried to make the question as explicit as possible.
    Refer to Sql Server Management Studio's Results view.  Depending upon the structure of the execution plan, the Results pane may begin displaying results while the query is still executing.  Can someone point me in a direction for architecting a
    data layer (I am tech and framework agnostic for this task. Any solution will suffice) that will begin receiving pages of the set before SQL Server has completed the entire query?
    The call from the data layer to SQL Server will obviously have to be asynchronous, but is there any additional ceremony that I need to be aware of when issuing OPTION (FAST x) to the query optimizer?

    Thanks for the reply. (I actually meant to put this in the SQL Data Access forum, not the T-SQL forum)
    "Generally the last step is ORDER BY in a
    query, so nothing can start before that executes."
    I would imagine you cannot ORDER BY and yield results as they are fetched because of the execution plan that would be generated.  For the purposes of this post, please assume that sorting will be done purely client side
    "Can you post your query?"
     For purposes of discussion, let's assume that the query is
    select *
    from information_schema.columns
    and also assume that you have "lots" of columns to display.
    This was an exploratory question to see what would be necessary to replicate the behavior of Management Studio's Query Result view in a custom application. 
    I would imagine that there's going to be a lot of analysis of the execution plans that get generated in order for the OPTION (FAST x) optimizer hint to do any good, but apart from general tuning concerns that would allow SQL SERVER to yield a page of data
    "fast", I was wondering if there was anything else required of the calling client to force it to yield return its first page.
    After thinking about this (and phrasing it the way I did in the last sentence) perhaps this is the incorrect forum for this question.  I imagine that my concerns are better addressed in forums dedicated to the technology of the calling client (which
    would be a .NET assembly)
    Be that as it may, if there is any ceremony that SQL Server imposes on clients in order to yield return, I would expect that my question would be in the scope of SQL Server discussions (even though I intended this to be in a different SQL Server forum)

  • My 1st Generation time capsule won't connect to the internet thru a new motorola sb6121 - get continuously flashing yellow light. Using a router in between the modem and capsule yields good but slower connection to internet. Any thoughts?

    My 1st Generation time capsule won't connect to the internet thru a new motorola sb6121 - get continuously flashing yellow light. Using a router in between the modem and capsule yields good but slower connection to internet. Any thoughts?

    Thanks for your response
    Let me give the history - I started with an Apple Express being fed thru a D-Link  EBTR 2310 cable Router from an RCA DCM315 Modem (Pure). Comcast service all the way.
    Got the 1st generation TC in 2008 and merely replaced the Airport Express with the TC. Worked ok
    A year or two ago I did try removing the modem and feeding the TC directly from the modem. Resulted in the same condition I have now - Continuous flashing amber on the TC. So I put the router back in the chain.
    Some time later, at the recommendation of a Comcast rep, I replaced the router with (a Belkin F5D 5231) to see if speed and dropout problems would be improved. I thought it helped some at the time but now I am not so sure.
    Last week I decided to see if a new modem would help with download speeds. So I got another pure cable modem (Motorola SB 6121- high on the Comcast recommended list).
    Got up and running easily with Comcast help and with the modem connected directly to a computer.
    Next I put the TC in the link and again could not get past the TC continuing to flash amber. Although I did get connected to the internet with this configuration I lost connection two both of my printers - one connected by USB and the other wirelessly to the TC. Again everything works fine when I put the Belkin router back in the system.
    However with the router in there, the modem shows the downstream connection to be 10/100 ethernet speed. (Modem light changes color for indicating speeds.}
    I have gone thru all of the combinations of powering down/ up, but all stays the same.
    I can live with what I have but something still doesn’t seem right.
    Thanks again

  • Grub cannot detect Windows 8 partition (Yields error)

    Hi! I have installed Archlinux in my Samsung ATIV Book 4.
    sudo blkid
    yields,
    /dev/sda2: LABEL="Recovery" UUID="648265F58265CBDC" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="594f6bb6-b7f3-4663-8f77-f9473da45702"
    /dev/sda5: UUID="30D66A21D669E814" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="df174719-57b3-4d9b-982c-536f33faac55"
    /dev/sda8: LABEL="Metanoia" UUID="1c886c4c-d6f4-4a9f-8f42-082abb95dccd" TYPE="xfs" PARTUUID="8b16bd95-1858-4395-a92a-69817e318469"
    /dev/sda1: PARTLABEL="Basic data partition" PARTUUID="067cfb82-ff81-4398-9b66-09821a442c0f"
    /dev/sda3: UUID="7467-9968" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="ba5109ac-f01c-4838-9334-0ef9c667cb2f"
    /dev/sda4: PARTLABEL="Microsoft reserved partition" PARTUUID="1de2e683-b553-4bba-99b9-b67350177d3d"
    /dev/sda6: UUID="b1554842-1ae8-40bc-8422-abe9a412ce95" TYPE="ext4" PARTLABEL="Anoia" PARTUUID="19a1c96d-f1ed-4d43-ba39-b7227503d3cf"
    /dev/sda7: UUID="2d51872f-57af-4523-bd9a-c42b2f25eeec" TYPE="jfs" PARTLABEL="Pronoia" PARTUUID="704783d2-0630-4297-83fa-da9daef22dfc"
    I have disabled secure/fast boot. Have installed dosfstools, mtools, and ntfs-3g.
    My fstab is
    UUID=b1554842-1ae8-40bc-8422-abe9a412ce95 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sda7
    UUID=2d51872f-57af-4523-bd9a-c42b2f25eeec /home jfs rw,relatime 0 2
    # /dev/sda3
    UUID=7467-9968 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    bootmgfw.efi is at /boot/EFI/Microsoft/Boot/bootmgfw.efi
    I have installed both archlinux and Windows in UEFI-GPT mode.
    When I followed Wiki instructions, and tried to regenerate grub, I receive
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-linux
    Found initramfs image: /boot/initramfs-linux.img
    Found fallback initramfs image: /boot/initramfs-linux-fallback.img
    Found linux image: /boot/vmlinuz-linux
    Found initrd image: /boot/initramfs-linux.img
    No volume groups found
    Found Windows Boot Manager on /dev/sda3@/EFI/Microsoft/Boot/bootmgfw.efi
    error: out of memory.
    error: syntax error.
    error: Incorrect command.
    error: syntax error.
    Syntax error at line 216
    Syntax errors are detected in generated GRUB config file.
    Ensure that there are no errors in /etc/default/grub
    and /etc/grub.d/* files or please file a bug report with
    /boot/grub/grub.cfg.new file attached.
    done
    What should I do to dual boot with Windows?
    My /etc/grub.d/40-custom file is
    #!/bin/sh
    exec tail -n +3 $0
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    if [ "${grub_platform}" == "efi" ]; then
    menuentry "Microsoft Windows Vista/7/8/8.1 UEFI-GPT" {
    insmod part_gpt
    insmod fat
    insmod search_fs_uuid
    insmod chain
    search --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 7467-9968
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    fi
    /boot/grub/grub.cfg is this
    When I select give Windows the highest priority, I receive a grub error. (When I manually try to load Windows from UEFI shell using fs0:\EFI\Microsoft\Boot\bootmgfw.efi or bootx64.efi, I receive "error: file '/boot/grub/x86_64-efi/normal.mod' not found. Entering rescue mode...
    grub rescue >")
    I know I the Windows 8 bootloader is there because I can boot into Windows from Grub if I install Ubuntu and run boot-repair.
    Tried this as well but nothing changes.
    Here is my /etc/default/grub
    Last edited by celebrimbor (2014-04-17 12:10:27)

    Thanks Visruth. I managed to get the Windows 8.1 up and running without the the recovery partition.
    On another topic, on the previous Windows 8.1 system. (before I deleted and reinstalled it, I downloaded recovery to a usb flash drive. THe RECOVERYflash drive contains 3 foldes named boot, efi and sources and also two files in the root diectory of the RECOVERYusb flash drive named bootmgr and bootmgr.efi. How would I use these files and folders, (for future reference)?

  • Port 8888 for MAMP-Apache vs. port 80 for OSX-Apache

    I'm trying to set up MAMP and don't know whether to choose port 8888 for MAMP-Apache or port 80 for the OSX-Apache. I had read that you can't use port 80 if file sharing is turned on because you can't have two versions of Apache running at the same time.
    Thanks for clarifying.
    Ramone

    I had read that you can't use port 80 if file sharing is turned on because you can't have two versions of Apache running at the same time.
    Mac OS X's built-in File Sharing uses port 548(AFP) and doesn't have anything to do with Apache.
    (51933)

  • Which is better MAMP or XAMMP for OS X Mavericks?

    Which is better MAMP or XAMMP for OS X Mavericks? Hope I will get the information with Pros and Cons of both application...

    Which is better MAMP or XAMMP for OS X Mavericks? Hope I will get the information with Pros and Cons of both application...

  • What is it with yield() that I don't understand?

    The following code starts a thread that awaits a notification that never comes. However, I was expecting the Foo main thread to enter the running state again sometime after it yields and print the last line "main running again", but not so. The program hangs and never execute main's last print statement.
    class Task extends Thread {
    Foo foo;
    Task (Foo syncOnThis) {
        foo = syncOnThis;
        @Override
        public void run () {
        synchronized (foo) {
            System.out.println("task has the foo lock.");
            try {
                System.out.println("task about to release lock.");
                foo.wait();
            } catch (InterruptedException ie) {
                System.err.println("task was interrupted.");
            System.out.println("task was notified!");
    public class Foo {
        private synchronized void notifier() {
            notifyAll();
            System.out.println("foo notified all");
        public static void main(String[] args) {
            Foo foo = new Foo();
            Task alpha = new Task(foo);
            alpha.start();
        Thread.yield();
            try {
                Thread.sleep(500);
            } catch (InterruptedException ie) {
                System.out.println("Foo's sleep interrupted");
                System.out.println("main thread running again");
    }My understanding of yield() is that it offers to demote the current thread to the runnable state in order to allow other threads - in this case Task - to enter the running state. But once Task calls wait(), it also retreats from the running state and this is where I expect the main thread to become running again.
    If I swap yield() with something like
            try {
                Thread.sleep(500);
            } catch (InterruptedException ie) {
                System.out.println("Foo's sleep interrupted");
            }then it main does actually return to a running state and executes the last statement.
    what is it with yield() that I don't understand?

    krzn wrote:
    I see.Do also note that yield seldom is used these days. You most likely have a bug in your implementation or design if you think you need to call yield, or you are executing on a really old VM or on an odd system.
    (The first versions of the Solaris VM didn't use round robin so you had to release the execution to avoid starvation.)
    Kaj

Maybe you are looking for

  • Bookmarks of Firefox Sync lost & Request to restore Firefox Sync data

    I'm using "Firefox Sync" to sync the bookmarks between a desktop and a tablet. On the desktop, the bookmarks include 2 parts: # all bookmarks by "Firefox Sync" is updated to "Mobile device" folder; # another part is bookmarks that only add/change by

  • Acrobat X Pro Install Fails OS 10.7.4

    Hello, On a new installation of CS6 D&W Premium, on Mac OSX (10.7.4) Everything seems to install except Acrobat, and I am left with the following after installation. Exit Code: 6 Please see specific errors and warnings below for troubleshooting. For

  • Want to use windows 7

    i just bought HP Pavilion 14-V025TX... can i use reformat my laptop using windows 7. is there driver for w7 for this model? tq

  • Outbound exchange mail being sent via SMTP instead of activesync

    This is kind of an advanced configuration and question, I'm pretty sure this is a bug but not sure how to get it to the right audience. I have several email accounts configured on my iPhone, two of the accounts share the same email address but are on

  • 2 buttons to choose one of 2 images

    I am using DW jQuery Mobile and I need an example of how to use 2 radio buttons labeled Male and Female. when you click the Male button a male image is displayed and when you choose Female, a female image is displayed... So there would be 2 buttons a