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 <https://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 <https://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 https://www.cheoylee.com
and got <500 – Internal server error.> for https://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…