Hello everyone. First time poster here at Sitepoint. I sure hope someone can help me out with this problem…
I have a website that is written in PHP and MySQL. The website/webpages have been working perfectly for the last few years.
Lately I have been working to add the ability to accept credit card payments on my website, but I found out last night that I need a newer version of cURL to be able to interact with the payment gateway. So this morning I installed MAMP 3.5 on my laptop. (I couldn’t install the latest version of MAMP, because I don’t have the latest OS, and don’t want to upgrade my OS right now.)
After installing MAMP, I updated the following config files: hosts, httpd.conf, php.ini
(I haven’t done this is a couple of years, but I have experience doing this, so it shouldn’t be a big deal.)
Okay, so here is what is happening that has me freaking out…
When I launch my index.php file it loads okay. But then if I start navigating around my website, most pages give me this…
Most pages on my website rely on Apache mod_rewrites so that I get “clean” URLs, and I am thinking that this is where the problem is at. However, none of my code-base has changed. The only thing that has changed is that I upgraded my version of MAMP, and thus have newer versions of Apache, PHP, MySQL, and so on.
I would really appreciate it if someone can help me figure out why my website is broken all of a sudden!!
It looks like my weekend just got trashed because of this stupid MAMP upgrade.
To make matters worse, I know nothing about Apache or MAMP, so I am really screwed right now.
I pray that this is an easy problem to troubleshoot for someone who is an expert.
Thanks,
Steve