User Tools

Site Tools


macos_lamp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macos_lamp [2017/06/22 08:53] adminmacos_lamp [2021/12/06 23:02] (current) – removed admin
Line 1: Line 1:
-====== MacOS Lamp install ====== 
  
-===== Install required Software ===== 
- 
-  brew install php70 --with-httpd24 
-  brew reinstall php70 --with-httpd24 
- 
-===== Unload macos' system apache ===== 
- 
- 
-  sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist 
- 
-===== General config ===== 
- 
-  atom /usr/local/etc/apache2/2.4/httpd.conf 
- 
-===== Add PHP7 Module ===== 
-  
-Path depends on your installed PHP Version! 
- 
-  LoadModule php7_module        /usr/local/Cellar/php70/7.0.19_11/libexec/apache2/libphp7.so 
- 
-===== Allow php mime type in <IfModule mime_module> ===== 
- 
-  AddType application/x-httpd-php .php .phtml .php3 
- 
- 
-===== Config for Extra vHosts: ===== 
- 
-  atom /usr/local/etc/apache2/2.4/extra/httpd-vhosts.conf 
- 
-===== HTDOCS ===== 
- 
-  ls -la /usr/local/var/www/htdocs/ 
- 
-## Notes about installing mysql/mariadb should go here ... 
macos_lamp.1498114409.txt.gz · Last modified: 2017/06/22 08:53 by admin