This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| #!/bin/sh | |
| sed -i.default "s/^zend_extension=/;zend_extension=/" /usr/local/etc/php/7.1/conf.d/ext-xdebug.ini | |
| launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.php71.plist | |
| launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php71.plist | |
| sudo brew services restart php71 | |
| echo "xdebug disabled" |