How to Install WordPress on Windows Server 2022 - Full Tutorial - WordPress Installation
HTML-код
- Опубликовано: 21 авг 2024
- Are you looking to learn how to install Wordpress on Windows Server 2022 Full Tutorial - WordPress Installation without using Web Platform Installer? In this tutorial, we'll guide you through the entire process step-by-step.
We'll start by showing you how to install the IIS web server and configure it to work with PHP. Then, we'll walk you through the installation of MySQL and MySQL Workbench for managing your databases.
Next, we'll cover the installation of PHP and Visual C++ Redistributable Packages for Visual Studio 2015. You'll also learn how to set up URL redirects for your Wordpress site.
We'll also discuss the installation of FastCGI and how to configure it to work with PHP. Finally, we'll guide you through the entire Wordpress installation process, from downloading the latest version to configuring your site.
By the end of this tutorial, you'll have a fully functional Wordpress site up and running on your Windows Server 2022 without using Web Platform Installer.
Don't forget to like and subscribe for more tutorials on web development and server administration!
Tools Required to Install WordPress:
wordpress.org/
dev.mysql.com/...
windows.php.ne...
www.phpmyadmin...
learn.microsof...
www.iis.net/do...
Edit Following lines in php.ini file
cgi.force_redirect = 0
cgi.fix_pathinfo = 1
fastcgi.impersonate = 1
fastcgi.logging = 0
extension=mysqli
extension=pdo_mysql
Complete Course on Cloud Computing
Cloud Computing Explained
#WordPress #Server2022 #VMware #CloudComputing #FullCourse #FreeEduHub #freeeducation
Reference Material
Cloud Computing, Second Edition
ISBN: 9781284233971
Reference Link: amzn.to/3HO931X
How to Install WordPress on Windows Server 2022 - Full Tutorial - WordPress Installation
The Cloud Computing Book, 1st Edition
The Future of Computing Explained
ISBN# 9780367706807
Reference Link: amzn.to/3Dd4UTK
Join us on
Twitter: / freeeduhub
Telegram: t.me/joinchat/...
Best Deals
amzn.to/46dsZFT
Best Coupons
amzn.to/45SiR5b
Digital Deals
amzn.to/47fQwGT
Warehouse Deals
amzn.to/49iuS6M
Your Queries:
WordPress installation on Windows Server 2022
Installing WordPress on Windows Server 2022
Windows Server 2022 WordPress installation guide
WordPress setup on Windows Server 2022
Windows Server 2022 and WordPress installation tutorial
WordPress installation requirements for Windows Server 2022
WordPress installation on Windows Server 2022 using IIS
Windows Server 2022 WordPress installation troubleshooting
Installing WordPress on Windows Server 2022 step-by-step guide
Free Education Academy
I don't often leave comments, but your ability to distill so much information into a concise 20-minute video is incredible. While others take forever to explain the basics, you get right to the heart of it. Your tutorial is excellent, and it's a bit surprising that you don't have a larger following. Great work!
Wow, thank you!
Thanks for your kind words
Thanks for the great tutorial. This is the second time I have used it to setup a local WordPress server. Very helpful.
Glad it was helpful!
This was great thanks so much for making it! There wasn't a lot of good information online yet about how to do this without WPI, but this was just what I was looking for.
so nice of you
thanks for visiting
Outstanding video. Anyone who used WPI should watch this....Thank you very much
You are most welcome
Thanks for visiting :)
Your are professional Devoloper and very useful information i really want to meet you thank you very much
Always welcome
Thanks for your feedback
I don’t usually comment. How he managed to put it all together in one 20 minute video, while everybody else milks it, it’s beyond my understanding. Amazing tutorial. It’s a shame you have not so many subscribers.
thanks for the kind comments
You have any video about configuring ftp and connecting it to wordpress?
no, its usually linked to a linux based hosting server
Сіздің біліміңіз керемет. Қазақстаннан сәлем
Қош келдіңіздер. Келгеніңіз үшін рахмет
Great tutorial! SO detailed. I appreciate it!
Glad it was helpful!
Great explanation on how to install wordpress on window server
Thanks for visiting
Awesome video. Really helpful after so much researching found ur video. Thanks man, appreciate it!
Glad it helped!
thanks for the detailed guide!
most welcome
thank you really apreciate it
last time i did thiswas on server 2012 and it was a bit different... but that was so long ago
thakn you : )
you are most welcome
Thanks for visiting
Very helpful! Thank you very much!
You are most welcome :)
Fantastic tutorial! You are really very good explaining everything. You've just saved my life. Thank you very much, man. Greetings from the Caribbean (DR)! 😎
Glad it helped!
Great video! Very useful.
Glad it was helpful!
Thank you thank you. Stumped for half a day with a 'Forbidden: Access is denied' error. It was the application pool credentials.
glad it worked
Thank's for this great tutorial and the clear explanation's!
you are most welcome :)
Nice I love it
I'm glad you like it
very helpful thanks so much!
when I click on test settings it says the user credentials are invalid? SRV2022DC/administrator which password do you use while setting it??
it should be your server name instead of SRV2022DC and then its a \ slash not forward slash
SRV2022DC/administrator
else you may try
.\administrator
or administrator
thats the admin account on server with its password
@@FreeEduHubcan you please guide me on where I can find the administrator password of the server?
its the account which you are logged in to the account. Or if you are using a different account with admin privileges.
Use that account
Thanks for the tutorial
Is this setup suitable for running Wordpress in production (in term of performance and security)?
its is good for production servers also. Just be focused about security and password strengths
Update: Found a fix for this problem
my wp-admin page is showing up as a directory, not as a dashboard. I cannot find any solutions online. The login page and install all work, the wordpress/index.php also works. Just the wp-admin dashboard shows up as a directory
To fix this, set the default document for your folder to index.php.
thanks for helping others :)
Hey, do we not have to do a URL redirect after this? If I am hitting the server name (or IP) to hit it remotely from another pc on the network, it redirects to "localhost/sitename/wp-admin". That is telling me that its redirecting the URL to look for "local host" instead of the IP.
localhost or 127.0.0.1 is the same things
on configuration file change the localhost to the actual IP or FQDN of the machine
care to share some insights on how to configure a custom PHP application that already has its own database(how to import), and you did not install PHPMyAdmin for remote access
yes i forgot to install phpmyadmin, its straight forward, just copy phpmyadmin files to the wwwroot directory
custom php applications with database will have its documentation for things required in php.ini
Once configured you can use any php application
@@FreeEduHub when I click on test settings it says the user credentials are invalid? SRV2022DC/administrator which password do you use while setting it??
it should be your server name instead of SRV2022DC and then its a \ slash not forward slash
SRV2022DC/administrator
else you may try
.\administrator
or administrator
thats the admin account on server with its password
hello if I install it to the Window server can the website be Live in places of the world? and can search it by using domain name?
you need a static ip and domain name for it
I have both but no idea where to input them?
Thank you, a great tutorial. One thing that I had to debug was when running the instnall.php it initially came up with the following error: Your PHP installation appears to be missing the MySQL extension. the extension=mysqli was correctly set in php.ini, but because I did not set an extension_dir in php.ini file, it did not recognize. After I figured it out, I got wordpress up and running !
Glad it helped
Thanks for your video. Do you have any clip to point real domain to public in windows server?
you will have to get a dedicated ip address for that
else use opendns
Ok, it was great video.. how do you make it live on domain connecting to godaddy?
you will host it to a hosting provider or get a static ip
hi I have an error with the last step: localhost/wordpress/wp-admin/install.php
the error: localhost cannot process this request
how do I solve this?
check your php.ini
its a configuration error
thank you - excellent!
You are welcome!
I am stuck at "application pool identity" must one create a new username or is this linked to an existing username? and must you put the \administrator as well? If you could just elaborate on that, that would be great.
you can use the same administrator account, but its not recommended. You must create separate account for it.
In some cases its requires \administrator, depends if you are working on individual computer or domain joined computer
Hi, thanks for your tutorial, i success to set up the wordpress but i cannot install the plugin/theme.
it requires write permission to wp-content. Make sure IUSR has permissions to the folder
in php.ini check max upload file size and post max size settings
@@FreeEduHub Thanks, i fixed and now i cannot upload the image with Specified file failed upload test. i have success to upload the image using php7 but failed in php8.
To you have any ideas? thanks
@@FreeEduHub thanks for your replay, i fixed the issue, now i cannot upload the image with php 8.3.3, i have success to upload the image using php 7, do you have any solution, thanks.
Thanks, I got Warning: Trying to access array offset on null in C:\Apache24\htdocs\wp-admin\async-upload.php on line 125
which i failed using PHP 8.3.3, but success with PHP 7
Hello,
I hope to receive a reply to my question.
First of all, thank you for this amazing tutorial!
Unfortunately, after following all of the steps, I am unable to install plugins. I receive a prompt to fill in some FTP information. After installing the FTP server, the login window appears, and the credentials are valid. However, I then receive the error message: "Installation failed: Unable to locate WordPress content directory (wp-content)."
Does anyone here have any suggestions?
Thank you.
Yes, you can
Its a permission issue for IUSR and IIS_IUSR group on wp-content folder
Configure Wordpress to use Direct File System method
wp-config.php > add the following define('FS_METHOD', 'direct');
Check rectriction on wp-content, web.config and .htaccess
All the best
it worked, fantastic! thanks for your help@@FreeEduHub
That was great - But ... How Can I make this website online?
you will have to host it on a public host like a paid service.
If you want to host it in a local network, you can do it, by accessing it via its local IP
Hey bro,
First of all, thanks for the tutorial.
I followed it through till where we are creating credentials for the wordpress application pool. I keep getting error that "the password is invalid. Try new password"
How do I solve this issue? I have tried so many passwords but none is working.
TIA
use the local administrator account
Thank's 🤩
You're welcome 😊
Is the website's performance affected compared to hosting on Linux Server?
Its not about of OS of the system, it really depends on the specs of the server hosting the website
Hi, Great video. It really helps a lot.
Can you pls explain about CGI invironment Variables PHP_fASTcgi_MAX_REQUEST = 100000 and the application pools custom account identity. Thank you
Yes, sure
Its explains how many max requests your cgi will be able to process
I'm trying to follow these steps but installing MySQL 8.0.28 on Windows Server 2022 and getting a pop up saying MySQL Workbench "Unsupported Operating System". When I look up this version of MySQL, it's supposed to support Windows Server 2022. Any ideas?
it usually does not happen
Try installing an older version of MySQL Workbench
downloads.mysql.com/archives/workbench/
@@FreeEduHub I got it working with a newer version, thanks. Do we need to set the applicationpoolidentity as a custom account for the admin? Using the admin as the account does not seem like a secure method.
@@KageMaru10g its better to use a different account
great video, but now i can install any plugins or themes in wordpress. wordpress wants my ftp creditials
setup your ftp credentials
noobie here, so i'm not sure how to do that
if you are on server, you dont need ftp you can directly install plugins on it
It would be a different video, i am sure someone would be explaining it on youtube
any information on how to resolve "Installation failed: Download failed. No working transports found" when attempting to install a template?
check compatability
it's because the instructions don't cover enable the php_curl.dll in php config. Once it's uncommented, you're able to download files from the site.
we did what you did but we dont have the cgi options at the web server
you will have to enable cgi it appear
Roles and Features
Proceed through the wizard until you reach the "Server Roles" step.
Expand the "Web Server (IIS)" role.
Navigate to "Web Server" > "Application Development."
Check the box next to "CGI" to enable CGI support.
@@FreeEduHub thx, we where just idiots and did not select it
glad it worked :)
Any reason why I can't find the "fastcgi" icon?
pay attention,, its there :)
@@FreeEduHub it's not but thanks for the professionalism
its a default option, check the version of OS and IIS
Its says the specifued user name does exist
you must define some and then try
@@FreeEduHub fixed that now it's say php extension is not installed or enabled
@@doomslayerclout follow the part where i am showing how to configure php
@@FreeEduHubo ;extension=pdo_mysql, ';' wasn't removed thank you so much.
All the best @@doomslayerclout
can you do it for me
its a very easy tutorial to follow
extremely hard
I agree, but thats the only way
Once you will do it, you can host any PHP application on it
So try it, its totally worth it