in /usr/local/php5/lib/ I modified php.ini the following:
mysql.default_socket = "/tmp/mysql.sock"
But that don't help after restart of apache and mysql and php.
Thus looking for my.cnf with find / my.cnf but nothing found???
Not even with "find / my.cnf"
I installed it from a source: mysql-4.1.4a-gamma.tar.gz
In the system.php file I see this for mysql:
Client API version 4.0.20 altough I have 4.1.4 ???
MYSQL_SOCKET /var/run/mysql/mysql.sock
mysql.default_socket /tmp/mysql.sock /tmp/mysql.sock => looks a little contradictory to me but this is where the socket actually is.