toggle

AAPL Stock: 98.19 ( -0.19 )

Printed from http://www.macnn.com

MAMPStack 5.5 offers Apache, MySQL, PHP

updated 03:05 pm EDT, Tue September 5, 2006

MAMPStack 5.5 released

BitRock today released MAMPStack 5.5, a distribution of the Apache Web server designed for easy installation that features PostgreSQL, PHP, Python, and supporting libraries for Mac OS X. The installer allows users to quickly install and configure MAMPStack on Mac OS X systems. MAMPStack is licensed under the terms of the Apache License 2.0, and available for free via download. MAMPStack 5.5 features an integrated package usable by both commercial and open-source projects for rapid deployments in both development and production environments (system requirements were unavailable).




by MacNN Staff

POST TOOLS:

TAGS :

toggle

Comments

  1. dwishbone

    Joined: Dec 1969

    0

    this is a great product

    ive used previous versions of MAMP and ive never found an easier webserver/database solution to deploy than this. its mac drag and drop ease, has all the tools most webadmins would need, and super easy to configure and activate/deactivate...and doesnt effect any of the installed versions of the included technologies.

  1. dwishbone

    Joined: Dec 1969

    0

    oops

    this isnt MAMP..this is MAMPstack...sorry. never used this. but MAMP rules.

  1. mappingman

    Joined: Dec 1969

    0

    Mac Version Not PostgreSQ

    The Mac version has MySQL (Labeled MySQK on thier site). All of the Linux builds have PostgreSQL.

  1. Kemp

    Joined: Dec 1969

    0

    MAMPStack installation

    I thought this experience with setting up MAMPStack might be of use to others. Though either MAMP or MAMPStack should be pretty equivalent, I downloaded and installed MAMPStack 5.5 since the versions were a tad newer and it had Python as well. It went smoothly with one important issue which I was able to resolve as detailed here.

    After the install, the Apache test went fine. Starting MySQL went fine. But verifying that it was up with the following:

    Prompt> /Applications/mampstack-5.5/mysql/bin/mysqladmin -p version

    Returned the following:

    /Applications/mampstack-5.5/mysql/bin/mysqladmin: connect to server at ‘localhost’ failed error: ‘Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)’ Check that mysqld is running and that the socket: ‘/tmp/mysql.sock’ exists!

    The configuration was looking in /tmp for the MySQL socket, which actually was to be found in: /Applications/mampstack-5.5/mysql/tmp/mysql.sock

    I cd’d to the /tmp directory and created a symbolic link to the actual location of the file:

    ln -s /Applications/mampstack-5.5/mysql/tmp/mysql.sock mysql.sock

    That provided the key link and everything worked.

    It is as though the programs in /mysql/bin/ are hard-coded to look in /tmp for mysql.sock. They must be configurable but I haven’t figured it out yet. In any case, the symbolic link fix is simple and works even if it’s a bit of kludge.

    Perhaps this would not be an issue with MAMP. But I think I had to deal with a similar issue during the install of MySQL 4 so it may be a more general issue.

    I emailed BitRock about this and promptly received the following response:

    ------------------------------------------------ Thank you for interest in MAMPStack, and inform us of this problem. You need run the mysql programs adding the following option:

    –socket=/Applications/mampstack-5.5/mysql/tmp/mysql.sock

    For example: /Applications/mampstack-5.5/mysql/bin/mysqladmin –socket=/Applications/mampstack-5.5/mysql/tmp/mysql.sock -p version

    This is currently wrong in our documentation, but we have fixed this for the next release of MAMPStack.

    Thanks! Ana – BitRock Support support@bitrock.com

    ------------------------------------------------

    Let me also mention that I use TinkerTool (avilable free at http://www.bresink.com/osx/TinkerTool.html) to make hidden directories and files appear in the Finder. When hunting for files this can be very handy, especially since SpotLight failed to find files like mysql.sock and I had to find them manually (one could also use Terminal to find them at the command line but I preferred the GUI). I just turn on the hidden files when I need to, and relaunch the Finder. I switch it back when I am done.

    Kemp

  1. Kemp

    Joined: Dec 1969

    0

    symlink fix is temporary

    A symbolic link in /tmp is not persistent across reboots. I guess one can: 1. create a startup script to recreate it (see the following links: http://docs.info.apple.com/article.html?artnum=301446 http://www.bombich.com/mactips/loginhooks.html) or 2. go with the BitRock solution for the time being until release 5.6.

    Kemp

Login Here

Not a member of the MacNN forums? Register now for free.

toggle

Network Headlines

toggle

Most Popular

MacNN Sponsor

Recent Reviews

Adesso Xtream S3B Bluetooth speaker

Finding a speaker purpose-built for a specific need is challenging. Even when a Bluetooth speaker can be paired with a mobile device, ...

JBL Synchros E40BT headphones

For all the different configurations of headphones on the market, it's always a tough choice for buyers to get something that is just ...

Razer Taipan mouse

The list of gaming devices is growing larger with each passing day. A large number of companies have entered the gaming input arena, a ...

toggle

Most Commented