Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: Gabriel on March 11, 2016, 11:26:42 AM

Title: PHP Selector: installation of PHP5.2 failed
Post by: Gabriel 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
Title: Re: PHP Selector: installation of PHP5.2 failed
Post by: Sandeep 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
Title: Re: PHP Selector: installation of PHP5.2 failed
Post by: 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
Title: Re: PHP Selector: installation of PHP5.2 failed
Post by: Sandeep 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
Title: Re: PHP Selector: installation of PHP5.2 failed
Post by: Administrator 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