WordPress.org

Support

Support » Installation » I lost my hope :( Getting apache, MySQL, PHP working on Windows 7

I lost my hope :( Getting apache, MySQL, PHP working on Windows 7

  • squirrel-lt

    @squirrel-lt

    This is the fourth day I’m trying to get wordpress work on windows. When I upload to Linux server everything works just fine, but I want to make a theme for blog, so the best way to do it is to have wordpress running on PC. The problem is, that install.php index.php any file loads loads and then… nothing… blank page. I’ve tried everything, I read all topics regarding this problem, as well as other websites via google, but problem still exists. Latest Apache, latest MySql, latest PHP, latest wordpress, everything is configured just fine. I am using Windows 7 if that has anything to do with this problem.

Viewing 15 replies - 1 through 15 (of 24 total)
  • rodries2

    @rodries2

    probably you have display errors disabled in php.ini try to enable it to see the error

    MichaelH

    @michaelh

    Typically, a blank screen after an install may mean you didn’t get a complete and intact set of WordPress files uploaded to your host. I’d consider downloading a fresh copy of WordPress from the Download tab at the top of this page, then use something like 7-Zip to extract the files. Then reupload the files to your host. Review Uploading WordPress to a remote host and make sure you are using ASCII transfer mode in your FTP client.

    If you have an .htaccess file, that too could be causing the problem–rename that if necessary.

    squirrel-lt

    @squirrel-lt

    I feel like you didn’t read my post. Everything works fine when uploaded to host, it just doesn’t work when I try to INSTALL wp on MY PC. Install.php returns in blank page, as well as other files, so I can’t even install it.

    rodries2 i have it enabled:
    display_errors = On
    still blank page

    log_errors = On
    no errors in log

    Same problem as aquirrel-it

    I’m about to abort using wordpress.

    I’ve had 3 days in a row wasted on this thing.

    Done the wp-config 4 times, (I am almost sure everything is ok) uploaded a million times and still when I try opening http://www.XXXXXX/wordpress/wp-admin/install.php

    this is all I see:

    Warning: require_once(C:\Hosting\5276971\html\wordpress/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in D:\Hosting\5276971\html\wordpress\wp-admin\install.php on line 18

    Fatal error: require_once() [function.require]: Failed opening required ‘C:\Hosting\5276971\html\wordpress/wp-load.php’ (include_path=’.;C:\php5\pear’) in D:\Hosting\5276971\html\wordpress\wp-admin\install.php on line 18

    squirrel-lt

    @squirrel-lt

    At least you get error message :\

    rodries2

    @rodries2

    pipegm: I had the same error but I don’t remember how I fixed it 🙁
    try to delete wp-config.php and retry install.php

    which php version are you using? (unix or windows ? )

    squirrel-lt:
    try to reinstall deleting wp-config.php also you can add this 2 lines in install.php to be sure that errors are showed
    <?php
    error_reporting(E_ALL | E_STRICT);
    ini_set(“display_errors”, 1);
    ……
    ……

    it’s strange a blank page

    squirrel-lt

    @squirrel-lt

    After I click SUBMIT it returns in error in Opera, but because error is in Lithuanian language I can only copy what Mr. Explorer said:
    Internet Explorer cannot display the webpage
    That’s it! Isn’t really helping, is it?

    I noticed that it didn’t create wp-config.php file from sample, so perhaps this has something to do with writing permissions? I am using Windows 7 so who knows.

    rodries2

    @rodries2

    squirrel-lt I think that you are rigth, maybe is a permissions problem.
    You can try to investigate the user Apache service is using, then give writing permissions to that user in your wp directory, but I’m not sure
    I’m not using windows 7

    squirrel-lt

    @squirrel-lt

    Okay I’m sick of this, I imported sql db from linux server to my pc, copied all files from linux server to pc, and blog still doesnt work, same problem – BLANK PAGE. I am really mad, I’ve been trying to get this **** work for week, gaaaarrgghhh!!!

    design_dolphin

    @design_dolphin

    Will any other websites/ webpages/ cms’s work on your Xampp installation?

    Setting up Xampp on a Windows box can sometimes need a bit nudging to get going.

    A.F.A.I.K. WordPress should run fine on Xampp on Windows XP and Vista. I don’t know about Windows 7 though. Maybe somebody else can help you there.

    squirrel-lt

    @squirrel-lt

    Okay I have just tried to install phpbb3 and after filling all db info and clicking proceed same thing happens. I have no idea why. It says that folders and files are writable, connection with sql is ok, php works fine… It just doesn’t crate any table in database, so this could be a problem I think. Now… how to solve it?

    squirrel-lt

    @squirrel-lt

    I’ve tried everything, googled for so many hours and I still can’t get any script installed, every time I click NEXT button (any script) after filling database info, nothing happens, browser simply prints an error without any info. I really don’t know what to do. I never had such problems until upgraded to Windows 7.

    MichaelH

    @michaelh

    squirrel-lt

    @squirrel-lt

    Moderate title again then, because I don’t use XAMPP (I never said that!) I downloaded all three components and configured it myself. It always worked on XP. I’m sorry if I look too umm… harsh? But I feel like you either don’t understand what I’m saying or don’t read, because, as I said, everything works fine until I click the button to add tables to MySql database (after filling db info clicking SUBMIT). So links you provided aren’t really helpful because I have no problems starting apache + php + mysql and all three components working. I’m sorry again if I look a little rude, I didn’t mean to, that’s because English isn’t my main language 🙂

    Clayton James

    @claytonjames

    Clearly, squirrel-it, since you have duplicated the symptoms using more than one application, you need to isolate your efforts to:

    A) At what point you botched the ability of MySQL and PHP to communicate with each other when you installed the applications on Windows, or

    B) What windows component is not allowing your PHP to communicate with
    MySQL when you attempt to run a script.

    MichaelH has pointed you towards sources of information relative to both, whether you like the word “XAMPP” in the title or not.

    Frankly, I’m betting you missed a least one of a couple of crucial, but subtle steps that are required to make the applications work together properly on Windows.

    I downloaded all three components and configured it myself.

    That does not mean you properly configured them, or paid attention to the warnings about using an .msi package to install PHP on windows.

    I have read your posts, and it is more about the things you have not said, than what you have, that makes me believe you have missed important steps while installing PHP, MySQL, and Apache on Windows.

    XAMPP might actually be the fastest, easiest solution to your problem.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘I lost my hope :( Getting apache, MySQL, PHP working on Windows 7’ is closed to new replies.
Skip to toolbar