Title: Erro loading install.php
Last modified: August 18, 2016

---

# Erro loading install.php

 *  [yudixue](https://wordpress.org/support/users/yudixue/)
 * (@yudixue)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/erro-loading-installphp/)
 * When I copied all files and launch the install.php, I got the following:
 * Fatal error: require_once() [function.require]: Failed opening required ‘../wp-
   config.php’
 * here is my wp-config.php:
    <?php // ** MySQL settings ** // define(‘DB_NAME’,‘
   wordpress’); // The name of the database define(‘DB_USER’, ‘yudx’); // Your MySQL
   username define(‘DB_PASSWORD’, ”); // …and password define(‘DB_HOST’, ‘localhost’);//
   99% chance you won’t need to change this value
 * // You can have multiple installations in one database if you give each a unique
   prefix
    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!
 * // Change this to localize WordPress. A corresponding MO file for the
    // chosen
   language must be installed to wp-includes/languages. // For example, install 
   de.mo to wp-includes/languages and set WPLANG to ‘de’ // to enable German language
   support. define (‘WPLANG’, ”);
 * /* That’s all, stop editing! Happy blogging. */
 * define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.
   php’); ?>
 * and part of my install.php:

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

 *  Thread Starter [yudixue](https://wordpress.org/support/users/yudixue/)
 * (@yudixue)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/erro-loading-installphp/#post-474729)
 * 1- <?php
    2- define(‘WP_INSTALLING’, true); 3- if (!file_exists(‘../wp-config.
   php’)) 4- die(“There doesn’t seem to be a `wp-config.php` file. I need this before
   we can get started. Need more help? [We got it](http://wordpress.org/docs/faq/#wp-config).
   You can [create a `wp-config.php` file through a web interface](https://wordpress.org/support/topic/erro-loading-installphp/setup-config.php?output_format=md),
   but this doesn’t work for all server setups. The safest way is to manually create
   the file.”); 5- 6- require_once(‘../wp-config.php’); 7- require_once(‘./upgrade-
   functions.php’);
 *  Thread Starter [yudixue](https://wordpress.org/support/users/yudixue/)
 * (@yudixue)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/erro-loading-installphp/#post-474730)
 * Sorry, the entire error message should be:
    Fatal error: require_once() [function.
   require]: Failed opening required ‘../wp-config.php’ (include_path=’.:/usr/share/
   pear’) in /page/y/x/yux577/wp-admin/install.php on line 6
 * thanks a lot for help!

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

The topic ‘Erro loading install.php’ is closed to new replies.

## Tags

 * [wp-config.php](https://wordpress.org/support/topic-tag/wp-config-php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 1 participant
 * Last reply from: [yudixue](https://wordpress.org/support/users/yudixue/)
 * Last activity: [19 years, 7 months ago](https://wordpress.org/support/topic/erro-loading-installphp/#post-474730)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
