AMPPS Installation and Running - apache

I am new on web development,
I am starting on PHP and have downloaded Ampps stack, but nothing is working. the buttons do not toggle and Apache keep on saying "apache is already running on your machine, do you want to stop that instance and start AMPPS Apache?"
But after clicking yes, the same message comes back.
Help please
Screen shot

Related

Visual Studio with React project keeps starting multiple copies of the development server

I'm using Visual Studio 2022 with the React template on .NET (core) 6.
When I press f5 to start debugging, it starts a command prompt to start the development proxy server, fires up my deafult browser (chrome), and everything seems to work OK.
However, about every 2 minutes after, regardless of whether I have touched VS or the app, it then starts another copy of the development server, which then gets stuck with a prompt saying Something is already running on port 3000. Left to its own devices it just keeps starting more.
This doesn't stop the previous one working but it's frustrating to have all these windows appearing, especially as they steal focus when prompting with the "port in use".
Something that I suspect is related is a message appearing in the debug output around every 8 seconds saying "Microsoft.AspNetCore.SpaProxy.SpaProxyMiddleware: Information: SPA proxy is not ready. Returning temporary landing page." However as noted above the SPA proxy certainly seems to be running OK.
Has anyone got any ideas what might be happening or any workaround for this?
OK I managed to figure this out by creating another blank project and comparing them.
The port that the development server will listen on is stored in a file called ClientApp\.env.development; the port that visual studio expects it to listen on is in the .csproj file under PropertyGroup/SpaProxyServerUrl. If there is a mismatch you will get this behaviour because VS thinks the server isn't running and keeps on trying to start it.
In my case I had added the .env.development file to the version control ignore list thinking it wasn't important. This was causing the dev server to listen on the default port 3000.

XAMPP Control panel error: Apache and ProFTPD working properly but no matter the real status they hold on as 'Stopped'

So I opened XAMPP (8.1.12) on my Mac (13.0.1) and all services work fine but whatever I do the status of Apache and ProFTPD holds on as 'Stopped' even though I can open safari and use them as if they were 'Running'. Please anyone who can help me fix this? Screenshot - > screenshot?
I've try uninstalling and stalling the app again, also looking in the config and all files but I don't really know much about XAMPP so I don't want to make it worse...

How can I stop the geoserver?

Actually I want to enable_jsonp in my geoserver. For this I have to change the code as suggested by this answer. When I tried to stop the geoserver (located inside geoserver2..15.0/bin/shutdown.bat folder), the cmd was crashed. I am not able to enable the jsonp unless the geoserver was stoped. I know, I install the geoserver install as service in installation process. I think this issue may be arises from there. Any help?
You can stop the service.
Launch Windows Services (type services in the taskbar or run cmd then call services.msc), find Geoserver, do a right click and choose stop.
Note that you can then restart it from there (right click, start)

Synergy cannot reset on Mac

A really simple but dragged me many days that I cannot figure out how:
I've setup synergy on my Mac as a client, using Ubuntu as the server.
But now I wanted to switch to use Mac as server and Ubuntu as client.
The question now I'm facing is that synergy settings page never show up, each time I try to open it, it just appears in less than 0.1 second, then it disappeared.
Because I've set it up already and I don't need the reconfigure the Ip addresses etc.
This is convenient.
But now I wanted to switch server/client roles, I need to reconfigure it, however the settings page of synergy never shows up to let me configure it, does anyone have the same issue?
I tried to uninstall synergy on my Mac, but when I reinstall it back, it automatically configures itself again and quickly disappears and runs in the background.
It's been a pain for me.
You can't start the Server on Yosemite, because you need to grant access to the process (Synergy) to control your computer:
http://mizage.com/help/accessibility.html
doing that with Synergy should work.

Apache ~ How to Not Start Apache on Computer Boot

I finished coding my website for awhile and would like to stop Apache from starting when my computer boots because it slows down my other startup applications. I have looked through the Apache Wiki, the source files, and the htaccess file. Maybe I am not finding it, but is there any way to do this without uninstalling Apache?
I am using Windows 7 as an OS.
*I just want to mention that this is different than simply stopping or starting or restarting Apache. I know how to do that. I would just like it not to start up on boot until I start working on my website again.
Thanks
Open msconfig (start->type "msconfig"->click "msconfig.exe")
Check "Startup" tab for Apache or "Services" tab if you can't find it, and disable it.