Author Topic: PHP Selector: installation of PHP5.2 failed  (Read 8542 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
PHP Selector: installation of PHP5.2 failed
« on: March 11, 2016, 11:26:42 AM »
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:

Code: [Select]
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

Offline
*****
Re: PHP Selector: installation of PHP5.2 failed
« Reply #1 on: March 12, 2016, 03:27:20 AM »
which version of mysql you're running not all php versions are compatible for new versions of mysql

Offline
*
Re: PHP Selector: installation of PHP5.2 failed
« Reply #2 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

Offline
*****
Re: PHP Selector: installation of PHP5.2 failed
« Reply #3 on: March 13, 2016, 06:27:58 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

Offline
*
Re: PHP Selector: installation of PHP5.2 failed
« Reply #4 on: March 14, 2016, 12:27:13 AM »
for php 5.2 you should try to add this in your build flags if you are using 64bit system
Code: [Select]
--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