Jose Pinto
New Pleskian
I recently installed php 7.1 for one site and my older sites are using php 5.4.
Here is the problem.
I need to install sqlsrv and pdo_sqlsrv extensions for php. This two extensions only work with php >=7.0 in linux.
But when i run the command "pecl install sqlsrv" the installer takes the older version (5) of php.
After reading in diferent places i found that i can run pecl commands on php7 like this:
"opt/plesk/php/7.1/bin/pecl install sqlsrv"
It works. But i get this error:
"running: phpize5.4
sh: phpize5.4: command not found
ERROR: phpize failed"
I dont know hot to change the pear phpize folder, and i dont know where is the phpize7.1.
I have a CentOS with plesk and I execute the commands using ssh.
Thanks for your help.
Here is the problem.
I need to install sqlsrv and pdo_sqlsrv extensions for php. This two extensions only work with php >=7.0 in linux.
But when i run the command "pecl install sqlsrv" the installer takes the older version (5) of php.
After reading in diferent places i found that i can run pecl commands on php7 like this:
"opt/plesk/php/7.1/bin/pecl install sqlsrv"
It works. But i get this error:
"running: phpize5.4
sh: phpize5.4: command not found
ERROR: phpize failed"
I dont know hot to change the pear phpize folder, and i dont know where is the phpize7.1.
I have a CentOS with plesk and I execute the commands using ssh.
Thanks for your help.