xampp is not working and i try almost every thing - xampp

i downloaded MySQL workbench and the port is 3306 then i runs the x.a.m.p.p and the port is 3306 also i change the x.a.m.p.p port to 3307 and still not working
is their any solution to this

First we need to make sure that you installed XAMPP in proper way. Follow this video about how to prepare PHP environment using XAMPP.
If you followed the steps correctly make sure that both MySQL and Apache servers are running.
Then in XAMPP control panel click on MYSQL Admin. It will open phpMyAdmin and it will show a successful connection to MySQL server. If you noticed any error this means you have problem in your MySQL server.
Also it will be a good help to tell us from there your server type and version and your MySQL workbench version.

Related

Laragon Call to undefined function pg_pconnect() even i have enable the pgsql

I have set in php.ini but i cant use postgresql for my apache laragon version, the image just looks like below.
i even restarted the apache server but still didnt work.
I finally got the answer. I need to restart my laptop to made that postgresql connection work. I don't know why restarting and reloading the apache web service not working.

PostgreSQL reinstallation

I was recently following this on stack overflow and have tried all mentioned solutions and still pull the same error.
Failed to load sql modules into the database cluster during PostgreSQL Installation
I have removed the keys deleted and uninstalled all things related to postgresql
however there is something occupying port 5432 which should be postgres.
using netstat it looks like tomcat is using that port.
previously I had pg using that port.
So I proceeded with the installation on 5433 and
I can open up pg admin but upon attempting to connect to the data base I get error server doesnt listen the server doesnt accept connections. I am using Windows 7 Professional
How do I completely remove postgres from my machine as if it never existed because the installation worked fine before I uninstalled and reinstalled. As I mentioned before I have tried all of the solutions in the link

Xampp Is Messing Up?

First Apache wouldn't work with me so I had to change the port number which fixed everything so that is good, but then I went online and found this
"Start Apache and MySQL and go to localhost in your browser (on the same machine as your server). If this is your first time browsing the local site, you should now see a webpage with the XAMPP logo and a choice of languages. Click on your preferred language."
When I type in localhost:8080 (Apache port), it comes up this I have no clue how to make it so I'm taken to the XAMPP Logo where the languages are. -.- Help please.
Try this :
Just create a sample html page in htdocs of your apache folder and try to access it in browser.
If you name it is as index.html, you just have to write localhost in the browser or localhost/.html
This will make sure your server is working.
And in cmd prompt run mysql -u -p status to check the status of mysql that will check whether mysql is working or not.

ajax php example not working on local web server mac

I am trying to learn ajax on my mac apache server using the example code in http://www.w3schools.com/php/php_ajax_php.asp . But it is not working on my local server as desired( I am using CODA 2 in mac 10.8). I have no idea what is going wrong. Can someone help me with this.
It may be a port issue. I run MAMP (which I just switched to from WAMPP, and I love it). By default it runs Apache via port 8888 and MYSQL via port 8889. I had to switch this to ports 80 and 3306, respectively, to get everything working properly.
But if you can run any more basic php calls, I'd rule out this suggestion.

Unable to configure database in joomla installation on wamp server

I am using both an IIS and wamp server in parallel on my system. I changed the wampserver port to localhost:8080 in the httpd.conf, but during the joomla installation,it is getting stuck on the database configuration using following information:
hostname:localhost:8080,
username and password:root,
database name:mydatabase (i created with wamp's phpmyadmin).
I dont know why it is getting stuck. Can anyone help me?
Port 8080 is the port to your website, not your database. Try omitting the 8080 port and use the default 3306 MySQL port.

Resources