Skip to navigation
How to install php with mac port
14.01.15
Step 1: Install PHP 56 $ sudo port install php56-apache2handler $ sudo port install php56-mysql Note: the php56 port contains the core PHP features, but there are many optional features available in separate ports, some of which you may want to install as well . Use port search php56 to see all the ports that are available. Step 2: PHP Configuration file setup Set up your PHP configuration files. For development purposes use: $ cd /opt/local/etc/php56 $ sudo cp php.ini-development php.ini or for a production server: $ cd /opt/local/etc/php56 $ sudo cp php.ini-production php.ini then make changes to that newly created php.ini file - /opt/local/etc/php56/php.ini Step 3: Install phpMyAdmin Use MacPorts to install the latest version of phpMyAdmin. $ sudo port install phpmyadmin
http://trac.macports.org/wiki/howto/PHP
Reply
Anonymous
Information Epoch 1732555803
Small is beautiful.
Home
Notebook
Contact us