Error while Compiling lsphp-7.2

sahith

Well-Known Member
#1
Hi,

I recently installed PHP 7.2 in our server with EA4. After that i tried "Compile PHP" from Litespeed Web Interface for PHP 7 version. Configuration build is ending with following errors
Code:
checking for cURL support... yes
checking for libcurl.pc... using default path
checking for cURL 7.10.5 or greater... configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
**ERROR** Could not configure PHP build
What should i do now. Need help please.

Thank you.
 

lucasrolff

Active Member
Staff member
#2
Hi @sahith

You don't have to Compile PHP from within the LiteSpeed WebConsole on a cPanel server. Since you've already installed PHP 7.2 from EA4, all you have to do is to go to the LiteSpeed Web Console, then Configuration -> Server -> External App - here you'd have to add version (take a look at the settings for another version, and copy them over) and just replace php70 with php72 for example. Then within "Script Handler", you'd make php72 there as well and select the Handler name lsphp72.
 

sahith

Well-Known Member
#3
I am upgrading from PHP5.6, Should i copy all variables from lsphp5 external app settings.

Capture.PNG

Should i replace lsphp5 with lsphp7.
 

lucasrolff

Active Member
Staff member
#4
Add a new configuration, and then copy all the settings, and instead of lsphp5, you'd put lsphp72.

As you see in the two attached files.

External App:
YW9GFehNwMacA7CC8Rr9SWk99y9YIVZx72WmUlRn7QDnECuwKz.png

Script Handler:
AoKnKQvPnpa4Jhk6eyeGnD2M3uFQZSLCJrGSDGOfieZzcCgZFy.png
 
Top