I just started working in VS 2012. I started the IIS service successfully, but alongside I wanted to use Xampp also. So, I changed http.conf file's (inside Xampp's Apache folder) servername localhost 80 to servername localhost 8080 and both the servers were working fine.
The problem occurred when I tried to install Xampp with php version 7. I uninstalled old version of Xampp and installed the new version. In my browser the localhost:8080 url shows Xampp dashboard. But I can't see anything in url localhost, which showed me IIS server's dahboard before I had done all this mischief .
Can anyone explain what happened and help me resolve this issue?
Related
I downloaded the installer version of Xampp version 8.1.6-0 for Mac and went to the manager-osx widget to start the Apache and MySQL servers but neither would start.
I then tried using the command sudo apachectl start and then created an index.php file and put it in htdocs, and then tried to open it using http://localhost/index.php as well as http://localhost:8080/index.php and both times it said the server could not be reached.
I've actually downloaded Xamp in the past and was able to reach the server but wasn't able to get php scripts to run, but now for some reason I can't even get the server to run.
I made sure to download the installer and not the virtual machine version. I'm running Monterey version 12.4.
I tried the solutions here but they didn't seem to work. I checked my activity monitor and nothing is running on port 80.
I also installed MAMP from here and tried to start Apache but it displayed the error:
"Apache couldn't be started. Please check your MAMP installation and
configuration."
Any help would be appreciated as I just want to run PHP.
I'm stuck in a problem with an update
I recently installed the xampp again and renamed the previous xampp folder to xampp_old for the installation of PHP 8
I started apache and mysql server, the are running.
the main localhost url http://localhost is opening and my websites are also opening with localhost.
but when I try to access phpmyadmin with url,I got this error:
Is this due to reinstallation of xampp?
What should I do to fix this issue? Please help me with this.
I installed Apache manually and got the localhost to work. Now I have decided to use XAMPP instead of the manual install, and I am having trouble opening XAMPP files via localhost. I can only open them as " file:///C:/xampp/htdocs/applications.html ". Do I still have to do something to reconfigure my localhost from the manual Apache install to XAMPP?
Thanks
I'm getting below error when I type in localhost/phpMyAdmin after starting apache and mysql server in Xampp in Windows 10.
Is there a way I can fix this issue?
MySQL said: Documentation
#2002 - No connection could be made because the target machine actively refused it.
The server is not responding (or the local server's socket is not correctly configured).
Connection for controluser as defined in your configuration failed.
If you are using the Bitnami version of Xampp you will have issues with Windows 10. Download and install an older version from sourceforge.net and it should work. I used version 1.7.3 and so far so good.
http://sourceforge.net/projects/xampp/files/XAMPP%20Windows/
I had the same problem but fixed it by replacing localhost with 127.0.0.1 in the config.inc.php file.
My problem was probably because i had installed bitnami and then later installed xampp. I deleted bitnami, xampp and my temp folder C:\Users\Default\AppData\Local\Temp. It worked fine after reinstalation. thats the only way it worked for me
I'm trying to set up a virtual machine (vmware workstation 8.0.2) running CentOS 6.2 (i386) to mirror my live server so I can work locally. I'm running Windows 7 64bit. I have installed CentOS, PHP & MySQL they all seem to be running fine.
I now need to get it to access my files on the windows machine. I've installed the VMware tools and can now see the shared folder in /mnt/hgfs/Work/. I now need to point apache to the files here so it can use them, to do this I edited httpd.conf from:
DocumentRoot "/var/www/html"
to
DocumentRoot "/mnt/hgfs" (also tried DocumentRoot "/mnt/hgfs/Work")
when I restart apache it fails and I get:
Starting httpd: Syntax error on line 293 of /etc/httpd/conf/httpd.conf:
DocumentRoot must be a directory
I've used Linux, but not very often so it's probably something obvious I've missed, I'd really appreciate any help on this.
Check that you are not having trouble with SELinux, which is enforcing by default on CentOS 6.
You can either disable it by editing /etc/selinux/config or read up on it here
http://rackerhacker.com/2012/01/25/getting-started-with-selinux/