Page 1 of 1

PHP Tools & MySQL

PostPosted: August 17th, 2017, 2:15 pm
by davidshq
Hi Folks,

I'm just diving into PHP Tools for VS 2017. Can I make a suggestion? Add a MySQL install / config to your PHP Tools installer.

I know technically this isn't part of PHP, but it can be a bit confusing to folks, especially after you offer to setup php/xdebug for them. It would be a much more newbie friendly solution if it included a MySQL install.

Granted, you don't need to build this yourself, but perhaps it could be triggered during the install? Sort of how you trigger php/xdebug install as mentioned above?

I see I'm not the first person to come here looking for MySQL:
http://support.devsense.com/viewtopic.php?f=21&t=2036&p=8908&hilit=mysql#p8908
http://support.devsense.com/viewtopic.php?f=21&t=1967&p=8717&hilit=mysql#p8717
http://support.devsense.com/viewtopic.php?f=21&t=1667&p=7605&hilit=mysql#p7605

If not adding it to the installer, it might be useful to add it to the documentation, right now the documentation (and videos) kind of make it sound like you are all set to start developing DB enabled apps (e.g. WordPress) after installation of PHP Tools.

Sincerely,
Dave

Re: PHP Tools & MySQL

PostPosted: August 23rd, 2017, 9:44 am
by simx
Whenever I need to do anything with PHP & MYSQL I tend to use XXAMP and just connect to localhost in the php code.

Hope that helps.

Re: PHP Tools & MySQL

PostPosted: August 28th, 2017, 10:59 am
by Miloslav Beno
simx: Yes, good approach. Simply and effective.

David: I would do what simx suggests, or if you want you can use Web Platform Installer to set up everything for you for specific framework (internally PHP tools also use WebPI to install PHP). E.g. for Wordpress you can take a look here, it's an older article, but it should work https://codex.wordpress.org/Installing_on_Microsoft_IIS

Thanks,