Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7046355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:38:26+00:00 2026-05-28T02:38:26+00:00

I have got this error message: #2002 – The server is not responding (or

  • 0

I have got this error message:

#2002 – The server is not responding (or the local MySQL server’s socket is not correctly configured)

I use Ubuntu 11.10… and Xampp

I used the google, and I saw this solution:

$cfg[‘Servers’][$i][‘socket’] = ‘/var/run/mysql/mysql.sock’; or
$cfg[‘Servers’][$i][‘connect_type’] = ‘tcp’;

But these lines in the config.inc.php file, don’t fix the problem.

Can somebody help me? What else can I do?

I want to learn php 🙂 But there are a lot of problem… Maybe on Windows 7, there isn’t this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:38:27+00:00Added an answer on May 28, 2026 at 2:38 am

    So as you are telling that your are just started with php using ubuntu my advise is to start from scratch, here it’s a small guite:

    • Install all you will be needing:

      sudo apt-get install apache2 php5 mysql-server phpmyadmin

    • Once all it’s installed you will be using the following directories

      /var/www — here its where your server stores your pages

      /var/log/apache2/ — here it’s where logs are stored (quite helpful when apache
      fails,check out the error.log file in that directory)

      /etc/apache2 — apache configuration lives here

      /etc/php5/cli — this is where configuration for php5 console live (when you use ~$ php5 test.php the configuration is read from here)

      /etc/php5/apache2 this is where configuration for php5 server live (when you access from a browser like http://localhost/test.php )

    The configuration files out of the box dont need to be modified (maybe for more advance uses you will need to modify them)

    To uninstall xamp here its a thread might be helful: http://www.apachefriends.org/f/viewtopic.php?p=135389 . First remove xamp and then follow my instructions

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got this error message below: ld: file not found: ../three20/Build/Products/Debug-iphonesimulator/libThree20UICommon.a collect2: ld returned
I am not sure why I am getting this error message. I have a
I have got this error when using Enterprise Library 3.1 May 2007 version. We
I have this but I got an error: -- test if a list contains
I just got this error message in Firebug. A google search reveals nothing but
When i run my spring junit test i got this error message : Caused
I am installing a library, and got this error message: xxxx@ubuntu$ make (cd num;
Update I turned Zombies on... and got this error: *** -[CALayer retain]: message sent
I have got this code: XDocument xdoc = XDocument.Load(URI); XElement root = xdoc.Element(forecast); //get
I have got this code and I am trying to understand the convention followed,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.