Title: Installing setup-config.php Loop
Last modified: October 26, 2018

---

# Installing setup-config.php Loop

 *  [vvfly8](https://wordpress.org/support/users/vvfly8/)
 * (@vvfly8)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/installing-setup-config-php-loop/)
 * 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](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/installing-setup-config-php-loop/#post-10820952)
 * 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](https://wordpress.org/support/users/vvfly8/)
 * (@vvfly8)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/installing-setup-config-php-loop/#post-10821974)
 * 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.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [vvfly8](https://wordpress.org/support/users/vvfly8/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/installing-setup-config-php-loop/#post-10821974)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
