As noted in my posts on installing Apache, PHP and MySQL on Mac OS X, Mac OS X comes pre-installed with Apache and PHP. Unfortunately, often the PHP version pre-installed with Mac OS X is outdated:
- Download Php 5.6 Windows 10
- Php 5.6
- Php 5.6 Download Mac 10.10
- Php 5.6.40 Download
- Php 5.6 Download Mac Installer
- Php 5.6 Download
- Download Php For Mac
PHP is a server-side, cross-platform, HTML embedded scripting language. If you are new to PHP and want to get some idea of how it works, try the online manual, and the example archive sites. BeSoftware Best WordPress theme for softwares. Chamilo LMS 1.11.12 for PHP 5.6.x.
- Mac OS 10.11 (El Capitan) pre-installed with PHP 5.5
- Mac OS 10.12 (Sierra) pre-installed with PHP 5.6
- Mac OS 10.14 (Mojave) pre-installed with PHP 7.1
Many of these PHP versions are already end of life. In fact, macOS Mojave was the first time the pre-installed version was recent - although still not the latest PHP version.
So what do you do if you want to upgrade or install a different PHP version on your Mac? Well, you could use Homebrew. But I found a pre-packaged alternative - PHP OSX.
PHP OSX is a package installer for PHP versions 5.3 to 7.3 (current). It's available for Mac OS 10.6+ (Snow Leopard to Mojave). While installing PHP OSX is just a few steps, I'll walk you through each of them.
Installing PHP
First, choose the version of PHP you want to install. In this example, I'll install PHP 7.2 as that is the latest stable version of PHP. However, if you want to install PHP 7.1 that is available as well.
If you're not comfortable executing scripts from the Internet, you can do the install by hand.
Configuring Apache
Provided you are using the pre-installed version of Apache, PHP OSX will add the
/etc/apache2/other/+php-osx.conf
configuration file which will automatically be loaded by Apache.
Download Php 5.6 Windows 10
If you had previously enabled PHP (as I did), you'll need to comment out the following line in
/etc/apache2/httpd.conf
:
If you are running an older version of Mac OS X, the line may be:
Updating your PATH
Although Apache will now run the new version of PHP, the command line will not. In order for the command line to use the new version of PHP you will need to update your
PATH
.
If you don't want to run the command above every time you open a new terminal, you can update the
PATH
in your .bash_profile
.
Configuring PHP
Finally, you will want to update some of the PHP configuration values. PHP OSX installs a PHP INI file for you to change. To edit this file, run:
If you kept all of your local PHP configuration within a single INI file (as I did), you can simply append it to the PHP OSX file with:
![Php Php](/uploads/1/2/6/1/126155645/901261702.png)
That's it!
Now you'll just need to review your PHP code to ensure it's compatible with your newly installed PHP version. And for that, I recommend PHP Shift.
Find this interesting? Let's continue the conversation on Twitter.
Php 5.6
Devices and Mac OS X version
VLC media player requires Mac OS X 10.7.5 or later. It runs on any 64bit Intel-based Mac. Previous devices are supported by older releases.
Note that the first generation of Intel-based Macs equipped with Core Solo or Core Duo processors is no longer supported. Please use version 2.0.10 linked below.
Note that the first generation of Intel-based Macs equipped with Core Solo or Core Duo processors is no longer supported. Please use version 2.0.10 linked below.
Web browser plugin for Mac OS X
Support for NPAPI plugins was removed from all modern web browsers, so VLC's plugin is no longer maintained. The last version is 3.0.4 and can be found here. It will not receive any further updates.
Older versions of Mac OS X and VLC media player
We provide older releases for users who wish to deploy our software on legacy releases of Mac OS X. You can find recommendations for the respective operating system version below. Note that support ended for all releases listed below and hence they won't receive any further updates.
Mac OS X 10.6 Snow Leopard
Use VLC 2.2.8. Get it here.
Php 5.6 Download Mac 10.10
Mac OS X 10.5 Leopard
Php 5.6.40 Download
Use VLC 2.0.10. Get it for PowerPC or 32bit Intel.
Php 5.6 Download Mac Installer
Mac OS X 10.4 Tiger
Mac OS X 10.4.7 or later is required
Use VLC 0.9.10. Get it for PowerPC or Intel.
Mac OS X 10.3 Panther
Php 5.6 Download
QuickTime 6.5.2 or later is required
Download Php For Mac
Use VLC 0.8.6i. Get it for PowerPC.
Mac OS X 10.2 Jaguar
Use VLC 0.8.4a. Get it for PowerPC.
Mac OS X 10.0 Cheetah and 10.1 Puma
Use VLC 0.7.0. Get it for PowerPC.