Chrome theme designed for Mac OS X 10.10 Yosemite. I have a MacBook Air and I downloaded this on my Windows custom rig. I just wanted the cool little iOS. MacOS Mojave ships with PHP 7.1, High Sierra 7.1, Sierra ships with PHP 5.6, OSX 10.11 El Capitan with PHP 5.5.x, there is an easy upgrade method to either the latest PHP version 7.3 or 7.2 or you can also go back to the older stable version 5.6. Repair Permissions. This should be one of the things that you do before installing an upgrade to the. Any Mac built in the last 10 years comes with Apache and PHP installed and ready to go. All you need to do is run one command to start apache (apachectl start) and un-comment 1-2 lines in httpd.conf. Installing massive packages that leave you with multiple copies is NOT necessary.If you want a friendly interface and a box to check, get Apple's Server application. Boson Graphical Neural Network A 128-bit Neural Network Graphics and Physics Engine for Mac OS X 10.10. Built with Metal and Swift. Must be a registered Mac Developer with Yosemite installed. Required to build: Quartz Composer, Nvidia CUDA SDK, Max 6.1 or Max 7, Swift Compiler and Metal Compilers. Written by Eli Hutton in 2014.
I mainly do web development on my 15 in Macbook Pro. Mac runs on base Unix foundation so mainly you could install almost all Linux/Unix software on Mac very easily.
Mac OS X comes by default with ApacheWeb Server and PHP. In this tutorial we will go over steps on how to enable those on Mac.
Let’s get started:
Enable Apache Web Server
Step-1
Open terminal App and run below command:
Step-2
Open browser and check with URL: http://localhost
Enable PHP Module and verify Perl module
Step-1
Open Terminal
App. Mac OS X comes by default with Perl library
. Just type below commands to check Perl and PHP Setup.
2 4 6 8 10 12 14 16 18 | /usr/bin/perl bash-3.2# pwd total120 -rw-r--r--1root wheel13077Sep92014magic drwxr-xr-x14root wheel476Sep92014extra -rw-r--r--1root wheel20786Sep92014httpd.conf -rw-r--r--1root wheel20786Jun913:55httpd.conf.bak bash-3.2# vi httpd.conf |
Step-2
Open file httpd.conf
file. You may use any Text Editor
also.
Uncomment the following line (remove #): LoadModule php5_module libexec/apache2/libphp5.so
Step-3
Restart Apache Web Server:
Step-4
- Find
DocumentRoot
fromhttpd.conf
file. In my case it’s/Users/crunchify/Documents/Blogs/MAMP
as I’m using MAMP on my Mac. - You may have diff folder something like
/Library/WebServer/Documents/
. - Create below file
crunchify-php-on-mac.php
under your DocumentRoot folder. - If you don’t see folder
Web Server
then just create it 🙂
2 4 6 8 | <head> </head> <?phpecho'<p>Hello World - PHP Testcase on Mac OS X by Crunchify.com...</p><br>Have a fun.. Enjoy..';?> </html> |
Step-5
Now visit this URL: http://localhost/crunchify-php-on-mac.php
and you should see php file loaded successfully on browser.
Firefox For Mac Yosemite 10.10
How to Kill Apache httpd process on Mac?
Just incase if you need to kill apache httpd process on Mac then you could use below commands.
2 | sudo launchctl unload/System/Library/LaunchDaemons/org.apache.httpd.plist |
Enjoy and Happy coding…
Join the Discussion
Firefox For Mac Yosemite
If you liked this article, then please share it on social media or leave us your comments. Limited time 3 months free WPEngine hosting.