Title: Parse error: syntax error, unexpected $end in install.php
Last modified: August 20, 2016

---

# Parse error: syntax error, unexpected $end in install.php

 *  [dgamboa1](https://wordpress.org/support/users/dgamboa1/)
 * (@dgamboa1)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-end-in-installphp-1/)
 * Trying to install WordPress on my hosted server….still.
    I’ve uploaded WP files
   to my hosted server into my_domain_name\wwwroot\blog\ directory. In browser, 
   I go to my_domain_name/blog/wp-admin/install.php and get Parse error: syntax 
   error, unexpected $end in C:\….my_domain_name\wwwroot\blog\wp-admin\install.php
   on line 82. Lines 81 through 83 are
 *     ```
       $blog_public = 1;
       	if ( ! empty( $_POST ) )
       		$blog_public = isset( $_POST['blog_public'] );
       ```
   
 * within function display_setup_form.
    The CP shows blog directory permissions 
   as read,write,delete for my_domain_name and network services.

The topic ‘Parse error: syntax error, unexpected $end in install.php’ is closed 
to new replies.

## Tags

 * [end](https://wordpress.org/support/topic-tag/end/)
 * [install.php](https://wordpress.org/support/topic-tag/install-php/)
 * [Unexpected](https://wordpress.org/support/topic-tag/unexpected/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 0 replies
 * 1 participant
 * Last reply from: [dgamboa1](https://wordpress.org/support/users/dgamboa1/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-end-in-installphp-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
