Web hosting
Publié le 6 Mars 2020 à 12h44 - 359 vues

How to set up a Mac for php development ?

Two methods exist to configure and install on Mac, a complete development environment in order to web sites of appearance: Apache in the server role, PHP in the programming language and MySQL, essential in the role of the base data. Apple book necessarily a version of Apache, the most popular web server, and the latest version of PHP 5.

First method

It is very easy to develop its environment manually under MacOS X given that Apache has the advantage of being already installed on Mac OS X and embedded in the operating system. Then simply run it, set it up and learn how to handle it. Be careful to configure Apache for it to turn into a local site on a custom development domain: there are many tutorials on the internet regarding this issue. This first method also requires the installation of MySQL. Go download MySQL Workbench for mac directly on the official site. Install the application and start (from your application directory, not from the temporarily mounted volume). You'll quickly with a MySQL server installed locally and a great tool. You can now connect your PHP application to MySQL using localhost as root and no password.
So here you are with super "MAMP" environment (Mac, Apache, MySQL, PHP) that will allow you to develop your own local project directly without having to depend on third programs that do not necessarily correspond to your needs.

Second method

The second solution is to install an application all in one as MAMP (for Macintosh, Apache, MySQL, PHP). This is a complete stand-alone solution that does not depend on Apache, or PHP version installed by Apple. However, you must ensure the prerequisites for the implementation of programs. In the development context of web applications, a web server with PHP is required. The MAMP software can run a local web server on a machine running on Mac OS X.

To know the best solution for you, ask our custom php application development, here !

Les publications similaires de "Consulting"

  1. 6 Fév. 2020Hire a team for your web application601 vues
  2. 7 Janv. 2020Hiring the right people for your project online765 vues
  3. 30 Déc. 2019Online shopping solutions for electronic equipment858 vues
  4. 6 Nov. 2019The best options and solutions for Php website development1139 vues
  5. 10 Oct. 2019Your advanced Php application development with Simplyphp1609 vues
  6. 26 Sept. 2019Top performing Php web development companies1786 vues
  7. 4 Mai 2019The best way to deliver real results in Php programming4890 vues
  8. 23 Avril 2019What a true Php developer can offer to a team4626 vues
  9. 8 Mars 2019Understanding the Magento open source platform5104 vues
  10. 20 Fév. 2019The importance of Php web development5070 vues
  11. 13 Janv. 2019The essential tools for any PHP developer2806 vues
  12. 7 Sept. 2018The world's largest financial service marketing company in history3923 vues
  13. 14 Août 2018Koddos offers you the security that your online business requires3509 vues