I’m working on a site for a client and discovered that my php version is (was) 5.2.3 and theirs is 4.3.7. I downgraded my php version to 4.4.7 to be more compatible with their system and adjust my code accordingly. Things were working fine for awhile, but now I’m getting these errors on my php page:
Warning: mysql_query() [function.mysql-query]: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) in /home/.bodacious////login.php on line 50
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/.bodacious////login.php on line 50
I’m not sure if this is a database issue, a php versioning issue, or a coding issue. I’ve submitted a support ticket, but I was wondering if anyone here might have an idea if it’s ME (which could be very likely ;-)…or something else on the server side.