Title: PHP &#8211; invalid request (unexpected eof)
Last modified: January 25, 2017

---

# PHP – invalid request (unexpected eof)

 *  [Earnest Boyd](https://wordpress.org/support/users/eboyd53/)
 * (@eboyd53)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/php-invalid-request-unexpected-eof/)
 * I was receiving this error from a php internal server while developing and testing.
   I found this [StackExchange post](http://stackoverflow.com/questions/29141240/php-local-server-invalid-request-unexpected-eof/41861656#41861656)
   in which I found a comment that this is caused by empty `<script ...></script
   >` text I then searched for `</script>` at the RootDirectory and found wp-admin/
   about.php @ line 55 contained the above occurrence. I modified this to remove
   the `</script>` and use `<script ... />` form instead. This caused the invalid
   request to not be given and speeded up the page resolution.

Viewing 1 replies (of 1 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 4 months ago](https://wordpress.org/support/topic/php-invalid-request-unexpected-eof/#post-8698970)
 * DO NOT EDIT CORE FILES!!!!
 * downlaod a fresh copy of wordpress from wp.org and, using FTP, replace the file
   you edited.

Viewing 1 replies (of 1 total)

The topic ‘PHP – invalid request (unexpected eof)’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/php-invalid-request-unexpected-eof/#post-8698970)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
