My site is using PHP 5.5 (the highest option available in the config section). When I use the deprecated mysql_ procedural functions, I successfully interact with my database. However, when I replaced these functions with the OOP mysqli_ functions, the following error is printed on the construction of a new mysqli object:
An attempt was made to access a socket in a way forbidden by its access permissions. 2002.
I can't figure out why, so I'm hoping for some advice.