Skip to content

Instantly share code, notes, and snippets.

View toxiicdev's full-sized avatar

Giuseppe toxiicdev

View GitHub Profile
@vpnwall-services
vpnwall-services / install-pthreads.sh
Created October 5, 2018 16:04
[Install PHP pthreads] Install PHP pthreads #linux #script #bash #php #install #pthreads #zts #compile
#!/bin/bash
apt-get update && \
apt-get install -y libzip-dev bison autoconf build-essential pkg-config git-core \
libltdl-dev libbz2-dev libxml2-dev libxslt1-dev libssl-dev libicu-dev \
libpspell-dev libenchant-dev libmcrypt-dev libpng-dev libjpeg8-dev \
libfreetype6-dev libmysqlclient-dev libreadline-dev libcurl4-openssl-dev \
checkinstall
cd $HOME
wget https://github.com/php/php-src/archive/php-7.2.5.tar.gz
@s4l1h
s4l1h / debian-jessie-php5.6-zts-pthreads-mongo.md
Last active May 13, 2022 15:28
Installing PHP 5.6 ZTS enabled & Composer
  1. Installing dependencies
#Date
dpkg-reconfigure tzdata
#Locales
dpkg-reconfigure locales

apt-get update
apt-get install memcached ntp
apt-get install build-essential git libssl-dev libxml2-dev libcurl4-openssl-dev autoconf libicu-dev curl