Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter stefano6791

    (@stefano6791)

    thank you. Also phpMyAdmin gave an error. Googling for that error I could find a solution. Turned out it was the operative system: Mac OSX

    “Open a terminal, type in “ls -al /etc/php.ini*”
    If a php.ini does not exist copy over the default php.ini, “sudo cp /etc/php.ini.default /etc/php.ini”
    Now edit the php.ini, “sudo nano /etc/php.ini” (or use your prefered editor)
    Find “mysql.default_socket” (you can search using [Ctrl]+[w] in nano)
    Enter “/tmp/mysql.sock” after the equals sign.
    Don’t forget to save the file ([Ctrl]+[o] [Enter] in nano)
    Now restart Apache, “sudo apachectl graceful”

Viewing 1 replies (of 1 total)