![]() ![]() LoadModule php_module /usr/local/opt/php/lib/httpd/modules/libphp.so Use a text editor to edit /usr/local/etc/httpd/nf nano /usr/local/etc/httpd/nf With Zend OPcache v8.2.9, Copyright (c), by Zend TechnologiesĪfter installing PHP, if you are using Apache as your web server, you need to edit the Apache configuration file to integrate PHP. Zend Engine v4.2.9, Copyright (c) Zend Technologies Once the installation is finished, restart the shell and check the active PHP version.Configure PHP 8.3 as default: brew link -overwrite -force shivammathur/php/.To install a different PHP version just replace 8.3 with required version. Installing PHP: Use the below command to install PHP 8.3 on a macOS system.First, we need to add the shivammathur/php tap to homebrew.The latest version of PHP 8.2 is available to install. ![]() The latest version of macOS Sierra ships with PHP 5.6 and OSX 10.11 El Capitan with PHP 5.5, and OSX 10.8 Mountain Lion ships with PHP version 5.3. You can install Homebrew with the following command. It is useful for installing most open-source software like Node. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |