PHP or .htaccess issue with new Wordpress installation.
Posted: Mon Sep 09, 2024 1:04 am
I've checked this issue out with the Wordpress forum and the consensus is that it's a PHP issue, but i just don't see one, so i'm looking for ideas/insight.
I'm running MAMP 6.8 on my localhost and have 6-8 other client Wordpress installations that i can start up at anytime without issue, all running php 7.4.33 using Apache port 8888 and MySQL port 3306. Now, i am attempting to create a new instance but after running the standard WP installation, when i attempt to open the homepage in the browser (http://localhost:8888), rather than opening the page, the browser downloads the PHP code it is attempting to run. I can't figure it out. I've put a phpinfo.php file in the base directory of my installation and it pulls up all the PHP config info that you'd expect. I get the same result when i click on Webstart from the MAMP interface. I don't see any problems at all and i don't see anything in the Apache logs or PHP error logs.
Can anybody offer any insight? I've read a variety of posts indicating that the problem could be the .htaccess file, i've tried several things to no avail. Can anybody suggest something i might try? What baffles me is that this configuration is exactly the same as a number of other WP installations on the same machine that work just fine. Hence my 'bafflement'....
Many thanks for any ideas!
I'm running MAMP 6.8 on my localhost and have 6-8 other client Wordpress installations that i can start up at anytime without issue, all running php 7.4.33 using Apache port 8888 and MySQL port 3306. Now, i am attempting to create a new instance but after running the standard WP installation, when i attempt to open the homepage in the browser (http://localhost:8888), rather than opening the page, the browser downloads the PHP code it is attempting to run. I can't figure it out. I've put a phpinfo.php file in the base directory of my installation and it pulls up all the PHP config info that you'd expect. I get the same result when i click on Webstart from the MAMP interface. I don't see any problems at all and i don't see anything in the Apache logs or PHP error logs.
Can anybody offer any insight? I've read a variety of posts indicating that the problem could be the .htaccess file, i've tried several things to no avail. Can anybody suggest something i might try? What baffles me is that this configuration is exactly the same as a number of other WP installations on the same machine that work just fine. Hence my 'bafflement'....
Many thanks for any ideas!