Xampp doesn't work on Mac X - mysql

So here is what happens when i run xampp by clicking on the manager-osx.
I click on "manager-osx".
Icon jumps in the dock as if it is starting the service.
Asks for admin password. I enter the password.
It accepts the password, and application keep jumping in the docs for 3-4 times.
The app disappear from the dock.
The issue started after i have quit few processes from the activity monitor.
I am not sure what has affected xampp and can't remember what services i have stopped as there were many.
Solution applied so far:
Restarted my MacBook Pro.
Exit all other application and tried to run xampp.
Made sure no other application is running on port 80.
Removed xampp from applications and tried to reinstalled. Same issue with re-installation process, It asks for admin password and then nothing happens.
search online for any help but nothing helpful found.

I haven't got any experience with XAMMP but MAMP works always fine for me. MAMP has everything I need in terms of functionality.
I would recommend MAMP

If MAMP is not the best solution for you. You can install manualy
APACHE + PHP + MYSQL (It's not so hard)
Just go step by step using tutorial like
This
Manual installation will give you much more controll on your enviroment.
And also you will have better output to attach it here if you can't find a problems.
Of course it's little bit longer than 3 clicks. But on all production servers you need to install environment manually. This knowledge you will use later much more times. You will better understand how all is works and how to find reason of bug.(error)

Related

How to fix XAMPP Shell from crashing

So I recently installed XAMPP, following a YouTube guide along the way. I click the start actions for Apache and MySQL and everything was going smooth until when I click the Shell icon on the right side of the command panel and the cmd associated with it just opens for a brief second and immediately closes I kept clicking on it hoping for it to work and nope it still just opens for a brief second and closes.
I kept searching for possible solutions online and still, it doesn't solve the issue. I tried tweaking the config of the Apache and MySQL and it still didn't fix it. I also try reinstalling using different XAMPP versions and still the problem persists. I also tried running it as administrator and issue is still there.
Additionally I'm using Windows 10
If anyone knows a possible fix for this I would greatly appreciate it.
Edit: I screen recorded my XAMPP issue, here's the link to that video : https://youtu.be/h-lM250Pqwc
Same issue on Windows 11
Running xampp-control as administrator did the trick. Source
Some alternative solutions:
Run SFC scan
Edit the registry key to stop CMD from closing
Follow these steps:
Open the xampp folder.
Search for xampp_shell.
Right click it and run it as administrator.
That's it!

MAMP localhost cannot connect

I'm a complete novice at web deving (literally just started yesterday so please explain your answers like you were talking to a 5 year old haha) and I'm setting up MAMP following along the steps on this site: https://skillcrush.com/2015/04/14/install-wordpress-mac/
I followed everything to a tee till I got to step 10. When I search localhost:8888/(insert folder name in my root folder) on my URL bar. I get "cannot connect to server."
I've googled this problem and tried all the solutions I found (here on stack overflow and others) but still nothing works. Can anyone help me?
I'm using macOS Sierra and MAMP ver 4.0.6
Try visiting http://localhost:8888/ and see what happens ... if there is nothing there then there is a problem with your apache configuration. Make sure the apache service was started from within the MAMP app.
if you type the following in your terminal app:
sudo /Applications/MAMP/Library/bin/apachectl restart
it will output any issues or misconfiguration you may have.
Also, if you want you can give PilotKit a try, PilotKit is a
Super-easy local site development app, it launches and creates sites locally with one click, it support Wordpress, Joomla, Drupal and static sites generator plus it comes with a lot of functionalities.
Installation step of wordpress:
Step - 1 : download a wordpress from wordpress website.
Step - 2 : Extract wordpress and move this extracted folder into a MAMP/htdocs folder.
Step - 3 : Next we’ll go into our MAMP start page, PHPMyAdmin, then Databases and create a database (I’ll name it “database”). Go to “localhost:8888/database/installer.php and fill in the following information.
Step - 4 : After selecting “Run Deployment”, on the following page select “Run Update”. At last, we can go to our local website at “localhost:8888/site”!
Some cases that makes your site is not reachable
If you are not sure with port.It's better to check url with open a start page.
Check you server and database working properly by creating simple file.for example.
make sure you have database before install wordpress.If any then goto database and check wp_option table.Cross verify your home_url and site_url.

Syncing MAMP MySQL Database on MEGA

SO I've read countless tutorials and I've spent hours trying to solve this but have run out of ideas. Trying to sync my Wordpress database on MEGA (every other tutorial said dropbox but I got MEGA) and everything but one things works on my windows PC.
I've installed MAMP for both (available for Mac and windows now), made them the same settings and properly integrated MEGASync with it. I created the symlink from both Windows and Mac and updates seem to be happening when I make changes or fool around with wp-config to fix this.
With wordpress I ran the installer on the MAC and it works fine for syncing. On Windows 8.1 however everything functions between MEGA but when connecting to http://localhost:8888 or http://127.0.0.1:8888 Im simply getting a 'Waiting for Connection". Opening phpmyadmin from either computer shows the database I created as well.
Things I've tried.
- Turn off firewall
- Ran a netstat -a command and found it was listening on 0.0.0.0:8888
- Tried to visit localhost:8889 (mysql) and it downloaded a file.
- Made sure my hosts file had 127.0.0.1 localhost and has ::1 localhost
- Can ping localhost and 127.0.0.1
- Checked apache logs and found them empty
Anything I can do to try and log where to narrow down why it's timing out (it seems) on my local windows box?
Not sure if it's much of a solution but did solve this. I uninstalled both MAMP servers (Mac and Windows) and did the entire setup process but started on the Windows machine first this time.
I think the problem was a different structure had been synced (not synced) from both computers (Mac was looking like a different file structure).
No I see the proper contents in both directories.

problems running xamp

I am using a open source document repositary kordil edbms which works fine in my windows 7 machine .
But when i installed it in windows small business server, xamp is not running. when i start task manager httpd itself is not getting shown. I went to xamp control panel and it says error running mysql busy.I have share point in that machine which also has localhost 80.
So I changed the apache port.
I changed the apache port in httpd.conf file in 2 places
listen
server name
It seems i need to change the port for mysql also. Now what is the option to change the port for xamp mysql or am i going wrong some where else. Please also look at the screenshot of xamp control panel.
Quit Skype and then restart all services from your XAMPP and let me know if its work or not.
Port conflict as Skype also consumes 80 by default
Click on SCM and manage services by starting and stopping.
EDIT
check this link for both to work with - http://www.binodranabhat.com.np/blog/using-xampp-and-iis-together/
MYSQL not working because xampp which path excepting that path not getting automatically .
that is reason behind xampp mysql not start
go to window +R press then open cmd with run as administration then type this command
sc delete mysql
then after start mysql problem resolved.
Fixing Apache Port Conflicts
Another error message that is pretty common to see when working with XAMPP is a notification in the XAMPP control panel that the ports Apache needs to use, ports 443 and 80, are already being used by another application.
A message from the XAMPP control panel letting us know Skype is using ports 443 and 80
In the case of the error message in the image above, this is a pretty easy fix. The offending application is Skype. If you see the same message, close Skype completely and restart XAMPP to solve the problem. Skype is a frequent-flier on the port-blocking scene and pretty easy to identify and remediate. Unfortunately, things aren’t always so simple.

How to activate XAMPP's apache and mysql permanently, of non-admin account on Mac

I have Mac systems with os x10.6.8 and above. Installed XAMPP and everthing is working fine.
Its just that every time we shutdown, we again have to start apache and mysql from xampp control panel.
For this as user login is not administrator, we have to call our administrator to login every time and every day.
So, i was wondering if there is any way i can permanently start apache and mysql for the Mac system, using admin password once. And offcouse and stop it when ever required using amdinistrator password again.
Any help or idea on this will be highly appreciated.
Found a link with some info on this, don't know if it works in your case, but it's worth a try
http://www.softaculous.com/board/index.php?tid=3277&title=Start_APACHE_and_MYSQL_on_mac_os_x_boot_without_admin_password