Install Openlitespeed PHP 5.6

#1
I'm trying to install PHP 5.6 on a Debian 9 machine with a new Openlitespeed install.
I couldn't find a way to do this with a repository so I'm trying to install via the Openlitespeed admin section.
I get this at the end of the logging:
checking for cURL support... yes
checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
**ERROR** Could not configure PHP build
How do I solve this?
 

lskagan

Administrator
#2
Hi Texas,

Debian 9 and Ubuntu 18.04 come with OpenSSL package 1.1.0 which is incompatible with PHP 56. The error you are receiving is due to missing curl headers. To install those you can run: apt-get install libcurl4-openssl-dev

PHP does not plan on making 56 compatible with 1.1.0 more can be found here: https://bugs.php.net/bug.php?id=73741

There have been some thirdparty patches that have gotten it to work but have opened possible security vulnerabilities.

You can try adding the Jessie repo and installing 56 that way though there could be some issues.
 
Top