How to run Php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to run Php

After learning php from SL I downloaded xampp tho SL didn't suggest to me a server to use, anyways after downloading xampp I activated the Apache and MySQL then went to my browser to test it using "localhost/phpmyadmin" but it didn't work....I looked online for some configuration setting tried it,still it didn't work....pls what can I do or I there another server I can install? Xampp version: 3.2 4[compiled: Jun 5th 2019] My PC: windows 10, Processor Inter(R) pentinum(R) 1.60GHz System type:64-bit OS

23rd May 2020, 3:10 AM
Emmanuel
Emmanuel - avatar
6 Answers
+ 1
Darklight Have you solved this yet? Well, I don't know what steps you had tried, so my ideas are to check whether the Apache service (and optionally MySQL) are installed and are running correctly. You probably can check this from XAMPP control panel. Also it is worth noting that the installation of XAMPP is best performed using administrative account, because there are service registration necessary. Other possibility (not too common), was port conflict. You *probably* have something blocking the ports needed by Apache and/or MySQL, hence preventing them to work. Never mind, you might have tried these and didn't find it as a solution. Just passing off some thoughts : )
23rd May 2020, 6:31 PM
Ipang
+ 1
Does it work if you access the root folder 'localhost/' Please add extra details, e.g. your O/S and XAMPP version, this might help others to isolate the problem with more system specifics analysis.
23rd May 2020, 11:23 AM
Ipang
+ 1
It did not access my root folder
23rd May 2020, 12:27 PM
Emmanuel
Emmanuel - avatar
+ 1
I didn't install it using adminstrative but anytime I want to install it a warning message always pops up taking about some kind of permission tho I made some finding they said it a normal thing.. After installation is complete I will activate Apache and MySQL Go to my browser and try to access my localhost but it will return an error message I wish I could post the error that do display... Anyway I checked YouTube on how to fix it, They'll suggested I should change the port from 80 to 8080 43 to 4433 Some gave a different suggestions 80 to 8012 443 to 4343 But but none of them work
23rd May 2020, 10:01 PM
Emmanuel
Emmanuel - avatar
+ 1
Darklight Not sure this will work, or whether it is the issue, maybe uninstall it first, then reinstall under administrative account. I hope it can solve the issue. Port configuration may or may not help at all, been there too, so don't feel so bad about it, it's ok 👌
23rd May 2020, 11:04 PM
Ipang
+ 1
I'm trying to install with administrator
25th May 2020, 12:42 PM
Emmanuel
Emmanuel - avatar