cannot install: “You don’t have permission to access /wp-admin/install.php..”
-
Hello,
I need to install wordpress 5.2.2 on a Centos 7.6 VPS with apache 2.4 , with its own domain “https://example.com”
First, I read that for that wordpress version php 7.3 is “recommended”, but the server is currently running php 7.2, because other software already running there needs that version. Is that a show stopper? Or will it only cause e.g. slower performance? Anyway, the REAL problem is that I cannot even start the famous “5 minutes install”. I have created the MariaDB database and downloaded and unpacked the wp files. I also created a new letsencrypt certificate for “example.com”.
Finally, I configured apache as below… and now I am stuck, because when I point the browser at https://example.com/wp-admin/install.php all I get is:
“You don’t have permission to access /wp-admin/install.php on this server” in the browser
and, in the apache error log:
“AH01630: client denied by server configuration: /var/www/html/wordpress/example/wp-admin/install.php”
that file and folder ARE readable by apache, the redirection and certificate work fine (I get the green lock icon in the browser).
I have installed wordpress many times in the past, but not in the last 1/2 years, so I understand that there must be something obvious I forgot or am missing, either in a .htaccess file (there is none right now) and/or in the httpd.conf section below. Fact is, I have already searched any combination of the errors above, and cannot find any specific configuration tip (none that works, anyway). Any help to pass this block is VERY appreciated!
TIA,
Marco<VirtualHost example.com:80>
ServerName example.com
Redirect permanent / https://example.com/
</VirtualHost><VirtualHost example.com:443>
ServerAdmin [email protected]
DocumentRoot /var/www/html/wordpress/example
ServerName example.comSSLEngine on
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/example.com/chain.pemAccessFileName .htaccess
CustomLog logs/example.com.access.log combined
ErrorLog logs/example.com.error.log</VirtualHost>
- The topic ‘cannot install: “You don’t have permission to access /wp-admin/install.php..”’ is closed to new replies.