Changes between Version 62 and Version 63 of howto/MAMP
- Timestamp:
- Nov 26, 2012, 7:35:25 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/MAMP
v62 v63 256 256 }}} 257 257 258 As of the php54 port, installing PHP to work in Apache is a separate port rather than a variant of the php5 port and so should be installed with: 259 {{{ 260 sudo port install php54 php54-apache2handler 261 sudo port install php5-mysql 262 }}} 263 264 258 265 '''''Note:''''' the php5 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 (such as MySQL support via the php5-mysql port). Use `port search php5` to see all the ports that are available. 259 266 … … 264 271 sudo /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so 265 272 }}} 273 274 As of the php54 port, the module has been renamed to mod_php54.so and so the command should be 275 {{{ 276 cd /opt/local/apache2/modules 277 sudo /opt/local/apache2/bin/apxs -a -e -n "php5" mod_php54.so 278 }}} 279 266 280 267 281 Update Apache’s `httpd.conf` file to enhance the "DirectoryIndex" directive to include additional "index" files. Search for: