How to easily install Apache, MySQL and PHP in OS X Kā viegli uzstādīt Apache, MySQL un PHP OS X

by Ross McKillop on August 8, 2008 by Ross McKillop 2008 August 8,

MacWeb Design & Dev

Using Izmantojot MAMP MAMP , you can quickly and easily install Apache, PHP and MySQL on your Mac. Jūs varat ātri un viegli uzstādīt Apache, PHP un MySQL uz Mac. Installing each package separately is totally possible, but MAMP offers a number of advantages vs. individual installations. Uzstādot katrā iepakojumā atsevišķi, ir pilnīgi iespējams, bet MAMP piedāvā vairākas priekšrocības, salīdzinot ar atsevišķu iekārtu. MAMP will not alter or interfere with an existing version of Apache already running on your Mac. MAMP nebūs mainīt vai ietekmēt pašreizējo versiju Apache jau darbojas jūsu Mac. If Apache/MySQL/PHP are no longer needed, delete the MAMP folder and everything returns to its original status. Ja Apache / MySQL / PHP vairs nav nepieciešama, izdzēsiet MAMP mapi un viss atgriežas pie tās sākotnējo stāvokli. Keep reading for a walk-through of the installation and initial setup. Turpiniet lasīt par arkveida un uzstādīšanu un sākotnējo setup.

  1. First things first, Pirmās lietas, pirmkārt, download MAMP download MAMP . . Open the .DMG file, review the license, and click the Agree button. Open. DMG fails, pārskatīt licences, un noklikšķiniet Piekrītu pogu.

  2. click to enlarge Uzklikšķiniet, lai palielinātu

  3. Now drag the MAMP folder to your Applications . Tagad velciet MAMP mapi jūsu Applications. Ignore the MAMP PRO folder (unless you want to purchase MAMP Pro – it does include some Ignorēt MAMP PRO mapi (ja vēlaties iegādāties MAMP Pro - tajā iekļautas dažas extra features papildu iespējas , but it's not free). , Bet tas nav bez maksas).

  4. click to enlarge Uzklikšķiniet, lai palielinātu

  5. Give MAMP a minute to install. Give MAMP minūtes instalēt.
  6. Navigate to your Applications , select the MAMP folder, and double-click MAMP.app . Dodieties uz savu programmas, izvēlieties MAMP mapi un veiciet dubultklikšķi uz MAMP.app.

  7. click to enlarge Uzklikšķiniet, lai palielinātu

  8. The MAMP interface will launch, and Apache and MySQL will start. MAMP interfeiss uzsāks, un Apache un MySQL sāksies.

  9. click to enlarge Uzklikšķiniet, lai palielinātu

  10. Your browser will open and load the MAMP dashboard (http://localhost:8888/MAMP/?language=English). Jūsu pārlūkprogramma atvērs un slodze MAMP paneļa (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) Šajā lapā ir visa info par noklusējuma iestatījumus MySQL serverim, un ļauj ātri piekļūt iekļauti rīki (phpinfo, phpMyAdmin un SQLiteManager)

  11. click to enlarge Uzklikšķiniet, lai palielinātu

  12. Select phpMyAdmin to configure your MySQL databases. Izvēlieties phpMyAdmin konfigurēt MySQL datu bāzēm.

  13. click to enlarge Uzklikšķiniet, lai palielinātu

  14. Your web server “home” folder (document root) can be found in the htdocs sub-folder of MAMP. Jūsu tīmekļa servera "mājas" mapē (document root) var atrast htdocs sub-mape MAMP.

  15. click to enlarge Uzklikšķiniet, lai palielinātu

  16. Place your .html, .php etc files in htdocs, and they'll be viewable at http://localhost:8888 Vieta jūsu. Html,. Php utt failus htdocs, un viņi būs apskatāms http://localhost:8888
  17. Return to the MAMP interface application, and click the Preferences… button. Atgriezties MAMP interfeisu pieteikumu, un noklikšķiniet uz Preferences ... pogas. 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. Pirmā cilne ļauj jums kontrolēt, kā serveri ir sākusies / pārtraukta, ja starta vajadzētu slodzes, kad MAMP ir atvērts, un vietu, kas sākas lapā.
  18. The Ports tab allows you to change the ports for Apache and MySQL. Ports cilne ļauj jums mainīt uz Apache un MySQL ostām.
  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 cilne ļauj jums norādīt, kuru versiju PHP vēlaties izmantot, ja Zend Optimizer ir iespējots / invalīdiem, un kas kešatmiņu izmantot.
  20. Finally, the Apache tab allows you to change the default Document Root. Visbeidzot, Apache cilne ļauj jums mainīt noklusēto dokumenta saknes.
Related Posts: Related Posts:
  • How to install applications on your N95 from a local web server Kā instalēt programmas savā N95 no vietējā interneta servera
  • Bash one liner – how to compress, move, and extract a directory Bash vienu starpliku - kā, lai saspiestu, pārvieto un ekstrakts katalogs
  • How to monitor MySQL in real-time with mytop Kā kontrolēt MySQL reālā laika mytop
  • How to remotely access your MySQL in a secure manner Kā attālināti piekļūt savam MySQL drošā veidā
  • How to reset a lost MySQL root password Kā lai atjaunotu zaudēto MySQL root paroli
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Get Simple Palīdzība konsultācijas tāpat kā šo vienu savā e-pastā ik dienas - bez maksas! Just enter your email address below: Vienkārši ievadiet savu e-pasta adresi:

    You can always opt out of this email subscription at any time. Jūs vienmēr varat atteikties no šīs e-pasta abonementu jebkurā laikā.

    { 3 trackbacks } (3 trackbacks)

    How to install and setup Jinzora (streaming media server) in OS X - Simple Help Kā instalēt un uzstādīšana Jinzora (raidošo mediju servera) OS X - Simple Help
    08.11.08 at 3:34 am 08.11.08 at 3:34
    How to install applications on your N95 from a local web server - Simple Help Kā instalēt programmas savā N95 no vietējā interneta serveri - Simple Help
    10.28.08 at 7:48 pm 10.28.08 at 7:48
    How to easily install Apache, MySQL and PHP in OS X – Simple Help Kā viegli uzstādīt Apache, MySQL un PHP OS X - Simple Help
    07.22.09 at 4:33 pm 07.22.09 at 4:33

    { 2 comments… read them below or (2 comments ... lasīt tos zem vai add one pievienot vienu } )

    1 1 dq9 dq9 08.09.08 at 9:08 pm 08.09.08 at 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. Es mēdzu izmantot šo uzņemt manā mājas lapā, es to pro versiju, bet es nekad nevarētu izdomāt, kā uzstādīt e-pasta serverī, izmantojot MAMP. Does any one know how to do this? Vai kāds zina, kā to izdarīt?

    2 2 IT Buzz IT Buzz 07.05.09 at 6:49 am 07.05.09 at 6:49

    This is really a very easy way otherwise installing MYSQL, Apache and php is very difficult and configuring is more hectic job. Tas ir patiešām ļoti ērts veids, citādi instalējot MYSQL, Apache un php ir ļoti grūti un konfigurēšana ir vairāk drudžains darbs.

    Leave a Comment Leave 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> Jūs varat izmantot šos HTML tagus un atribūtus: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>