Title: Errors with install-config.php
Last modified: August 18, 2016

---

# Errors with install-config.php

 *  [chutney](https://wordpress.org/support/users/chutney/)
 * (@chutney)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/errors-with-install-configphp/)
 * I’m getting this error with install-config.php.
    #!/usr/local/safe/bin/php Warning:
   Invalid argument supplied for foreach() in /export/home/chunte2/public_html/wp-
   admin/install-config.php on line 122 Warning: fclose(): supplied argument is 
   not a valid stream resource in /export/home/chunte2/public_html/wp-admin/install-
   config.php on line 143 Warning: chmod(): Unable to access ../wp-config.php in/
   export/home/chunte2/public_html/wp-admin/install-config.php on line 144 Warning:
   chmod(): No such file or directory in /export/home/chunte2/public_html/wp-admin/
   install-config.php on line 144

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

 *  Moderator [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * (@matt)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/errors-with-install-configphp/#post-34332)
 * If the permissions on your server don’t allow you to automatically create a wp-
   config.php file, you can do it manually by just renaming wp-config-sample.php
   and filling in the proper information.
 *  Thread Starter [chutney](https://wordpress.org/support/users/chutney/)
 * (@chutney)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/errors-with-install-configphp/#post-34339)
 * I just did so, but getting a 500 error when I run install.php. What should permissions
   be CHMODed to.
 *  [wjconnell](https://wordpress.org/support/users/wjconnell/)
 * (@wjconnell)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/errors-with-install-configphp/#post-34460)
 * It’s probably not a permissions issue – i’m getting the same errors, even when
   creating the config file manually and chmoding everything to 777.
    I’m getting
   this error from step 1: SQL/DB Error: [Table ‘wordpress.wp_options’ doesn’t exist]
   SELECT option_name, option_value FROM wp_options If i ignore it and go on, it
   all blows up on step 3 with a load of bad queries and duplicate messages. The
   blog seems to work, but i gotta wonder if the db was set up properly. This is
   on OS X 10.3 (Panther), php 4.32, mysql 2.23.49, installing 1.01. I successfully
   installed 1.0 (no errors) on a different machine with the same configuration.

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

The topic ‘Errors with install-config.php’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 3 participants
 * Last reply from: [wjconnell](https://wordpress.org/support/users/wjconnell/)
 * Last activity: [22 years, 3 months ago](https://wordpress.org/support/topic/errors-with-install-configphp/#post-34460)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
