WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 404 Not Found When trying to run install.php (step 5) (8 posts)

  1. firestorm9x
    Member
    Posted 1 year ago #

    So here is my situation,

    I have attempted to follow the WP detailed install instructions to a "T" but, after a couple of hours of trying to troubleshoot I am completely stuck.

    I created a new DB, a new DB user, I altered the permissions to full access to this DB user, I then copy pasted all this information to my config file to ensure I wouldn't screw any of it up and even went as far as to add auth unique keys to this config file. I then uploaded all of this to the root directory of my domain but when I enter in the URL http://(mydomainname).com/wp-admin/install.php I get a 404 not found error stating that " The requested URL /wp-admin/install.php was not found on this server".

    Does anybody have any suggestions as to what I should check or try?

  2. ClaytonJames
    Member
    Posted 1 year ago #

    Just a couple of basic ideas..

    First verify that your site is configured to serve index.php files, as well as index.html files. Your host will have information on how to make those changes if required.

    If your site is already configured to serve index.php files, then verify that WordPress is actually installed in root, and not in a sub-directory in public_html

    Example: if you installed WordPress in a directory named "wordpress" inside your public_html directory, then your install path would be yoursite.com/wordpress/wp-admin/install.php

  3. firestorm9x
    Member
    Posted 1 year ago #

    My host is configured for such files

    however the directory tree for how I'm uploading files to my site in Filezilla is as follows Domains/(mydomain.com)/html

    I placed all files within the domains/(mydomain.com) directory and not HTML. Was this the correct location to do so?

  4. ClaytonJames
    Member
    Posted 1 year ago #

    If you don't have a directory named "public_html", but you do have one named "html" it's probably the same thing.

    You can test that by placing a simple index.html file or a test index.php file in your "html" directory and then visiting your domain to see if it displays. Or - your web host will surely have an FAQ and information on how to get started with your new website, and that should tell you exactly where you should place your website files for public access.

  5. firestorm9x
    Member
    Posted 1 year ago #

    That was it! Moved the files over to the HTML and I was ready to rock with the install.

    Thanks for for the help!

  6. ClaytonJames
    Member
    Posted 1 year ago #

    Nice! You're welcome!

  7. Another Mui
    Member
    Posted 1 year ago #

    [[Another Mui->]] I host my website under PacHosting. I put the web files under wwwroot/ . Under wwwroot, there is a subfolder Anonftp/pub. I put the WordPress directory under it. When I input <http://www.cheoylee.com/anonftp/pub/wordpress/wp-admin/install.php> in URL, I got <404 - File or directory not found.>

    I then uploaded the same WordPress files to /wwwroot/wordpress. I got <404 - File or directory not found.> for <http://www.cheoylee.com/wwwroot/wordpress/wp-admin/install.php> and got <500 - Internal server error.> for http://www.cheoylee.com/wordpress/wp-admin/install.php.

    I tried another way : I enter ftp://cheoylee.com, go to wwwroot/wordpress/wp-admin and double click to open install.php, I got <Error: PHP is not running. WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.> I called PacHosting they added a file <info.php> under /wwwroot and told me php is now running. When I tried, still got the same error <Error: PHP is not running>. FYI, content of info.php is a 18-byte php_auto_file, content is :
    Quote
    <?
    phpinfo();
    ?>
    unquote

    Please help!!! [[<-Another Mui]]

  8. Deatheye
    Member
    Posted 1 year ago #

    I host my website under PacHosting. I put the web files under wwwroot/ . Under wwwroot, there is a subfolder Anonftp/pub. I put the WordPress directory under it. When I input <http://www.cheoylee.com/anonftp/pub/wordpress/wp-admin/install.php> in URL, I got <404 - File or directory not found.>

    that's propably a Folder intended for FTP Connection.. since it's called ANONFTP/Pub. makes sence that that doesn't work.

    then uploaded the same WordPress files to /wwwroot/wordpress. I got <404 - File or directory not found.>
    for <http://www.cheoylee.com/wwwroot/wordpress/wp-admin/install.php

    also makes sence since that would be the wrong URL. the wwwroot Folder is the same as using http://www.cheoylee.com

    and got <500 - Internal server error.> for http://www.cheoylee.com/wordpress/wp-admin/install.php.

    This one is the right path. A 500 error can mean a lot. Basically the Server is trying to run your install.php file and that is causing a Problem with the Server. Only way to figure out what's going on is propably asking your hoster telling them your getting 500 Errors.

    I tried another way : I enter ftp://cheoylee.com, go to wwwroot/wordpress/wp-admin and double click to open install.php, I got <Error: PHP is not running. WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.> I called PacHosting they added a file <info.php> under /wwwroot and told me php is now running. When I tried, still got the same error <Error: PHP is not running>. FYI, content of info.php is a 18-byte php_auto_file, content is :

    FTP isn't meant to run a php file, ist meant to Transfer files from or to the Server. So this is expected.

    To make an analogy:
    imagin the php file is a reciept for a cake.
    FTP is used to send the reciept to the Server.
    If you use http your telling the Server to use that reciept and make the cake.
    The 404 means the reciept is not found.
    The 500 means something like: trying to make your cake but the oven exploded...

Topic Closed

This topic has been closed to new replies.

About this Topic