Skip to content

Instantly share code, notes, and snippets.

View aayushdrolia's full-sized avatar
🕸️
Spider

Aayush Drolia aayushdrolia

🕸️
Spider
View GitHub Profile
@ankurk91
ankurk91 / example-virtual-host.ssl.test.conf
Last active March 13, 2024 03:53
Sample virtual host .conf file for Apache2 on Ubuntu
# This to be used when you need to implement SSL
# Make sure that apache mod_ssl is on
# You can generate self signed certificates for development
# http://www.selfsignedcertificate.com/
<VirtualHost *:443>
ServerName yourapp.test
#ServerAlias www.yourapp.test
@ankurk91
ankurk91 / xdebug-mac.md
Last active March 9, 2024 22:20
php xDebug v3 on Ubuntu/Mac and phpStorm

🪲 Install and Configure xDebug v3 on MacOS for PhpStorm 🐘

  • Assuming that you have already installed php and apache via Homebrew

  • Install xDebug php extension

pecl channel-update pecl.php.net
pecl clear-cache

pecl install xdebug