I am totally new in the web development, I am using Mac OSX. and I am using XAMPP version 5.6.32. I just want to follow along the tutorial, but the I am stuck at the very first step.
I have tried to tap the 'Start All' button, but it is not running, MySQL Database, ProFTPD and Apache Web Server always stop.
when I open phpMyAdmin, it is said
what should I do ? I have no idea. Thanks in advance
Try updating XAMPP to the newest version (reinstall)... If it still doesn't work check what the Application log tab on the right says.
Related
XAMPP has some error about ports I uninstall it but did not back up any information and now my project does not run on local host is there any way for me to restore my old project or I have to do it again on new XAMPP? another problem is after reinstalling XAMPP windows do not know PHP what should I do?
by the way I am a very beginner in this :)))
So, I will try to explain this:
Websites (i.e. with PHP) need a webserver. For example when you go to stackoverflow.com, you automatically call a webserver who then compiles the PHP scripts on the server to HTML code.
This principe does also apply to your local installation.
When you call localhost, you basically call yourself as the webserver. XAMPP is a tool that can "simulate" a webserver on your PC, thats why PHP sites do not work without it, because your browser doesn't know what to do with PHP code, it only understands HTML.
If you install XAMPP again you should be able to get it running.
If you have any questions/problems with the XAMPP installation, feel free to ask again.
I want to run 2 XAMPP instances on a Windows 2016 server.
1 XAMPP version 3.2.4 is already running:
Now version 3.2.4 has default PHP7x running and I need PHP5 also for a website. I tried to run PHP5 on the same instance. And for this I tried to follow: Is there way to use two PHP versions in XAMPP?.
Unfortunately I could not make it work. So I went for another approach and that is installing another version of XAMPP on the same server. I went for version 3.2.2. I changed the ports like stated in this url: How to change XAMPP apache server port?
But still doesnt work. Seems that my apache is hanging. Here is a screenshot:
Can anyone help me to get the 3.2.2 running? Thanks!
Fixed it. This is how to fix it: Change Apache service name. And then, while Apache is not running, click on the red cross (in the screenshot you see a green check mark but this was a red cross first) this will install Apache. Then run localhost en go to http://localhost:8080 and now its working. Two XAMPPs running at the same time.
Screenshot of chaning the Apache service name (you can go here by clicking on the Config button which you see also in the screenshot at the upper right corner):
In services you can see that there are two Apache running now from two XAMPP installations:
Using the latest Xampp version with PHP 7
[cmd.exe]
The application was unable to start correctly (0xc000142).
Click OK to
close the application
I get a message that the application cannot start when I click the shell button in XAMPP control panel.
I reinstalled XAMPP but it didn't work.
I Updated my environment tables to mysql/bin so I can globally use MYSQL.
I can open the xampp_shell.bat and I will probably do that for now.
Well, I know this will sound like a dumb solution but it works for me. Click on the shell button many times until the command prompt window opens.
Maybe Win10 (build 1703) could be the cause.
Quick Fix: set compatibility of xamp-control file to Windows 8 and run as administrator.
My OS is XP sp2. I downloaded XAMPP (new version of XAMPP 1.7.7) from apachefriends . Then installed. I read many articles and saw videos. but still I couldn't go to the 'http://localhost/xampp' .Browser says
This webpage is not available
When I started both mysql and the apache, here is a screen shot.
As all tutorials on the internet says, when I started, there is a green color label saying 'Running' infrom of the each component. Here there is nothing showed, but there is something in the console.But I can't see any php page in the browser after any related URL is typed. I m an absolute beginner for this.
New
I installed Apache 2.2 manually. Then it runs well and XAMPP shows Apache is in running. When the URL typed 'localhost', Apache's htdocs html page is appeared. So, now I assume that there is no issue in the port '80'(as the manually installed apache is running on it). I want to configure the XAMPP to work with my manually installed apache version. Any suggestion please ? Thanks in advance.
Make sure no other application is using port 80. (Skype does for example. Close Skype restart Apache).
Check if anything is running with netstat in cmd.
I have MAMP installed on my Mac Book Pro OS 10.6.8. The open start page on my MAMP is grayed out now. The Apache server button is green. The MySQL server button is red.
At one time I could access phpmyadmin. I have my php files in htdocs folder of MAMP that I can access in localhost:8888/filename.php. I want to create another database and table but I can't access phpmyadmin. I even downloaded phpmyadmin to my desktop but I don't know how to open it. Any suggestions
On the latest version of MAMP (4.1.1), the default option in the settings was set to "PHP 7.1.1". After I set the default option to 7.0.15, the PHPmyAdmin tools were no longer grayed and worked fine.
I often get MAMP giving me the red light for MySQL.
Every time I fixed it by quitting every instance of the mysqld process.
Check in Activity Monitor for multiple instances of that process running - if there are, then that is your problem. Quit them all, and restart MAMP.
Activity monitor can be found in Applications > Utilities > Activity Monitor.app. - Search for mysqld in the search box in the top right of activity monitor, and if there are multiple instances running, quit them all.
If not, try quitting the process anyway and restart MAMP.
Update: Easier way to perform this:
$ killall mysqld
From terminal.
I had the same or similar issue where PHPMyAdmin was greyed out after installing MAMP 3.5. I checked the PHP version and it was set to 5.2, so I just bumped it up to 5.6 and the my PHPmyAdmin icon became active.
Hope that helps.
I encountered this issue after migrating my MAMP installation from one machine to another. The problem occurred due to permission issues on the MAMP directory.
To grant permission:
Locate the MAMP directory in Finder
Ctrl-click > Get Info
Under Sharing & Permissions, if your username is not visible, click + and select your username
Ensure Privilege shows Read & Write
Click Apply to enclosed items from the settings icon
I had to go to the Mamp website
and download the latest version then reinstall it to get things working again. This had the advantage of also giving me the cloud options and upgrading MySql but But you do have to remember your default directory and preferred ports if you want to use the ones that you had before. I hope this helps?
The only way I was able to fix this was to reinstall MAMP Pro.