Skip to content

Instantly share code, notes, and snippets.

View m1st0's full-sized avatar

Maulik Mistry m1st0

View GitHub Profile
@root-talis
root-talis / php7_build_ubuntu.sh
Created August 21, 2017 06:49 — forked from m1st0/php_build_ubuntu.sh
Compiling PHP 7 on Ubuntu 15.04 with Various Supported Modules
#! /bin/bash
# PHP 7 Initial Compile #
# Author: Maulik Mistry
# Date: Aug 04, 2017
# References:
# http://www.zimuel.it/install-php-7/
# http://www.hashbangcode.com/blog/compiling-and-installing-php7-ubuntu
#
# License: BSD License 2.0
@samueljon
samueljon / toggleHT.sh
Last active April 26, 2026 11:29
Disable / Enable HyperThreading cores on runtime - linux
#!/bin/bash
HYPERTHREADING=1
TABLE_VIEW=0 # Default to list view
AUTO_MODE=0 # Automatic enable/disable without prompt
# Color codes
BOLD='\033[1m'
GREEN='\033[0;32m'
RED='\033[0;31m'
@m1st0
m1st0 / php_build_ubuntu.sh
Last active April 27, 2026 08:09
Compiling PHP 8 on Ubuntu 25.04 with module support and optimized compilation. Included MariaDB and MySQL compatibility.
#!/bin/bash
# ⚠️ This project has moved
# https://github.com/m1st0/php_ubuntu_build_script
# This gist is no longer maintained
echo "This project moved to: https://github.com/m1st0/php_ubuntu_build_script"
exit 1
# PHP 8 Compile #