WordPress.org

Ready to get started?Download WordPress

Forums

empty html body returned for wp-admin/install.php (19 posts)

  1. carmima
    Member
    Posted 10 years ago #

    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.

  2. carmima
    Member
    Posted 10 years ago #

    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?

  3. carmima
    Member
    Posted 10 years ago #

    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...

  4. idl3mind
    Member
    Posted 10 years ago #

    I have the same problem

  5. biffnix
    Member
    Posted 10 years ago #

    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

  6. Mark (podz)
    Support Maven
    Posted 10 years ago #

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

  7. biffnix
    Member
    Posted 9 years ago #

    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

  8. biffnix
    Member
    Posted 9 years ago #

    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

  9. Anonymous
    Unregistered
    Posted 9 years ago #

    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

  10. TechGnome
    Moderator
    Posted 9 years ago #

    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

  11. Mark (podz)
    Support Maven
    Posted 9 years ago #

  12. Anonymous
    Unregistered
    Posted 9 years ago #

    TechGnome - I've got WordPress running fine with PHP5.

  13. Mark (podz)
    Support Maven
    Posted 9 years ago #

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

  14. Anonymous
    Unregistered
    Posted 9 years ago #

    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

  15. Mark (podz)
    Support Maven
    Posted 9 years ago #

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

  16. mikenowo
    Member
    Posted 9 years ago #

    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).

  17. mikenowo
    Member
    Posted 9 years ago #

    BAH, spoke too soon, I still get a BLANK page after running install.php even the new one *sigh*
    I had not created the wp-config.php file yet, but after I do I still get the blank page. I'm using PHP5 and IIS on Windows XP. Anyone have any other suggestions?

  18. Mark (podz)
    Support Maven
    Posted 9 years ago #

    This may help as it's IIS:
    http://wordlog.com/index.php?p=32

  19. Anonymous
    Unregistered
    Posted 9 years ago #

    For those of you running Debian, Apache 2 and PHP4 I have a fix for this. The default php4 module doesn't ship with mysql support installed.
    1) Double check to make sure you have libphp4.so installed.
    /usr/lib/apache2/modules/libphp4.so
    2) Apt-get the php4-mysql package
    apt-get install php4-mysql
    This gets you the mysql.so package. Mine ended up here:
    /usr/lib/php4/20020429/mysql.so
    3) Head on over to /etc/php4/apcache2/php.ini and uncomment the following line:
    extension=mysql.so
    4) restart apache
    apache2ctl restart
    5) install.php will work now.
    Have fun.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.