Zend Server CE | PDO | ubuntu 9.10 | /tmp/mysql.sock

You are using PDO and Zend Server CE and Ubuntu 9.10 You have a little problem? This is The solution (thanks to @DwebConsulting). sudo service mysql stop sudo cp /etc/mysql/my.cnf /etc/mysql/my.cnf.bak sudo cp /etc/mysql/debian.cnf /etc/mysql/debian.cnf.bak sudo vim /etc/mysql/my.cnf replace every line starting with “socket =” by “socket = /tmp/mysql.sock” sudo vim /etc/mysql/debian.cnf replace every line [...]

Pear / php update – pear.php.net is using a unsupported protocal

and you get some wonderful error message such as: Notice: Undefined variable: dorest in PEAR/Command/Install.php on line 1220 Sometimes it happens… Solution: locate the .channels/ directory For ubuntu with Zend-CE 5.2 it’s in /usr/local/zend/share/pear/.channels/ And delete everything in there sudo rm /usr/local/zend/share/pear/.channels/* then do a fresh pear update-channels to reconstruct the serialized cache file in [...]