« MACOSX » : différence entre les versions
| Ligne 39 : | Ligne 39 : | ||
Setting up PHP & MySQL on OS X Yosemite | Rob Allen: http://akrabat.com/php/setting-up-php-mysql-on-os-x-yosemite/ | Setting up PHP & MySQL on OS X Yosemite | Rob Allen: http://akrabat.com/php/setting-up-php-mysql-on-os-x-yosemite/ | ||
http://jeffbeeman.com/node/319 | http://jeffbeeman.com/node/319 | ||
https://github.com/laurentlepee/webserver-macos | |||
https://induste.com/threads/creer-son-environnement-de-developpement-web-local.575268/ | |||
</pre> | </pre> | ||
* GZIP | * GZIP | ||
| Ligne 45 : | Ligne 47 : | ||
ou | ou | ||
gzip -c grosfichier.dmg > grosfichier.gz (cpoie) | gzip -c grosfichier.dmg > grosfichier.gz (cpoie) | ||
</pre> | |||
* APACHE | |||
<pre> | |||
/usr/local/Cellar/httpd/2.4.41_1/homebrew.mxcl.httpd.plist | |||
$ sudo cp -v /usr/local/Cellar/httpd/2.4.41_1/homebrew.mxcl.httpd.plist /Library/LaunchDaemons | |||
$ sudo chown -v root:wheel /Library/LaunchDaemons/homebrew.mxcl.httpd.plist | |||
$ sudo chmod -v 644 /Library/LaunchDaemons/homebrew.mxcl.httpd.plist | |||
$ sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.httpd.plist | |||
</pre> | </pre> | ||