PHP Selector: installation of PHP5.2 failed

Started by Gabriel, March 11, 2016, 11:26:42 AM

Previous topic - Next topic

Gabriel

Hi,

I am trying to install the 5.2 version in the PHP Selector page.
During the compilation the process will halt with this error:

checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock
configure: error: Cannot find libmysqlclient under /usr.
Note that the MySQL client library is not bundled anymore!
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.


CWP version is 0.9.8.11
Distro Name: CentOS release 6.7

Does anybody now how to fix this?
Any help is greatly appreciated.

Thanks
Gabriel

Sandeep

which version of mysql you're running not all php versions are compatible for new versions of mysql

Gabriel

I'm using 10.1.12-MariaDB.
I count on moving all my websites to CWP and I have just one that needs 5.2. It's quite annoying  :-\

Thanks

Sandeep

Quote from: Gabriel on March 12, 2016, 08:36:52 AM
I'm using 10.1.12-MariaDB.
I count on moving all my websites to CWP and I have just one that needs 5.2. It's quite annoying  :-\

Thanks
I'll recommend you to install php5.5

Administrator

for php 5.2 you should try to add this in your build flags if you are using 64bit system
--with-libdir=lib64



AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp





Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor











Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services