Trying to install wordpress. The installation opens, I enter the data for the connection to the database, click next, then it opens - /wp-admin/install.php and there is 500 error. Inexplicably.

What I have identified, if you change the server for the database in the config to anyone other than localhost or 127.0.0.1, then WordPress starts writing that I have a wrong server.

.htaccess no.

Earlier in the config it was written:

Options -Indexes RewriteEngine On RewriteCond %{IS_SUBREQ} false RewriteRule ^(.*)$ - [E=URL:%{REQUEST_URI}] RequestHeader append X_ORIGINAL_URL %{URL}e RequestHeader edit X_ORIGINAL_URL (.*),.* $1 RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php [QSA,L] AddDefaultCharset utf-8 

As a result, I do not know what the problem is, how to be?

In the logs writes:

[Wed Apr 24 21:42:14 2013] [error] [client XXXXXXXXXXX] File does not exist: / xxxxxxx / vil

Config:

  <VirtualHost *:80> ServerName xxx.org ServerAlias xxx.org www.xxx.org DocumentRoot /home/www/xxx/ </VirtualHost> 
  • Try in /etc/apache2/sites-available/default to enable the FollowSymLinks option for the site root folder. For example: <Directory / var / www /> AllowOverride All Options FollowSymLinks </ Directory> Paths may differ in Windows. - ReinRaus
  • It's not entirely clear what you are doing. Transfer or install. Please clarify. - Basil Jimmy

2 answers 2

You need to make sure whether mod_rewrite is enabled on the server.

  • This is not a prerequisite. - Basil Jimmy

Good day when installing wordpress, do not need to go into the code. First go to the hosting and create a database: "Create a new MySQL database and database user" you will receive a name and password, as well as the name of the server, which you insert into the necessary departments enter image description here

and the whole business :)