Install xmlrpc php mamp pro5/5/2023 Update the above command as per your php version. Then on the top, in a blank line, add the following code:Īlias phpmamp='/Applications/MAMP/bin/php/php7.1.8/bin/php' We are using nano, you can use vim if you want: Open your terminal, and run the below command to open profile. For this we first need to create an alias for MAMP's PHP installation, for this, we will add the code for making a new alias in our bash profile. Now as PHP is installed within MAMP, we would want that Composer should use PHP installation that was done along with MAMP. Install Composer globally using MAMP's PHP installation These days almost all the libraries are using composer. It downloads all the dependency that any project has on external libraries. Click on Start Server to start the Apache Web server and MySQL database server.Ĭomposer is a Dependency Manager for your project. Now go to your applications and double click on MAMP icon to start it. The installation process is pretty straightforward, with just one catch, MAMP Pro is also installed along with the MAMP free version, which you can, of course, uninstall later. Once the setup file is downloaded, click on it to start the installation. All you have to do is download the latest setup from MAMP's Official Website. I would suggest installing MAMP for macOS as it is more compatible with it and has a better user interface, which is a must for beginners. The most popular, cross-operating system software package is XAMPP, which is widely used for PHP development locally for Windows OS, but personally, it is not that good when it comes to the macOS. To do so, either you can install everything manually or you can install ready-made software packages, which comes packed with all the requirements for PHP development environment. As we know that the to setup development environment for PHP, you need a PHP parser, a Web Server and a database like MySQL or Oracle if you want to work on a dynamic website.
0 Comments
Leave a Reply. |