• Resolved rogersb

    (@rogersb)


    hi, am new to WordPress. Have done installs of MySql, Apache before in windows, but this is new.

    I just picked the newest of everything; Am running x64 win7. With Apache and PHP7 up, used test code to show PHP status,

    <?php
    phpinfo();
    ?>
    

    info.php is the filename, in a folder called localhost, so in php, localhost/info.php in the browser gets a long page of information

    
    PHP logo
    PHP Version 7.1.0RC6
    
    System	Windows NT COE4341 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64
    Build Date	Nov 9 2016 13:28:53
    Compiler	MSVC14 (Visual C++ 2015)
    Architecture	x64
    Configure Command	cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-pdo-oci=c:\php-sdk\oracle\x64\instantclient_12_1\sdk,shared" "--with-oci8-12c=c:\php-sdk\oracle\x64\instantclient_12_1\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--without-analyzer" "--with-pgo"
    Server API	Apache 2.0 Handler
    Virtual Directory Support	enabled
    Configuration File (php.ini) Path	C:\Windows
    Loaded Configuration File	C:\PHP\php.ini
    Scan this dir for additional .ini files	(none)
    Additional .ini files parsed	(none)
    PHP API	20160303
    PHP Extension	20160303
    Zend Extension	320160303
    Zend Extension Build	API320160303,TS,VC14
    PHP Extension Build	API20160303,TS,VC14

    so its working, but based on the “5-minute install instructions” it says
    Open wp-admin/install.php in your browser. It will take you through the process to set up a wp-config.php file with your database connection details.

    it fails, the html code says:

    if ( false ) {
    ?>
    <!DOCTYPE html>
    <html xmlns="https://www.w3.org/1999/xhtml">
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    	<title>Error: PHP is not running</title>

    if false? won’t this fail every time? PHP is clearly running and windows can see it

    just finished installing MySQL also, but is there no script to install WordPress? Am new to this and have not done it before, thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • PHP is clearly running and windows can see it

    Just so we’re on the same page, opening the file by accessing it from your browser address bar – https://localhost/wordpress_directory/wp-admin/install.php -should start the install process.

    If you’re trying to run the install.php script by navigating directly to the wp-admin directory and then clicking on – or – opening the file with your browser, that won’t work. You need to enter the path to the file in your web-accessible directory from a browser.

    • This reply was modified 7 years, 11 months ago by Clayton James.
    Thread Starter rogersb

    (@rogersb)

    Thank you! so when I do this? in chrome, the text of the file is shown, not processed.

    I copied the entire wordpress into the PHP directory, same thing. it is not seeing the PHP,

    Thread Starter rogersb

    (@rogersb)

    my mistake. was putting c:/localhost/info.php… no, it has to be
    localhost/info.php

    I did this with the install and got the first page, great! I entered the MySQL info and went to step 2

    10 minutes later its still a blank screen. https://localhost/wordpress/wp-admin/setup-config.php?step=2

    is the path

    Thread Starter rogersb

    (@rogersb)

    Am a little farther along, I went a different way and in installed MAMP

    followed all the instructions. have the server running, have wordpress in the right directory. run the installation page. enter all the database info, it says error establishing a database connection

    nothing I enter works. have created 3 databases in mysql, changed settings, nothing works

    Don’t allow multiple instances of apache or mysql to run on the same machine. If you didn’t uninstall Apache and MySQL before installing MAMP (there are better choices than MAMP for Windows) you may see a conflict between more than one instance of MySQL.

    My advice is to uninstall everything and start fresh. Spend some time reviewing some installation and setup tutorials until you find one you’re comfortable with and give it another go.

    Some examples: “how to” wordpress locally “windows 7” wamp “wampserver”

    “how to” wordpress locally “windows 7” (links go to Google)

    https://codex.www.ads-software.com/Installing_WordPress#Installing_WordPress_on_your_own_Computer

    • This reply was modified 7 years, 10 months ago by Clayton James.
    Thread Starter rogersb

    (@rogersb)

    Thanks, I was finally able to make it work. in the Server settings had to set apache to listen on port 80, it was set to 8888 ? and the initial mysql install was set to STOPPED, but when I went to open it, it got a popup saying the mysql status bar stopped responding, closed that and by that time it worked, I had made 3 databases, set and reset the passwords, made sure its UTF8 and all

    but very weak install package, fragile. I think once people get it working? they never look back, never say oh, how can we make this install process better?

    It does say to ask on the Forum, and that was correct because you helped solve the problem, thanks!

    now that I see it, wordpress looks nice, Im coming from mostly visual studio, this has features VS is lacking

    Server settings had to set apache to listen on port 80, it was set to 8888

    That’s an installation characteristic of the “MAMP” package.

    but very weak install package, fragile. I think once people get it working? they never look back, never say oh, how can we make this install process better?

    On the contrary. All of the concerns you’ve expressed here are due to trying to install and properly configure your own server environment (for development or experimentation purposes) on a local machine. The issues haven’t been related to WordPress itself. WordPress installs quickly and efficiently when placed in a properly configured server environment.

    You’re experiencing some of the issues one might expect to encounter while first trying to install and configure the applications required to run WordPress locally, rather than an issue with WordPress itself.

    Glad you finally had some success!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Install error on Win7, PHP7, word press 4.7’ is closed to new replies.