![]() You will find libphp.so file in /Applications/MAMP/bin/php/php8.1.10/lib/httpd/modules/ or /usr/local/lib/httpd/modules/ We are getting the error at line number 160 in nf file because MAMP is looking for file libphp.so which is not avilable at path /Applications/MAMP/bin/php/php8.1.10/modules/libphp.so You can get more detail about the error by opening the apachectl file located at the path /Applications/MAMP/Library/bin You will get an error if you try to switch to the PHP version in MAMP and start server. Step 4: Restart MAMP and check for the latest version is showing. Otherwise, MAMP will not detect your version. Step 3: Rename the folder you pasted by following the naming convention used by the existing folders. To do it using command line use cp -r 8.1.10_1 /Applications/MAMP/bin/php/ Click on Go -> Go to Finder and paste the path /usr/local/Cellar/php.Ĭopy the folder and paste it to /Applications/MAMP/bin/php. Step 2: Next we need to copy the PHP folder 8.1.10_1. Step 1: Navigate to the location where PHP is installed. Once the version is installed on your machine, follow the below steps to change the PHP version on MAMP. In my case, PHP version 8.1.10 is already installed on the system, which I want to use with MAMP. ![]() ![]() ![]() If the required version is not in the /Applications/MAMP/bin/php folder, first, you need to install the version. You can check the installed PHP version at location /Applications/MAMP/bin/php. MAMP comes bundled with several PHP versions, and you can choose the recent two from the UI. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |