# Apache, MySQL, PHP development environment

**URL:** https://discuss.freedombox.org/t/apache-mysql-php-development-environment/106
**Category:** Uncategorized
**Created:** [May 5, 2019, 5:33am UTC](https://discuss.freedombox.org/t/apache-mysql-php-development-environment/106 "2019-05-05T05:33:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Denver49](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/d/ecccb3/32.png) [@Denver49](https://discuss.freedombox.org/u/Denver49)
#### Post date: [May 5, 2019, 5:33am UTC](https://discuss.freedombox.org/t/apache-mysql-php-development-environment/106/1 "2019-05-05T05:33:44Z")

</div>

Having found a reference in the Manual to PHP, am I correct in assuming PHP and MySQL can be set up on a FreedomBox? Almost daily, I use a WAMP stack (WampServer) on a Windows 10 PC as my website development environment. And through my cPanel web hosting reseller account, I host about 30 small business websites. My intention would be to host a few personal websites on the FreedomBox just to see how it all works.

---

<div class="post-metadata">

### Author: ![Sunil](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/sunil/32/8_2.png) [@Sunil](https://discuss.freedombox.org/u/Sunil)
#### Post date: [May 9, 2019, 7:09am UTC](https://discuss.freedombox.org/t/apache-mysql-php-development-environment/106/2 "2019-05-09T07:09:39Z")

</div>

By default, PHP and Apache are setup on FreedomBox. This means that you can place your files in /var/www/html and they will be served with proper domain setup and auto-managed Let’s Encrypt certificates etc.

If you want MySQL as well, you can run `sudo apt install mysql-server` in SSH terminal or web terminal via Cockpit.

Be sure to let us know how it goes 🙂

---

<div class="post-metadata">

### Author: ![Denver49](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/d/ecccb3/32.png) [@Denver49](https://discuss.freedombox.org/u/Denver49)
#### Post date: [May 9, 2019, 11:17pm UTC](https://discuss.freedombox.org/t/apache-mysql-php-development-environment/106/3 "2019-05-09T23:17:25Z")

</div>

Thanks for the response. If I don’t get overwhelmed by medical bills following a recent surgery, I’ll order a FreedomBox later this month.
