Install two instance of wampserver on same pc - wamp

I have installed two instance of wampserver on same windows pc, one in C:\wamp path and another in D:\wamp path.
Now when i start wamp server manager from c:\wamp\wampmanager, apache and mysql start from d:\wamp path! and i cannot see my first wamp server databeses. please help me...

If you want to get back to the first install, the one on your C: drive, you can do this.
Launch the current WAMPServer, the one looking at the D: install
Using the wampmanager menus do
wampmanager -> Apache -> Service -> Remove Service
wampmanager -> MySQL -> Service -> Remove Service
(right click)wampmanager -> exit
Now delete the WAMPServer desktop icon, and/or the one in your start menu.
Make a new desktop icon from C:\wamp\wampmanager.exe
Launch WAMPServer from this new desktop icon
Using the wampmanager menus do
wampmanager -> Apache -> Service -> Install Service
wait 10 second
wampmanager -> MySQL -> Service -> Install Service
wait 10 second
wampmanager -> Start all service

Related

Where to find Cpanel python app console logs?

i'm trying to deploy Django app in cpanel
after configuring settings and installing requirements i have this error
i want the location of log file to check the error
You may want to see via cPanel -> File Admin -> /home/user/app/stderr.log -> select watch up in the right corner, this is the standard output for Python server. Hope helps to you.

Deploying Front End of Website to Azure

I am trying to deploy my web application and web service to Azure. I am somewhat new to web development and even newer to web app deployment.
When I test deployment on my local machine, there are 2 steps:
1) Publish web service from within VS. Copy generated folder to server's inetpub/wwwroot/ folder, convert to application from IIS manager. - I refer to this as the back end.
2) Host and run the web app. Run "grunt build" to generate a "dist" folder, copy dist folder into inetpub/wwwroot, create new site pointing to this folder in iis manager. - I refer to this as the front end.
I seem to have gotten step 1 done correctly in Azure: http://nxgnopencast.azurewebsites.net/ - published it to Azure from within Visual Studio.
My issue is step 2. What is the equivalent of grunt building and using iis manager to convert to website for Azure?
Try copying all of the content on your IIS website into the wwwroot folder on your Azure web app. This can be done easily via FTP or drag and drop on the SCM site: http://nxgnopencast.scm.azurewebsites.net/
On the SCM site go to Debug console > CMD and then use the folder structure to go to D:\home\site\wwwroot and drag and drop all of your content there.
For more deployment techniques see:
https://azure.microsoft.com/en-us/documentation/articles/web-sites-deploy/

Wamp server error. could not execute run action

I am trying to start wamp serve which was totally running fine on my laptop two weeks ago, but now after two weeks I suddenly get this error:
could not execute menu item(internal error)[exception] could not execute run action: the directory name is invalid
When I click on wamp, then I go to apache, then I select service then test port 80 and this is what I see:
when I write localhost, it goes there but when I click on Localhost and phpMyAdmin, i get this error:
please tel me how I can fix this . thanks
WAMP is trying to open your browser, but the directory in the settings is not correct. It could be that your browser is now located somewhere else. To fix this:
Edit the file wampmanager.conf inside your wamp direcotry.
Replace the full file path under the [main] section for the navigator parameter
Save the file
Right-click on the wamp icon and select refresh
Try it now
Good luck!
The paths are incorrect in multiple ini files and the wampmanager conf file. Here are the ones I changed since my installed moved from g drive to e drive. I had to change all instances of g:/ to e:/ as well as my chrome.exe location
wampmanager.conf:
in the [main] section update the path of chrome.exe or ensure it is correct.
wampmanager.ini:
change all instances of g:/ to e:/ (or whatever your install drive letter is)
php.ini (under /wamp/bin/php/php5.5.12/)
again, change all instances of g:/ to e:/ (change to your install letter)
Wampmanager started correctly once these changes were made.
I had a similar problem, and to get my WAMP server working again on my laptop I ran the executables for Apache and MySql independant of the WAMP system tray icon.
In Windows Explorer, I ran (elevated):
{wamp folder in my case C:\wamp}bin\apache\apache2.2.22\bin\ApacheManager.exe
This put the apache manager system tray icon in.
then I used the apache system tray icon to start apache server
Then I ran (elevated):
{C:\wamp}bin\mysql\mysql5.5.24\bin\mysqld.exe
This allowed me to use localhost\phpmyadmin, which to me demonstrates the php, mysql and apache are all working.
My web app was also back and running.
The age of my MySql version and apache version show how long this had been stable for.
I initially thought the problem may have been caused by a google chrome upgrade which included the notifications icon in the system tray, as the chrome upgrade was the only thing I recall changing. I unistalled chrome but this did not fix it - although this does not rule out Chrom Notifications being what broke it!
This appears to be an oversight on the WAMPSERVER developers. For some reason it does not translate the file path syntax from Linux to Windows, resulting in the following error message:
Aestan Tray Menu: Could not execute menu item (internal error)
[Exception] Could not execute run action: The directory name is invalid
To fix this, edit wampmanager.conf and replace the forward slashes in the file path with backslashes.
EXAMPLE:
Incorrect
editor ="C:/Program Files/Sublime Text 3/sublime_text.exe"
Correct
editor ="C:\Program Files\Sublime Text 3\sublime_text.exe"
Save the file, then right click the tray icon and select "Refresh". You should now be able to edit your files with your selected editor without issue :)
i have met this problem and fixed by editing 4 files
- wampmanager.conf in root
- wampmanager.ini in root
- php.ini in (wamp64/bin/php/php5.5.12)
- httpd.conf in (wamp64\bin\apache\apache2.4.18\conf)

