How to easily install Apache, MySQL and PHP in OS X Як легко встановити Apache, MySQL та PHP в OS X

by Ross McKillop on August 8, 2008 Росс McKillop на 8 серпня 2008

MacWeb Design & Dev

Using Використання MAMP MAMP , you can quickly and easily install Apache, PHP and MySQL on your Mac. Ви можете швидко і легко встановити Apache, PHP та MySQL на Вашому Mac. Installing each package separately is totally possible, but MAMP offers a number of advantages vs. individual installations. Установки кожного пакета в окремо, цілком можливо, але MAMP пропонує ряд переваг проти окремих установок. MAMP will not alter or interfere with an existing version of Apache already running on your Mac. MAMP не буде змінювати або втручатися в існуючі версії Apache вже працює на вашому Mac. If Apache/MySQL/PHP are no longer needed, delete the MAMP folder and everything returns to its original status. Якщо Apache / MySQL / PHP більше не потрібні, необхідно видалити папку MAMP і все повертається у вихідне положення. Keep reading for a walk-through of the installation and initial setup. Тримайте читання для поетапний огляд процесу встановлення та початковому налаштуванні.

  1. First things first, Насамперед, download MAMP завантажити MAMP . . Open the .DMG file, review the license, and click the Agree button. Відкрийте файл. DMG файл, можна переглянути ліцензії, та натисніть Приймаю.

  2. click to enlarge Збільшити

  3. Now drag the MAMP folder to your Applications . Тепер перетягніть папку MAMP до додатків. Ignore the MAMP PRO folder (unless you want to purchase MAMP Pro – it does include some Ігнорувати MAMP PRO папки (якщо ви хочете придбати MAMP Pro - це включає в себе деякі extra features додаткових функцій , but it's not free). , Але це не безкоштовно).

  4. click to enlarge Збільшити

  5. Give MAMP a minute to install. Дайте MAMP хвилин для установки.
  6. Navigate to your Applications , select the MAMP folder, and double-click MAMP.app . Перейдіть на Додатки, виберіть папку MAMP, а потім двічі клацніть MAMP.app.

  7. click to enlarge Збільшити

  8. The MAMP interface will launch, and Apache and MySQL will start. Інтерфейс MAMP буде запускати і Apache та MySQL почнеться.

  9. click to enlarge Збільшити

  10. Your browser will open and load the MAMP dashboard (http://localhost:8888/MAMP/?language=English). Ваш браузер відкриється і завантажить Dashboard MAMP (http://localhost:8888/MAMP/?language=English). This page includes all of the info on the default settings for your MySQL server, and allows you to quickly access the included tools (phpinfo, phpMyAdmin and SQLiteManager) Ця сторінка містить у собі всі інформацію про настройки за замовчуванням для вашого сервера MySQL, і дозволяє швидко отримати доступ до включити інструменти (phpinfo, PHPMyAdmin і SQLiteManager)

  11. click to enlarge Збільшити

  12. Select phpMyAdmin to configure your MySQL databases. Виберіть PhpMyAdmin для налаштування бази даних MySQL.

  13. click to enlarge Збільшити

  14. Your web server “home” folder (document root) can be found in the htdocs sub-folder of MAMP. Ваш веб-сервер "додому" папку (документ кореня) може бути знайдена в htdocs під-каталог MAMP.

  15. click to enlarge Збільшити

  16. Place your .html, .php etc files in htdocs, and they'll be viewable at http://localhost:8888 Помістіть. HTML,. PHP і т.д. файли в htdocs, і вони будуть переглядатися на http://localhost:8888
  17. Return to the MAMP interface application, and click the Preferences… button. Назад до інтерфейсу програми MAMP і клацніть на кнопці Настройки .... The first tab allows you to control how the servers are started/stopped, if the start page should load when MAMP is opened, and the location of that start page. Перша вкладка дозволяє вам контролювати те, як запускаються сервери / зупинити, якщо початок сторінки має завантажуватися при відкритті MAMP, і місце розташування, що стартову сторінку.
  18. The Ports tab allows you to change the ports for Apache and MySQL. На вкладці Порти дозволяє змінити порт для Apache та MySQL.
  19. The PHP tab allows you to specify which version of PHP you'd like to use, if Zend Optimizer is enabled/disabled, and which cache to use. PHP вкладка дозволяє визначити, яку версію PHP ви хотіли б використовувати, якщо Zend Optimizer включено / вимкнено, а який кеш для використання.
  20. Finally, the Apache tab allows you to change the default Document Root. Нарешті, на вкладці "Apache дозволяє змінити кореневий документ за замовчуванням.
Related Posts: Схожі повідомлення:
  • How to install applications on your N95 from a local web server Як встановлювати програми на ваш N95 від локального веб-сервера
  • Bash one liner – how to compress, move, and extract a directory Баш Один балон - як стиснути, переміщати і екстракт каталозі
  • How to monitor MySQL in real-time with mytop Як контролювати MySQL в режимі реального часу з MyTOP
  • How to remotely access your MySQL in a secure manner Віддалений доступ до MySQL в безпечному режимі
  • How to reset a lost MySQL root password Як відновити втрачені кореневого пароля MySQL
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Отримати довідки Прості підручників, як це у вашому поштовому ящику щодня - безкоштовно! Just enter your email address below: Просто введіть свою адресу електронної пошти нижче:

    You can always opt out of this email subscription at any time. Ви завжди можете відмовитися від підписки це повідомлення в будь-який час.

    { 3 trackbacks } (3) Trackbacks

    How to install and setup Jinzora (streaming media server) in OS X - Simple Help Як встановити та налаштувати Jinzora (Streaming Media Server) в OS X - Проста довідка
    08.11.08 at 3:34 am 08.11.08 в 3:34 ранку
    How to install applications on your N95 from a local web server - Simple Help Як встановлювати програми на ваш N95 від локального веб-сервера - Проста довідка
    10.28.08 at 7:48 pm 10.28.08 в 7:48 вечора
    How to easily install Apache, MySQL and PHP in OS X – Simple Help Як легко встановити Apache, MySQL та PHP в OS X - Проста довідка
    07.22.09 at 4:33 pm 07.22.09 в 4:33 вечора

    { 2 comments… read them below or (2 коментарів ... читати їх нижче або add one Додати одну } )

    1 1 dq9 dq9 08.09.08 at 9:08 pm 08.09.08 в 9:08 вечора

    I used to use this to host my website, I used to pro version, but I could never figure out how to install an e-mail server using MAMP. Раніше я користувався цим провести мій сайт, я використав до версії Pro, але я ніколи не міг зрозуміти, як встановити сервера електронної пошти допомогою MAMP. Does any one know how to do this? Чи є одна знаю, як це зробити?

    2 2 IT Buzz ІТ-Buzz 07.05.09 at 6:49 am 07.05.09 в 6:49 ранку

    This is really a very easy way otherwise installing MYSQL, Apache and php is very difficult and configuring is more hectic job. Це дійсно дуже простий спосіб інакше Установка MySQL, Apache і PHP є дуже важким і налагодженні більш суєті роботу.

    Leave a Comment Залишити коментар

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Ви можете використовувати ці HTML теги і атрибути: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q Cite=""> <strike> <strong>