I’m attempting to install WordPress on my local server using XAMPP, but I’m facing difficulties. Whenever I try to access the installation page, my browser displays an “access denied” error rather than directing me to the setup wizard.
I am using WordPress version 4.0 and my XAMPP is functioning correctly for other applications. I’ve verified that the server is operational, but I can’t seem to get past this access issue to reach the WordPress installation files.
Has anyone else experienced a similar problem? I’ve checked the folder permissions and confirmed that the files are appropriately located in the htdocs directory. I’m at a loss as to what might be causing this issue during the setup phase.
I’ve encountered a similar issue with XAMPP when installing WordPress. Often, this ‘access denied’ error is related to the configuration settings rather than the installation itself. It’s crucial to ensure that your WordPress folder has the correct permissions and that it’s placed directly in the htdocs directory. Additionally, inspect the httpd.conf settings for any overlooked directory restrictions. Ensure both Apache and MySQL services are active in XAMPP, and don’t forget to restart Apache after making any changes.
This usually happens because Windows UAC or your antivirus is blocking localhost access. I hit the same problem setting up WordPress 4.0 on XAMPP last year. First, run XAMPP as administrator and try localhost/wordpress again. Still not working? Turn off your antivirus real-time protection temporarily during setup. Also check if there’s a .htaccess file in your WordPress folder - rename it to something like .htaccess-backup and try installing again. The access denied error usually goes away once you get past these Windows security blocks.
check if apache’s running on port 80 instead of 8080. I ran into this exact issue with wp 4.0 when skype hijacked port 80. hit localhost/phpmyadmin first to make sure xampp’s working, then go straight to localhost/wordpress/wp-admin/install.php.