I'm using wamp. I was out of business for two weeks than I'm back and trying to start my wamp 2. BANG. Nothing happens. The red W icon appears among the hidden icons. When I click it, shows all services offline.
WAMP Version: 2.1
APACHE: 2.2.17 (shipped with WAMP)
PHP: 5.3.4 (shipped with WAMP)
MYSQL: 5.1. 53 (shipped with WAMP)
WAMP install directory: I put it to a custom directory (not the default route).
MYSQL event: I'm using Ruby on Rails and I had some annoying problem about a missing dll thing. I replaced it, but after that I used without problems and limitations the WAMP.
Ideas:
Restart the computer: same issue.
Skype on: never use Skype. However it's installed.
Port 80 taken: no, I tested in the apache>service.
Log files: all 3 empty. There are several weeks old lines only.
Every time I start it, shows Offline, the icon is red and cant start any service. Tried to restart the program also. Nothing happens.
Because noone helped this time, I was forced to read for several hours (cc 10) around forums etc.
But I found my answer.
The problem wasn't the port 80 thing. Neither the IIS thing thats mentioned usually. Nor helped several reinstalls with different tricks (delete the records in regedit linked to wamp is mentioned usually).
The solution was a kind of localhost issue.
Steps:
try - http://127.0.01 - if it shows up the WAMP start page than you are on the right path
open the hosts file with notepad - c:/windows/system32/drivers/etc/hosts
Make sure there is only one line about the localhost like this:
127.0.0.1 localhost
This isn't good:
127.0.0.1 localhost
1 localhost
Or I had something like this (cant remember exactly):
127.0.0.1 localhost ::localhost localhost127.0.0.1
Save and close the hosts file and BANG. It works than.
Kael
Related
I am using DDEv and Docker with Windows 10 pro to set up a localhost install of drupal 8.8 using Composer. I have set up and configured the local drupal installation (it is a fresh install) and it appears to be running correctly, but in the admin section of the drupal site I receive a warning to change write permissions of sites/default/settings.php.
I tried to change settings using Filezilla, but it appears that local files in Filezilla do not provide access to write permissions? When I right-click the file in Filezilla, no permissions option appears.
Following troubleshooting tips from ddev, I tried to access phpmyadmin at https://mysitename.ddev.site:8036
Instead of loading phpmyadmin, I got the following error message:
Secure Connection Failed
An error occurred during a connection to dmckimep.ddev.site:8036. SSL received a record that exceeded the maximum permissible length.
Error code: SSL_ERROR_RX_RECORD_TOO_LONG
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.
I've been searching around for a couple of hours now and do not find a solution to this. I ran ddev describe and all seems fine with the installation. The drupal site in the container seems to run okay. There are no port conflicts present so far as I have found, so I am not sure why I cannot get access to phpmyadmin.
I am a relative newbie in terms of skills, but have successfully maintained drupal 4-7 on localhost with XAMPP and my web host. Now I am wrestling with the move to drupal 8/composer/docker/ddev. Any suggestions would be much appreciated.
Thank you!
Update 2022-09-14: DDEV has had https support fpr PHPMyAdmin and MailHog for years now, ddev describe will show you the URL.
(Original answer) ddev's PHPMyAdmin connection doesn't support https, just http. You can find the links for both PHPMyAdmin and MailHog using ddev describe; both are http-only, as in your example, http://mysitename.ddev.site:8036. It would be possible to provide https URLs for PHPMyAdmin and MailHog, but nobody has ever asked for them, and there's no security reason to do so.
Note that the key reason for https on the actual project URL is because real projects run behind https and people need to see problems like mixed content during the development phase. But there's no such need for PHPMyAdmin. However, I'm sure if people ever want it, we'll do it, it's not hard to do.
Just as a general add on, after ddev start you can run ddev launch -p in order to open PHPMyAdmin for the current project database in the browser.
I'm running two sites on Linode. Testing server.
I have one Wordpress site running on sample.com
I have another Ghost site that I want to run on www.sample.com
Note: the first one doesn't have www prefix
However when I try to access www.sample.com my browser instantly shows my Wordpress site at sample.com ( the one without www )
I can not narrow down where this setting is being enforced at.
I figure it either has to be in the Linode DNS settings -OR- in the nginx server settings. I can't find anything indicating that there should be a redirect of any kind.
Ammendment: On the nginx side, there is are two configuration files. The default server config file is pointing to the Wordpress installation which is loading for both www and non-www cases.
Ammendment: The remaining 1 configuration file is pointing to the Ghost installation.
Ammendment: When using the same two configuration files, but only changing the hostname to be "mail." instead of "www." the ghost installation loads just fine. The "mail." host was already registered in the dns settings, so I just borrowed it as a test.
What am I not consdering?
I'm not quite sure what happened. But, 24 hours later, the problem went away. Somewhere in the pipeline, old host/ip/port sets were getting cached and I couldn't resolve where. But, now it's working fine.
Thanks Richard Smith for taking time to talk me through it.
I had installed WAMP server on my C: drive and had several databases created in the embedded mysql instance of it. Later I installed another WAMP server instance on my D: drive. Now I can run the wamp server instance in my D: drive and I can run the other WAMP server instance on my C: drive also (1 instance at a time) but the problem is even though I run the WAMP instance in my C: drive it dosen't show my old Databases and old Aliases dosen't work!
Now I want to switch back to my old WAMP server instance in C: drive. How could I fix it?
Although I have not tested it but you need to change ports of apache and mysql server.
Check out http://www.websysdynamics.com/Web-Tech-Blog/how-to-run-xampp-and-wamp-on-same-machine-in-windows-environment.html
It might be helpful.
Same for me. I succesfully installed a new version and moved over some sites, only to discover later the old version doesn't work properly anymore. I think some global path variables may be overwritten or something. The old wamp now makes localhost point to the new wamp's www folder and indeed localhost/phpmyadmin only shows the new wamps databases. So future readers be warned!
more info about why you shouldnt try to do this here
You would try to update the configuration located at wampmanager.conf for different versions of WAMP. There you can set the MySQL version,, application etc.
The post Install both 32 bit and 64 bit WAMP server would give your some hints.
I am having a problem with wamp server (again). First the icon would not turned green so I change the port to 8080 and now it turns green. However, when I visit localhost, I just get the message in the screenshot below.
Does anyone know what's going on here? Same when I try to go to PhpMyAdmin. I have version 2.1
try http://localhost:8080
(or http://127.0.0.1:8080 if there is a problem with the resolution of localhost)
you changed the port and I am not sure if you reflect this in your request.
Do you have Skype on in the background? If so turn it of restart your web server on port 80.
Edit: Like said in another response check for anything on port 80 and turn it off.
Check your system for any program that uses the port 80, and turn it off.
This will surely work:
Check in which Drive your Windows OS is installed. If it is E, F or other then C, then install wampp in that particular drive.
If Microsoft Visual C++ 2010 SP1 Redistributable Package is not intalled then install from : Download link
It should work.
I too faced the same issue during the installation.
This error is due to
1) if some other service is running on the same port
2) if some other application may block your application.
For checking
1.) Select the server icon. Select "www directory" and make sure it is pointing to where it should and that there are files there. --- It points to my Documents/wamp/www --- where there are an index and your test files.
2.) Select the server icon. Select Apache. Select service. Select "test port 80". See what port 80 is actually used by. --- I get "your port 80 is actually used by:......
Here you can find your port is used by which service.
If you have iis running remove that temporarily now by control panel-> uninstall program -. turn window feature on/off -> iis.
After this restart your system and run wampserver now. It will work Hope this may help
Check in your hosts file to see if there is a entry like this:
127.0.0.1 localhost
if there is a # before it like this
# 127.0.0.1 localhost
delete the hash as that is a comment
you will find your host file at:
C:\Windows\System32\drivers\etc
Hello guys
i have installed wamp server Version 2.0 .. and i have tried some things and every thing ok ..
i have reboot my Desktop then some thing goes wrong when i am trying to open my local host
EMDAEMON
HTTP/1.1 404 , Not Found
should i consider re-installation ??
Reboot desktop? Open your local host? If you want to do web development you should get familiar with basic computer terminology, at least to a point when you are able to make questions that make a minimum sense.
I'll assume you have installed a bundle that includes the Apache web server and you want to configure a virtual host that's served when you load http://emdaemon in your web browser. The exact details to do so vary slightly depending on your platform. Being a newbie, I suggest you reuse the main site that's already configured and can be loaded through http://localhost. It's roughly explained at http://www.wampserver.com/en/presentation.php. Leave multiples sites for the future :)
Solved .... it seems that we have conflicts in ports ..change port in apache make it works