The requested URL was not found on this server after upgrading - php

I was using MAMP 3.5.2 for my WordPress websites and it was working beautifully by using http://localhost:8888/WPfoldername
I installed MAMP 4.0.6, upgraded dbs to MySQL 5.6, etc.
Now when I try http://localhost:8888/WPfoldername I get:
The requested URL /WPfoldername was not found on this server.
When going to my WebStart page, it also shows twice:
MySQL can be administered with phpMyAdmin
Would appreciate any help!

Related

How to downgrade phpMyAdmin version in MAMP PRO

I'm currently using PHP 5.3.29 for my application and I can't currently upgrade it. I'm working on getting access to phpMyAdmin. I'm running MAMP PRO 4.2.1 which has phpMyAdmin version 4.7.3 which only allows PHP versions 5.5+ to access. I was thinking similar logic to http://blog-en.mamp.info/2013/08/how-to-upgrade-phpmyadmin-in-mamp-mamp.html would apply for how to downgrade the version. I downloaded phpMyAdmin 4.0.10.20 and added the current config.inc.php file to the new phpMyAdmin folder I just downloaded. I then replaced the file in Applications/MAMP/bin as well as /Library/Application Support/appsolute/MAMP PRO/. When I tried running localhost/phpmyadmin I wasn't able to connect. When I went to localhost/mamp I noticed under tools it still said I needed PHP 5.5+ to access phpMyAdmin. I then switched to CGI mode in MAMP Pro and changed localhost to 5.5.38 and when I went to localhost/phpmyadmin it was now working, but it still said I was using phpMyAdmin v4.7.3. So my question is how do I actually change the phpMyAdmin version used with MAMP Pro? I was under the impression that downloading old version and replacing in those two places mentioned should have taken care of it. I also made sure to restart server anytime I made a change to MAMP files so that's not the problem
I was doing everything necessary according to MAMP support in terms of changes, but they believe there was something in the code preventing me from viewing phpMyAdmin in a lower version. I ended up just using Sequel Pro to do what I needed and that was quite simple.

Mamp is not seeing localhost

In the MAMP menu bar>> Tools - I am seeing this:
phpMyAdmin(needs PHP5.5x to 7.0x)
SQLite Manager (needs PHP5.2.x or 5.3.x)
I have 8 sites on one shared database developed locally using MAMP. Never had a problem in the past. I cannot access any of the sites via localhost. - the last site I worked on required a newer version of PHP and I added V7.1.1 - the prior sites are run on earlier PHP versions, built full site using php 7.1.1 locally no problem. - That said, currently
none of the sites will open via localhost.
The only thing I can think of is that I may have upgraded to OS Sierra and maybe that threw off a file? I called Apple they recommend not touching the Apache settings. I reinstalled Mamp, no change.
OS Sierra 10.12.3
MAMP V.4.1.1
PHP V. 7.1.1
I can connect to the internet, and my firewall is off.
I checked my host file - everything is there that should be with the exception of : "sudo killall -HUP mDNSResponder" which I read in an earlier thread - do I need this?
localhost connection message:
"Unable to connect
Firefox can’t establish a connection to the server at localhost:8888."
I thought that by downloading the lastest version of MAMP I would be recieving the latest package of software such as apache,mysqyl and phpMyAdmin?
I humbly ask for any insight and thank you in advance!
I'm having this same issue and just found this on google:
After you run the servers on MAMP/MAMP PRO
TRY THIS:
localhost:8888/phpmyadmin

Sites wont run on localhost following MAMP Upgrade to Ver 4.0.6

I upgraded my mamp installation from 3.5 to 4.0.6 (renamed existing MAMP to MAMP-old). Running any website on localhost will not load. Have performed the following:
first migration to new MAMP I copied the db folder to the new mamp and set all the proper ports (3306 and 80). Ran localhost/website and blank white page.
then reinstalled new version of MAMP and manually created needed databases and insured database user was added. Ran localhost/website and blank white page.
If I go back to previous install of MAMP (3.5) everything works fine. I have performed several MAMP upgrades in the past without issue. So not sure why this upgrade is not working.
I am running on MAC Sierra. No other 3rd part tools involved. Working version of MAMP uses PHP 5.6.10. New version of MAMP using PHP 5.6.27.
When localhost/website will not run, checking safari developer console shows failed to load the resource: server responded with a status of 500 (internal server error). Verified document root is set properly.
Any suggestions for uncovering the problem would be most appreciated.

A codeigniter application migrated from WAMP to LAMP stopped working

I developed an application using codeigniter php 5.3 Apache and mysql with WAMP server on Windows 7 using WAMP. Recently, I started moving the application to Ubantu 14 with apache2, php 5.5 and mysql. It is dead now. I am able to access simple php script under www but my application is showing only blank page. (mozilla debugger shows error 500). Logs are not showing anything. What could be the reason?.. is it a common problem? It's the first time I am using Ubantu.
Well codeigniter is supported to php version 5.4 currently so won't work on php 5.5 but if you want it to work then downgrade php version or else the below link might help you.
https://dillieodigital.wordpress.com/2014/05/30/quick-tip-how-to-running-codeigniter-on-php-5-5-and-mysql-5-6/

Can't get MongoDB extention for PHP workign with new WAMP 2.5

I just updated from WAMP 2.2e (Apache 2.2.22, PHP 5.3.13, MySQL 5.5.24) to WAMP 2.5 (Apache 2.4.9, PHP 5.5.12, MySQL 5.6.17). I was using the mongo driver 1.5.0RC2 with WAMP2.2e, with no problem.
With the update, I went to grab the latest Mongo driver, grabbing 1.5.4. The problem is no matter which of the 4 drivers for PHP 5.5 I put into my ext folder, none of them work. They all give me a small warning icon in the WAMP PHP extension menu and won't turn on, and if I add it to php.ini and restart Apache, it doesn't show up in phpinfo().
I have no idea why its not working or how to diagnose what's wrong.
EDIT: Previously, I was getting the drivers from https://s3.amazonaws.com/drivers.mongodb.org/php/index.html. I just went to http://pecl.php.net/package/mongo/1.5.4/windows and downloaded the driver from there; this time, WAMP doesn't give me a warning icon, but PHPinfo still doesn't show me Mongo.
I was also facing the same problem. In my case, i just set mongodb bin"C:\Program Files\MongoDB 2.6 Standard\bin" path in environment variable then restart the wamp and now everything is working fine with 1.5.5
So I found out the issue was the latest driver. I was trying to use 1.5.4, kept saying 'The specified module could not be found'. I went down to 1.5.1 and it worked. I found posts suggesting older versions that did work for people, so I figured I can try downgrading. I had already tried 1.5.3 with no avail, so I kept going. 1.5.2 also failed, but 1.5.1 ended up working.

Categories