Skip to content

Instantly share code, notes, and snippets.

@pcdinh
Created March 3, 2010 08:55
Show Gist options
  • Select an option

  • Save pcdinh/320457 to your computer and use it in GitHub Desktop.

Select an option

Save pcdinh/320457 to your computer and use it in GitHub Desktop.
$context = stream_context_create($opts);
stream_context_set_option($context, "http", "protocol_version", 1.1);
'stream_context' => $context
$request_xml = $client->__getLastRequestHeaders() .
$client->__getLastRequest();
$response_xml = $client->__getLastResponseHeaders() .
$client->__getLastResponse();
print "Response:".$response_xml;
print "Request:".$request_xml;
print $exception;
#! /bin/sh
#
# Created by configure
'./configure' \
'--prefix=/usr/local/php5' \
'--with-libdir=lib64' \
'--disable-debug' \
'--with-pic' \
'--disable-rpath' \
'--without-pear' \
'--with-bz2' \
'--with-freetype-dir=/usr' \
'--with-png-dir=/usr' \
'--enable-gd-native-ttf' \
'--without-gdbm' \
'--with-gettext' \
'--with-gmp' \
'--with-iconv' \
'--with-jpeg-dir=/usr' \
'--with-openssl' \
'--with-pcre-regex=/usr' \
'--with-zlib' \
'--with-layout=GNU' \
'--enable-exif' \
'--enable-ftp' \
'--enable-magic-quotes' \
'--enable-sockets' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-sysvmsg' \
'--with-kerberos' \
'--enable-ucd-snmp-hack' \
'--enable-shmop' \
'--enable-calendar' \
'--without-mime-magic' \
'--without-sqlite' \
'--with-libxml-dir=/usr' \
'--enable-xml' \
'--with-apxs2=/usr/local/apache2.2.14/bin/apxs' \
'--with-mysql' \
'--disable-dba' \
'--without-unixODBC' \
'--disable-json' \
'--without-pspell' \
'--without-curl' \
'--disable-posix' \
'--disable-sysvmsg' \
'--disable-sysvshm' \
'--disable-sysvsem' \
'--enable-soap' \
'--with-gd' \
'--with-jpeg-dir' \
'--enable-gd-native-ttf' \
'--with-freetype-dir=/usr' \
'--with-xpm-dir' \
'--with-png-dir' \
'--with-ttf' \
'--with-pdo-mysql' \
"$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment