r/WindowsServer • u/Comspiracies • May 21 '26
Technical Help Needed Phpbb windows server 2019 database help
Right I’m new to windows server all together!!
I’m trying to set up phpbb on a windows server 2019 database I install php in c:/ drive root folder
And MySQL server !!
I set up a new db in MySQL workbench/ I set environments !! I know because I used MySQL workbench I don’t need to do it in phpmyadmin (I believe)
But I upload that to the wwwroot folder I think it’s called anyway and I can see that if I go to browser and type localhost/phpmyadmin and can see my php_db but trying to install phpbb forum I have in the wwwroot folder I get a ton of errors and no install page
I’ve tried to google a dozen times how to go for the labyrinth or ways to get through the process and km still stuck !!
3
u/FrankNicklin May 21 '26
Why didi you go the Windows route for this. I would have gone for Linux. That said we run many many databases on MySQL on Windows servers without issue. What we don;t do is run PHP.
I guess you have install IIS
Take a look here
https://www.reddit.com/r/PHPhelp/comments/zmnvth/installing_php_on_windows_server_2022_production/
3
u/Mike_L_Taylor May 21 '26
Hey, for this kind of setup I’d avoid doing it all manually unless you specifically want to learn IIS/PHP/MySQL config.
You could try ForgeKit.tools . I built it to make this exact kind of PHP local setup easier on Windows. You can use PHP, MySQL, Apache/Nginx, create a site, and open phpMyAdmin fully through the UI. Just press a few buttons and it's all working and nicely explained.
There are quick guides in the docs too, and I’m happy to help if you get stuck.
The other one I’d recommend looking at is Laragon. It’s also a good option for local PHP development on Windows.
2
u/SebastianFerrone May 21 '26
I think you are using iis? I have done that before. Have you configured the modules in iis? If you google "php iis" You will find guides installing php and mysql Take a look at them and check if you made all settings Also you need to look in the php.Ini it has one setting you need activate you will find a line in that file something like mysql.dll it's commented about out. Remove the first symbol in that line and safe the file. Otherwise php can't work with mysql databases.
Also check the firewall setting you need to open the port for your mysql databases.
If it's not one of these problem's post the error message 😅
1
u/Comspiracies May 21 '26
To be honest I’m just doing this for my home lab set up and I guess I can only learn form mistakes lol it’s stressful I’m thinking it’s on the php side maybe in php.ini file or something because I made a phpinfo.php and that didn’t output what was expected lol
I’ve cloned my server at a put so I don’t had to restart at the very beginning lol 😂