I'm an old dog (75) not very good at learning new tricks.
I still use Coral_8_0_0 to create my WAMP server and am comfortable with it, so please don't tell me to upgrade to 13_3_2_ZeroXIII.
I have tried that and haven't yet worked out how to have several websites in the vhosts folder and get to them via the localhost.
I promise that I will sort that out - but, meanwhile, I have another more pressing problem:
I am running Windows 10 on a desktop computer, and I have Apache running as a service and I can :
Stop it when I like and restart it when I want;
Maintain 13 websites in the vhosts folder;
Look at each site via the localhost.
A few weeks ago the Windows 10 OS was upgraded for April 2018 to version 1803, and my setup stopped working :
I could not stop or start apache either as a service or as a programme;
I could not look at my local sites via localhost.
This was really annoying as I update most of these sites on a daily/weekly basis.
Also Dreamweaver did not work properly as it could not access the local site.
I uninstalled the version 1803 upgrade and - magic - Apache and Dreamweaver and the localhost worked perfectly again.
HOW CAN I OVERCOME THIS PROBLEM ?
I sync everything to my laptop which also has windows 10 (not yet upgraded) where everything works as I like.
Today - the 1803 upgrade arrived and I installed it to see what would happen.
Alas - Apache and localhost stopped (like on the desktop machine) so I uninstalled the upgrade and everything reverted back to normal.
I would like to solve this problem before I get stuck into sorting out the latest version of WAMP.
Any help will be gladly received. Thanks in advance.
Related
ColdFusion 2016 stopped rendering website files in browser after I updated my Mac software to latest one, Mojave 10.14.1. Instead of seeing the rendered page in the browser I can see my repository files only.
I noticed that some previous settings regarding local server and Apache were removed after update. I did restore missing settings back how they were before and even reinstalled ColdFusion 2016, but still have that problem with rendering websites on the ColdFusion platform.
After running /Applications/ColdFusion2016/cfusion/runtime/bin and sudo ./wsconfig, I the get Web Server Configuration Window with content inside
[ localhost ] Apache : /private/etc/apache2.
Is there anyone who can help to resolve this issue please?
Change the directory to
/Application/ColdFusion2016/cfusion/runtime/bin
Run
sudo ./wsconfig
The documentation does not mention sudo, but I am suggesting it to be safe.
Source: https://helpx.adobe.com/coldfusion/configuring-administering/web-server-management.html
After testing ColdFusion 2016 platform using port :8500 I found out that CF server uses Tomcat path (wrong path) instead of Apache one (for Mac virtual directory file: httpd-vhost.conf) and both of them are running at the same time.
I'm encountering a sudden problem with my localhost / 127.0.0.1 access.
Situation is as follows:
I'm using localhost / 127.0.0.1 for my developement enviroment server (XAMPP), so i can access the in-progress version of my project via browser. I also use it for for some other programs, not only for XAMPP.
Last night, when i stopped coding everything was still working fine, like everey day. But since today localhost is not accessible anymore - not via browser, not for other programs which used to use it.
The hosts-file of Windows was NOT changed since when everything was functioning well
The Problem occours not only when i try to access via browser / XAMPP. Seems to be a general localhost adressing problem
Only action between working and not working state was turning off my computer last night and turning it on again today
I've tried to re-install XAMPP and other relevant programs, still not working
Same problem applies, when i try to access 127.0.0.1
I absolutely have no clue, what could'd be responsible for this. Has anybody a suggestion? Would be very happy about that!
PS: Sorry for my possibly bad English.
PPS: StackOverflow is such a cool website, it helped me like NO other in the last years with getting better in coding. Thank you all!
I'm running XAMPP on my windows machine and experiencing a problem with Apache crashing a couple times a day. When it does, a dialog pops up and I have to manually tell windows to end the program. After I do that, XAMPP automatically starts it back up in a couple of seconds with no issues. When it crashes while I'm not home though, the server is down until I get back. So I have two questions:
Are periodic crashes something that should be expected, or is this indicative of another issue I should be trying to pinpoint?
If this is something I should just learn to deal with, is there a way to automatically restart httpd.exe when these issues occur, so I don't experience down time when I'm away from home?
You'd look into log files, especially the Apache access and error logs, to see what happened, when you are not at home. I've met some similar situation: I have a problematic PHP script hosted on my server, when someone visits the page, it leads to an Apache crash.
I'd suggest you do the investigation as follows:
Search the timestamp of recent Apache restart.
Check the Apache access log to see whether there are some scripts have been accessed.
Manually access these scripts in your browser (to see if Apache will crash again)
You'd better check the PHP error log as well.
If there is really nothing suspicious, you can try WAMP bundle alternatively, which is also a very popular PHP development environment and it is stable.
Although there aren't many cases in which one should "expect" periodic crashes, in this case you are better of reconsidering your setup. From the frontpage of the XAMPP site:
XAMPP is the most popular PHP development environment
Sure, you can use it as "production" server, but XAMPP isn't build for hosting websites, it is intended as development server, so you don't have to manually setup Apache, PHP and MySQL on you dev machine. If you actually want to run your website for the public, setup Apache/IIS, MySQL and PHP manually, those products on there own are made for running in production. Or you can consider getting some cheap shared hosting somewhere, so you don't need to setup anything.
I'm very new to MAMP, when I first installed MAMP the Apache server and mySQL were working fine.
Then I stupidly deleted my root user on the database, and I couldn't access the mySQLadmin screen.
So I uninstalled MAMP and reinstalled, but now the Apache server isn't working.
Anyone got suggestions, for example what logs I should look at? I've researched a few solutions but im pretty confused
I had this exact problem.
Make sure you remove all files from /applications/mamp before reinstalling MAMP! If this doesn't work, it's possible you messed something else up, so you can try installing XAMPP, which offers just about the same functionality as MAMP.
I just installed Windows 8, and I'm having a hard time running Apache on it.
After a couple of adjustments on httpd.conf file (changing ports because of WWAHost.exe and allowing ::1 due to IPv6) I finally got it running (installed with EasyPHP), but when I open some local site on Internet Explorer 10, Apache stops responding and keep trying to load the page forever.
I think it has to do with Internet Explorer 10, because on other browsers work fine before loading any local site on Internet Explorer. After that I have to restart Apache to work again and not use Internet Explorer 10 any more in order to keep it running.
Did you have the same problem?
I had a similar problem and managed to fix it with the following solution. See IE freezes when requesting an EasyPHP/Apache hosted page.
As I already had a modern Apache, I just added:
AcceptFilter https none
AcceptFilter http none
EnableSendfile Off
EnableMMAP off
before loadmodules section. This worked like a charm.
My configuration was: Apache 2.4.4 and Internet Explorer 10
I had the same problem running Apache 2.4.2 (EasyPHP 12) with Internet Explorer 10 on Windows 7, although think I've found a solution on astutelogic.com that seems to work... At least, upgrading Apache to 2.4.4 using those instructions worked for me.
I downloaded the Apache binaries from Apache Lounge, then after the extracting/renaming steps, I copied my current 'php.ini' and 'httpd.conf' files across to the new folder and added the additional lines to my 'httpd.conf' file as instructed.
As per the linked page, a note on development servers vs live servers:
As far as I can see, the AcceptFilter directive only really works on FreeBSD and Linux (to a lesser extent) so there isn’t any benefit from having them on Windows. I could be wrong though… In any case, its only a development environment so a few milliseconds slower shouldn’t be a problem.
Update
Just noticed EasyPHP 13.1 has been released, which comes with Apache 2.4.4. If you haven't already tried the steps I linked to above (or simply updated EasyPHP), I'd recommend you just download the updated stack.
I have been attempting to fix the same issue on Internet Explorer 10 on Windows 7 and have found that using compatibility mode alleviated most of the delays using localhost sites.
I know it isn't exactly a solution, but I also experienced these issues on Windows 8 and tried the common fixes to no avail.
It might be something with ThreadsPerChild.
Check error.log and httpf.conf:
# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf
I had the same problem in Internet Explorer 10, but now I can't seem to reproduce it. Normally I use Firefox, and there is no problem. It seems I got this problem after updating to Apache 2.4.