![]() If you don’t use PHP to handle the need for encrypted zip, you can also use the default libzip package of apt directly. Install dependent commands: sudo apt install build-essential bison re2c pkg-config libxml2-dev libbz2-dev libssl-dev libcurl4-openssl-dev libjpeg-dev libpng12-dev libfreetype6-dev libgmp-dev libreadline6-dev libxslt1-dev libzip-dev ![]() The only thing to note is that the libzip version of the Ubuntu 16.04 LTS mirror source is too old, We need to manually release a new version to enable the zip extension of PHP to support the operation of encrypted zip files. Next, you need to prepare the dependency packages of PHP-7.2.0, most of which can be installed through apt. In addition, PHP also needs bison re2c and pkg-config can be installed, we can install them directly via apt: sudo apt install build-essential bison re2c pkg-config -y We can install a package called build-essential. In Ubuntu 16.04 LTS, there is no built-in C and C++ build environment by default. The following are the most critical practical experience.įirst, we prepare the compilation environment. Generally speaking, for this kind of software that requires source code to compile and install, you need to prepare the compilation environment and libraries that the program needs to rely on before installation. Unzip and spare: tar -zxvf php-7.2.0.tar.gz ![]() Go directly to the official website of PHP: php.net to find the download link of the latest versionįind a folder on the server and use wget to download the source code package of PHP: wget -O php-7.2.0.tar.gz Recently, I also want to reinstall the VPS again, which coincides with the release of the latest PHP 7.2.0 version (December 14, 2017) of PHP, so just install the latest version of PHP directly. #HOW TO INSTALL CURL PHP EXTENSION ON UBUNTU 16.04 HOW TO#The last article () talked about so many complicated concepts, now let me talk about how to use it in practice. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |