What's new
Carbonite

South Africa's Top Online Tech Classifieds!
Register a free account today to become a member! (No Under 18's)
Home of C.U.D.

Help needed with MySQL and PHP on Windows Server 2012 R2

SantaMuerte

VIP
VIP Supporter
Rating - 100%
185   0   0
Joined
Dec 19, 2010
Messages
9,697
Reaction score
2,013
Points
19,165
Howdy gents

I have found myself with a need to host a PHP application and some Wordpress installations on a dedicated Windows server, however I am having issues with setting up the environment.

I can see the sites when I point my browser to them which leads me to believe the PHP environment is functioning, but I am not getting a connection to MySQL.

I set up MySQL community 8.0 on the server and created the databases. MySQL is telling me that the environment is running fine.

After trying a ton of shit off Google I even went as far as installing MySQL through the Microsoft Web Platform installer and adding the Wordpress sites from there as well. It creates the databases with error. Databases are displaying inside MySQL workbench.

That said, it must be some authentication issue I presume.

Is there anyone here that has PHP app / site instances running on Windows Server and MySQL that can assist me with getting this up and running?
 
Managed to sort it out.

Turns out Web Platform Installer failed on installing PHP Manager for IIS which is necessary for Fast CGI to function properly. Web Platform Installer's PHP Manager for IIS is a few years behind and incompatible with newer OS's. Had to manually download it for IIS 10. Installed it and it added the options I needed to IIS to configure Fast CGI for the sites.
 
Only saw this now, else I would have offered to help.
Make sure that the box is locked down tight after exposing php to it.
 

Users who are viewing this thread

Latest posts

Back
Top Bottom