following http://kb.sp.parallels.com/en/118378 i succesfully installed php 5.4.38 and 5.5.21 to a centos 6.6 plesk server running on php 5.3
After transfering a joomla site on this server i get:
Error displaying the error page: Application Instantiation Error: Could not connect to MySQL.
By changing $dbtype from mysqli to mysql in joomla's configuration.php i got it working but this is not what i want
in addition i have more custom web sites that i transfered which use mysqli and all of them return:
Warning: mysqli_connect(): (HY000/2002): No such file or director
i checked unix_socket, it is the default but i saved it in the php.ini 's of php 5.4 and 5.5 anyways mysqli.default_socket = /var/lib/mysql/mysql.sock
still nothing
is it that php-mysqli is not istalled for the additional versions of php? if that is the case how can i yum install modules on these paraller php instances?
phpinfo for mysqli for default Centos 5.3.3 is
phpinfo for mysqli for custom installed 5.4 is
I have the same problem and I resolve changing "localhost" with 127.0.0.1