Title: lorenz's Replies | WordPress.org

---

# lorenz

  [  ](https://wordpress.org/support/users/lorenz/)

 *   [Profile](https://wordpress.org/support/users/lorenz/)
 *   [Topics Started](https://wordpress.org/support/users/lorenz/topics/)
 *   [Replies Created](https://wordpress.org/support/users/lorenz/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/lorenz/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/lorenz/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/lorenz/engagements/)
 *   [Favorites](https://wordpress.org/support/users/lorenz/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [500:Internal Server Error](https://wordpress.org/support/topic/500internal-server-error/)
 *  Thread Starter [lorenz](https://wordpress.org/support/users/lorenz/)
 * (@lorenz)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/500internal-server-error/#post-502180)
 * Hai all, i’ve solved the problem, now it runs well.
    The root of the problem 
   in my server is php (php sapi) installed as cgi not cli, just comment several
   lines in function status_header() in wp-includes/functions.php.
 * function status_header( $header ) {
    if ( 200 == $header ) $text = ‘OK’; elseif(
   301 == $header ) $text = ‘Moved Permanently’; elseif ( 302 == $header ) $text
   = ‘Moved Temporarily’; elseif ( 304 == $header ) $text = ‘Not Modified’; elseif(
   404 == $header ) $text = ‘Not Found’; elseif ( 410 == $header ) $text = ‘Gone’;
 * // if ( substr(php_sapi_name(), 0, 3) == ‘cgi’ )
    // [@header](https://wordpress.org/support/users/header/)(“
   HTTP/1.1 $header $text”); // else [@header](https://wordpress.org/support/users/header/)(“
   Status: $header $text”); }

Viewing 1 replies (of 1 total)