1Apr/084
Symfony development with XAMPP on Windows
This is how I set up my windows laptop for development with Apache/MySQL/PHP/Symfony (XAMPP with Symfony).
- Download XAMPP Installer package.
- Install XAMPP - this is really just a case of next -> next -> okay.
- Since I'm not only using my laptop for development I chose not to start any services except for XAMPP when windows starts.
- Start (from XAMPP Control Panel) Apache and MySQL (and whatever other services you need).
- Add PHP to your PATH.
- Right-click "This Computer", choose properties.
- Advanced tab -> Systam variables (not sure, my system is in Swedish 😉 )
- Add C:\xampp\php;C:\xampp\mysql\bin (if installed in default location) to the PATH variable.
- Upgrade Pear - pear upgrade pear
- Find Symfony - pear channel-discover pear.symfony-project.com
- Install Symfony - pear install symfony/symfony
- Done! Start playing around...