• Hi,
    I got a strange thing. The issue I’v googled,checked and checked,it seems like nobody has the same thing.
    VPS,Centos7.Nginx,MySQL,PHP5.
    When I Installed all above use yum,access the site,config the database,it works.Then I reboot the system,unfortunately,I need config the database again,the page:/wp-admin/setup-config.php. so I filled all.But,when I click the button “run the installation”,I saw the setup-config.php again,and then again and again.
    I checked nginx service ok. mysql ok.memory ok.
    I have no idea.
    Would you please help me? Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    Please verify the wp-config.php file exists in the WP installation folder, that it has the correct DB credentials, and that the user that WP and PHP runs as has read/write permission on the file. I suspect it’s a permission issue, but check those other things as well.

    Thread Starter vvfly8

    (@vvfly8)

    I have verified the wp-config.php.
    When I Changed the item such as ‘define user’ or ‘define password’ in wp-config.php,then filled in the setupconfig.php site,it showed a error message which means database can not connect.I thought the wp-config was correct.
    Then I defined the item that in the wp-config.php which I copied all from wp-config-sample.php,or the content that from the etup config.php website showed.Same.
    Think about it,When I completed the installation in vps, I configed the web successed once at the first time.I wrote something and post.Then I reboot the system,it does’t works.
    If you suspect it’s a permission issue,what about it?
    1.the wp-config permission? it’s nginx:nginx can wirte
    2.DB, user and password same as wp-config
    anthing else?
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Installing setup-config.php Loop’ is closed to new replies.