A social network that was designed and created for the ECommmerce class in the Vanier College Computer Science Technology program.
Live demo comming soon.
- Open xampp control panel
- Open apache config (httpd.conf)
- Add the following lines at the end of the file:
<VirtualHost *:80>
DocumentRoot "C:\xampp\htdocs\eCommerceCaseStudy\public"
ServerName devbana.tk
ServerAlias www.devbana.tk
</VirtualHost>
- Go to C:\Windows\System32\drivers\etc and edit the hosts file
- add the following line:
127.0.0.1 devbana.tk
Yay you are done!
Already comes installed with XAMPP, all you need is to enable it :)
- Open xampp control panel
- Hit apache config button and choose php.ini
Ctrl+F
and find [XDebug] at bottom if you feel like scrolling- remove everything because we don't need profiler, that's too advanced bruh
- Copy & Paste these lines
[XDebug]
zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
- Finally Restart apache and rejoice.
- Easy test is var_dump. If you session dump at the top looks different, Xdebug is working great.
- Open Run->Edit Configurations
- In defaults, choose PHP Web Application and write the start url as
http://devbana.tk
- Click on the 3 dots near server now
- Add a new entry as [name wtvr] with host
localhost
on port80
withXDebug
- Ignore path mapping, we're local
- Back in PHP Web App config choose your new server
- You can now run debug which will open a new XDebug session and send you to our index page.
- Add breakpoints as you wish, dig through objects and step through as much as your heart desires.