Title: wp-config.php code error
Last modified: August 19, 2016

---

# wp-config.php code error

 *  [torweb](https://wordpress.org/support/users/torweb/)
 * (@torweb)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/wp-configphp-code-error/)
 * I was just curious why the wp-config.php file fails a validation test with error“
   malformed tag php” at the very end of the file? If I add a “?>” then it validates.

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/wp-configphp-code-error/#post-1683244)
 * The closing `?>` was deliberately omitted.
 * [http://core.trac.wordpress.org/ticket/10633](http://core.trac.wordpress.org/ticket/10633)

Viewing 1 replies (of 1 total)

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/wp-configphp-code-error/#post-1683244)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
