Title: wp-config.php
Last modified: August 18, 2016

---

# wp-config.php

 *  [zhiqiang](https://wordpress.org/support/users/zhiqiang/)
 * (@zhiqiang)
 * [22 years, 11 months ago](https://wordpress.org/support/topic/wp-configphp/)
 * I install WordPress from scratch using the version in the CVS. I made a copy 
   of wp-config.php from wp-config.sample.php. However, I found out there is an 
   error in wp-config.php as the installer cannot find the file day-month-trans.
   php.
    I did the following: Open the file wp-config.php and comment out line 42,
   which is: require_once(‘day-month-trans.php’); After line 53, which is: $abspath
   = dirname(__FILE__).’/’; Insert the following: require_once($abspath.’/day-month-
   trans.php’); The installer completes with no error. However, I am not sure if
   this fix has other impacts on other files.

Viewing 1 replies (of 1 total)

 *  [Mike Little](https://wordpress.org/support/users/mikelittle/)
 * (@mikelittle)
 * [22 years, 11 months ago](https://wordpress.org/support/topic/wp-configphp/#post-22737)
 * Hi,
    I would have expected this to work anyway as long as the day-month-trans.
   php file is in the same directory as wp-config.php… Unless… the current directory‘.’
   is not included in your PHP include path. Any way I’ve made your change and commited
   it to CVS Mike

Viewing 1 replies (of 1 total)

The topic ‘wp-config.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Mike Little](https://wordpress.org/support/users/mikelittle/)
 * Last activity: [22 years, 11 months ago](https://wordpress.org/support/topic/wp-configphp/#post-22737)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
