Installing WordPress on a Windows 8.1 machine
I tried installing WordPress 3.8 on a Windows machine. I am running AMPPS on the Windows machine (full LAMP stack). I created the wp-config.php file from the supplied sample file, and modified it. I ran WordPress, and it initially worked fine.
My computer restarted due to an error, and the next time I tried to run WordPress, I got the following message:
Warning: require(C:\Users\Joseph\GoogleDrive\projects\phpapps\wordpress/wp-includes/load.php): failed to open stream: No such file or directory in C:\Users\Joseph\GoogleDrive\projects\phpapps\wordpress\wp-settings.php on line 21 Fatal error: require(): Failed opening required 'C:\Users\Joseph\GoogleDrive\projects\phpapps\wordpress/wp-includes/load.php' (include_path='.;C:\php\pear') in C:\Users\Joseph\GoogleDrive\projects\phpapps\wordpress\wp-settings.php on line 21
Looking through some of the config files, I can see that most have a slash (‘/) in the file path. That works for Linux but not for Windows. Why hard code a slash, when you can have a directory separator constant defined after testing for the OS version?
Or am I doing something wrong (I don’t understand why it ran OK the first time).
- The topic ‘Installing WordPress on a Windows 8.1 machine’ is closed to new replies.