• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Multi PHP version problem

MuzafferE

New Pleskian
Hello Guys ,

i read this http://kb.odin.com/en/118378

But when i try configure get some error message about mysql .

Code:
checking for mcrypt_module_open in -lmcrypt... yes
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
[root@localhost php-5.4.0]#

What can i do ?

Thank you.
 
I get error again:
Error: Package: mysql-devel-5.1.73-3.el6_5.x86_64 (updates)
Requires: mysql = 5.1.73-3.el6_5
Installed: mysql-5.5.39-25.el6.art.x86_64 (@atomic-testing)
mysql = 5.5.39-25.el6.art
Available: mysql-5.1.71-1.el6.x86_64 (base)
mysql = 5.1.71-1.el6
Available: mysql-5.1.73-3.el6_5.x86_64 (updates)
mysql = 5.1.73-3.el6_5
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@localhost php-5.4.0]#
 
Problem in that you have installed mysql from atomic repository but try to install mysql-devel from official OS vendor repo. Do you have enabled atomic repo now?
 
I want php with zts enable cus i work with php pthread.

When i try enable atomic i get some error like this:
Code:
[root@localhost php-5.4.0]#  yum --enablerepo=atomic-testing upgrade psa-atmail
Loaded plugins: fastestmirror, security


Error getting repository data for atomic-testing, repository not found
[root@localhost php-5.4.0]# yum install mysql-devel
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.coreix.net
 * epel: mirrors.coreix.net
 * extras: centos.hyve.com
 * updates: centos.hyve.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-devel.x86_64 0:5.1.73-3.el6_5 will be installed
--> Processing Dependency: mysql = 5.1.73-3.el6_5 for package: mysql-devel-5.1.73-3.el6_5.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-devel-5.1.73-3.el6_5.x86_64 (updates)
           Requires: mysql = 5.1.73-3.el6_5
           Installed: mysql-5.5.39-25.el6.art.x86_64 (@atomic-testing)
               mysql = 5.5.39-25.el6.art
           Available: mysql-5.1.71-1.el6.x86_64 (base)
               mysql = 5.1.71-1.el6
           Available: mysql-5.1.73-3.el6_5.x86_64 (updates)
               mysql = 5.1.73-3.el6_5
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@localhost php-5.4.0]#
 
Last edited:
Back
Top