Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialTammy Bisetti
5,761 PointsCan I run XAMPP for doing PHP lessons and Mysql on my computer AND also dowload Desktop Server to run Wordpress? Multi
I recently installed XAMPP on my computer to run myPHP admin and MySQL and Apache and Perl cause I am taking PHP lessons on Treehouse. Simultaneously, I am learning Wordpress and just started the Wordpress Introduction to Local Wordpress.... It instructs me to download DESKTOP SERVER. Will this interfere with or work along with XAMPP. I did notice that XAMPP has a Wordpress Blog App that you can download but it doesn't allow for multiple Wordpress Site Develpment. I also found some info of questionable source that shows you online how to change the wordpress set up files to allow for installation in XAMPP of Wordpress and configure it to work with multiple wordpress sites Networked. The download of the 1st Wordpress Blog App that I found that is supposed to work within XAMPP on apachefriends.org shows that it is not for multiple sites and they are working on developing that. What route do I take?
2 Answers
Alena Holligan
Treehouse TeacherYou'll get a conflict between DesktopServer and XAMPP. You should be able to run DesktopServer and MAMP (mamp.info works on both mac and windows). We have workshops for installing MAMP on MAC and Windows.
I recommend using either MAMP or XAMPP for both PHP and WordPress development. The only issue you should run into is if you are installing on "localhost" you can only use subfolder NOT subdomain. You'll have to change your setting to use "localhost.com" or something else to allow subdomains. A tutorial like this should work: https://www.tipsandtricks-hq.com/install-wordpress-multi-site-in-localhost-using-xampp-6113
Tammy Bisetti
5,761 PointsI was reading the same link the other day and did some research on it. Do you actually use Wordpress in XAMPP for multisite? Do I need to do that? I only want to use it for testing, then I want to upload the site to another hosting service. Is this hard to do with XAMPP? The site for Desktop Server, (the paid version) says it is very easy to do with their install. i would rather do it for free with XAMPP if it is easy.
Alena Holligan
Treehouse TeacherIt depends on your definition of "hard" :) You'll just have to essentially set up the server to use subdomains yourself. Lot's of tutorials on doing this. Changing Apache config files.
Sally Gradle
24,694 PointsAccording to the DesktopServer website, this will not work. Check this documentation: link
Tammy Bisetti
5,761 PointsTammy Bisetti
5,761 PointsDesktop server uses XAMPP lite and doesn't have Perl? Also it doesn't have PHP 7 , it has an older version. It also appears that once you want to do more than 3 installs and if you want to easily move them to another server, you need to pay 100.00 per year. What I am wondering is if the Desktop server is better for the Wordpress development, but will not be so good for my PHP lessons? Also, the apachefrieds.or site includes many Bitnami add ons for Drupal and Joomla! for instance and PrestoShop for instance, that installs directly into XAMPP, will I need that as I learn more about developing?