Wamp server icon will not turn green

I read many similar questions about it but the solutions are not working for me.
The icon says WAMP Server online but it stays orange.
when I test port 80 under Apache/services/Test port 80 it says that port 80 is actually used by: Server: Apache/2.2.8 PHP/5.2.6
Shouldn't that be a good thing? As there are no other programs using port 80, despite that when I type local host I get a weird page instead of the normal one, it has pink bars
The AppServ Open Project - 2.5.10 for Windows
phpMyAdmin Database Manager Version 2.10.3
PHP Information Version 5.2.6
About AppServ Version 2.5.10 for Windows
AppServ is a merging open source software installer package for Windows includes :
Apache Web Server Version 2.2.8
PHP Script Language Version 5.2.6
MySQL Database Version 5.0.51b
phpMyAdmin Database Manager Version 2.10.3
ChangeLog
README
AUTHORS
COPYING
Official Site : http://www.AppServNetwork.com
Hosting support by : http://www.AppServHosting.com
Change Language :
Easy way to build Webserver, Database Server with AppServ :-)
I really need to start working in this project but this is preventing me from even starting.
I have solution...
Click WampServer icon in tray icons -> Apache -> Service -> Install service
(same for mysql -> Service -> Install service )
Then, Apache -> Service -> Start service (same for MySql -> Service -> Start service)
done! Enjoy :-)
If you are running Skype, stop it since it uses port80 which is needed by WAMP
You can also switch the port needed for Wamp.
Follow this article
How to change port number for apache in WAMP
Unless you really know what you are doing you should only have ONE Apache on your system.
Basically WAMPServer and APPServ are the same thing, that is they are installers for the WAMP Stack i.e. Apache, MySQL and PHP.
You only need one of them so uninstall the other, of course remember to backup anything you may want to move over to the other before you uninstall one of them.
Check if MySQL is running or not
Click on Wamp icon in icon tray then
MySQL->Service
if Start/Resume Service is visible and clickable it means your MySQL service is not running that's why it is giving you problem.
It's possible that you have installed some other application that installed and running MySQL - so already having one MySQL running is what conflicting with wamp's MySQL.
How to stop other MySQL from running?
Simply go to My Computer and search for file name "my.ini" (without quotes)
There should be at-least two my.ini files on your computer delete all other my.ini except the one in wamp directory
Restart your computer and start the wamp server it should solve your problem
As of WampServer 2.5 (64bit), these are the things I had to do to get it to go green:
In your my.ini
Change [wampmysqld] to [wampmysqld64]. Now when you start/stop wamp you should get information in your mysql log file (and errors if you have any).
I uncommented all the innodb lines under where it says Uncomment the following if you are using InnoDB tables (except for innodb_log_arch_dir and innodb_additional_mem_pool_size).
Make sure the innodb_data_home_dir is set properly, like innodb_data_home_dir = C:/wamp/bin/mysql/mysql5.6.17/data/. Do the same for innodb_log_group_home_dir.
Change the locale line to read lc-messages=en_US for English.
You can confirm mysql is up and running with Wamp Icon > Mysql > Service (Start/Resume service should be greyed out)
Install and start apache:
Wamp Icon > Apache > Service > Install Service.
Wamp Icon > Apache > Service > Start. (you can click on "test port 80" to see if something was blocking it like others have mentioned, such as skype, sql reports, etc.)
During the starting of WAMP server, the Apache service should be started as well. In case, it doesn’t start; WAMP server won’t perform as it should be.
To fix this issue, navigate to the WAMP server icon in the system tray > Apache > Service administration ‘wampapache64’ > Install Service.
it will open the Command Prompt on your screen. After closing the Command Prompt, go to the same path and click on Start/Resume Service.
The WAMP server icon should turn to green right away.
In case you can have all these but still, the icon is displaying orange color, you need to click on Restart Service button.

wamp server not working on 8.1

I just upgrade to win8.1 from win8 and I can't start wamp server (2.2 x64)
It was working fine on win8
Try checking that the Apache and MySQL services are still registered as services.
Look in Windows Services for services called - 'wampapache' and wampmysql'
Or if you have WAMPServer 64bit wampapache64 and wampmysqld64
If they dont exist do the following:-
wampmanager -> MySQL -> Service -> Install Service
wampmanager -> Apache -> Service -> Install Service
Then try to restart all services.
After Upgrading of window to window 8.1.
Please click on the wamp icon go to apache then services and then click on install services. And then go to mysql and services and click on install services and the restart your wamp. And enjoy your coding. Hurry
I've also gone through this situation. I checked the services and there "wampapche" and "wampmysqld" services are disable I've tried to start the services and the service didn't start stating a 1058 error. Then I changed the startup type from manual to automatic and now it's working.
all of your's answers are wrong, not only wampserver but also xampp is not working on windows 8.1 because apache server is not running in windows 8.1 with port 80, becouse port 80 is system reserved port.
#Ahmed that has been what described on the above posts. The simple answer is after upgrade we need to restart the services as they are stopped and yes it depends on the user whether they are going to keep it running or closed as they can choose whether to start manually or automatically.
Apparently Windows 8/8.1 are missing some essentials. The solution is to install Microsoft Essentials for Windows 8/8.1. This adds the .NET framework with all the necessary APIs that allow Wamp to function as designed. You can download Windows Essentials from herE: http://windows.microsoft.com/en-us/windows-live/essentials . I have already tested this out on several devices, including my laptop and desktop running both Windows 8 and 8.1. Good luck! :)