Skip to content

Instantly share code, notes, and snippets.

@blister
blister / php_zts_pthread.md
Created December 29, 2024 04:14 — forked from asvignesh/php_zts_pthread.md
Install PHP ZTS and enable the pThread

Install packages needed for compiling

sudo apt-get update

sudo apt install autoconf automake bison build-essential curl flex \
  libtool libssl-dev libcurl4-openssl-dev libxml2-dev libreadline7 \
  libreadline-dev libsqlite3-dev libzip-dev libzip4 nginx openssl \
  pkg-config re2c sqlite3 zlib1g-dev
 
@blister
blister / gist:7450475
Last active December 28, 2015 05:29 — forked from sehugunin/gist:7450449
<script type="text/javascript">
jQuery(function() {
jQuery('#WorkPhone').on('blur', function() {
if(jQuery(this).val().length > 0) {
jQuery.get('test.php', { 'WorkPhone': jQuery('#WorkPhone').val() }, function(data) {
if ( data == 'Phone is a probable landline' ) {
jQuery('#showDiv').fadeIn();
} else {
jQuery('#showDiv').fadeOut();
}