Support » Installing WordPress » empty html body returned for wp-admin/install.php

  • Here is the steps I made to run WordPress on a RedHat 9 linux with apache. Unfortunately, I cannot make it run.
    1.) get sure apache works well on HTML and .php files: OK
    telnet localhost 80
    Trying 127.0.0.1…
    Connected to localhost.
    Escape character is ‘^]’.
    HEAD / HTTP/1.0
    HTTP/1.1 200 OK
    Date: Thu, 22 Jul 2004 19:51:14 GMT
    Server: Apache/2.0.40 (Red Hat Linux)
    Accept-Ranges: bytes
    X-Powered-By: PHP/4.2.2
    2. mySQL runs well on command line
    mysql> create database wordpress;
    Query OK, 1 row affected (0.13 sec)
    3.) tried to access a local test.php file via http:: OK
    An Example of PHP in Action
    The Current Date and Time is:
    3:22 PM Thursday, July 22 2004.
    PHP Information
    PHP Version 4.2.2
    System Linux stripples.devel.redhat.com 2.4.21-1.1931.2.274.entsmp #1 SMP Tue Jun 24 11:18:10 EDT 2003 i686 i686 i386 GNU/Linux
    Build Date Jun 29 2003 16:34:10
    4.) copied the whole worldpress 1.2 distribution files to
    /var/www/html/
    5) edited the wp-config.php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘root’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘pass’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this valu
    6) launched the browser at localhost/wp-admin/install.php
    all I get is a blank page.
    here is the view source for the returned URL:
    <html><body></body></html>, that is an html, and empty body tags.
    that is it!
    Can someone help me ?
    thank you.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter carmima

    (@carmima)

    OK, now after reading another thread (Blank install.php) I found that I have the blank symptom, too: (The problem for me was that the ‘mod_php’ module didn’t have MySQL support compiled in.)
    So, I followed advise and installed php-mysql.rpm matching my php version (4.2.2-17.2). Now, install works. But I have another problem:
    Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
    * Are you sure you have the correct user/password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?
    for sure, I have double checked my wp-config.php file, but with no luck.
    any hint?

    Thread Starter carmima

    (@carmima)

    Check this out:
    1. MySql works with root/ourlet46
    ***************************
    mysql -u root –password=ourlet46
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 36 to server version: 3.23.58
    Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.
    mysql> show databases;
    +———–+
    | Database |
    +———–+
    | mysql |
    | test |
    | wordpress |
    +———–+
    3 rows in set (0.00 sec)
    the wordpress database is there. the mySQL user is root and you saw password.
    2. now, check my wp-config.php file:
    *******************************
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘root’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘ourlet46’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
    3. Check the result:
    ****************
    Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
    * Are you sure you have the correct user/password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?
    Help!
    I am far from 5 minutes installation…

    I have the same problem

    Argh. I have the same issue with WP and IIS 6.0 on Server 2003.
    IIS is ok
    PHP is ok
    I think MySQL is ok (can log in via the console).
    But the url: http://squish.us/wp-admin/install.php only shows a blank page.
    The user name and login info for MySQL is correct. I don’t need to be already logged into MySQL do I?
    Any help is appreciated.
    Biff

    If you are using IE6, have you tried with Firefox ?
    A search for ‘blank IIS’ may help too.

    Hi Podz,
    Yep, I’m using Firefox. Tried using IE6, just to see if it made a difference. It does not. I read another thread, and tried using the nightly install, but still no joy.
    Frustrating. The individual components seem to work (PHP, MySQL), but still a blank page on the install.php file.
    Argh.
    Biff

    Ok, never mind. I could never get WordPress to install using PHP 5 at all. I went to 4.whatever of PHP, and it worked swimmingly. Go figure.
    Using PHP 4.3.8, MySQL 4.0.20d, phpMyAdmin 2.5.7, and the latest WordPress, with IIS 6.0 on Winders Server 2003. It works.
    biff

    Blank page for me as well
    1) Downloaded WordPress , unzipped and moved it to /var/www/
    2)configured the wp-config.php file as suggested
    3) But blank page appears ( http://balaji.ucc.ie/wordpress/ )
    I am running
    Debian , Apache 2 , PHP 4.3.4, MySQL with all modules
    If anyone can help me out, its much appreciated
    Thanks,
    Adarsh

    biffnix – as far as I know, at this point, WP still doesn’t work with PHP5, that’s supposed to change when 1.3 is finaly released.
    carmina – does the user have permissions to the database? That’s a common problem I’ve seen in these situations, jsut because you can login to the server with a specific user/password, doesn’t mean that the user can connect to the database.
    TG

    TechGnome – I’ve got WordPress running fine with PHP5.

    1.2 + php5 = no go
    1.3 + php5 = fine.

    I couldn’t get it running on
    debian dpkg –install wordpress_1.2.0-1.1_all.deb
    (Reading database … 168604 files and directories currently installed.)
    Preparing to replace wordpress 1.2.0-1.1 (using wordpress_1.2.0-1.1_all.deb) …Unpacking replacement wordpress …
    dpkg: dependency problems prevent configuration of wordpress:
    wordpress depends on mysql-server (>= 4.0.20-8); however:
    Version of mysql-server on system is 4.0.18-5.
    dpkg: error processing wordpress (–install):
    dependency problems – leaving unconfigured
    Errors were encountered while processing:
    wordpress
    Could any one point me to download Wordpres 1.3 version please !
    thanks
    Adarsh

    Check the download up top, and scroll down to the Nightly Builds.

    Yup, I had the same problem with a Blank install.php with PHP 5 until I used the lastest version of WordPress (I.E. the Nightly Build from Aug 4th).

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘empty html body returned for wp-admin/install.php’ is closed to new replies.