could not extract the package.xml file
sudo apt-get install --reinstall zlibc zlib1g zlib1g-dev
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1310552
A record of solutions to when I get stuck on some problem. When I think 'I know I have found the answer to this before' I can just search my blog.
#Just a sample ipv6 config:
# ::1 is like 127.0.0.1<
# when you restart apache, see if apache is listening on ipv6
# sudo netstat -ntlpu
# If not, you may need to make sure eth0 is listening on an ipv6 address
# sudo ifconfig eth0 add 1::2
#
<VirtualHost [::1]:80>
ServerName ipv6
ServerAlias ipv6.mydomain.com
DocumentRoot "/var/www/ipv6.mydomain.com"
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory />
Options -Indexes +FollowSymLinks -Multiviews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost [::1]:443>
ServerName ipv6
ServerAlias ipv6.mydomain.com
DocumentRoot "/var/www/ipv6.mydomain.com"
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory />
Options -Indexes FollowSymLinks -MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Include standard_ssl.inc
SSLCertificateFile ssl/local.mydomain.com.pem
SSLCertificateChainFile ssl/DigiCertHighAssuranceCA-3.crt
</VirtualHost>
#sources:
# https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/633981
# http://serverfault.com/questions/81508/listening-for-both-ipv6-and-ipv4-in-apache-2-2
# http://unix.stackexchange.com/questions/106502/apache2-does-not-run-on-ipv4-tcp-port
# http://www.fix6.net/archives/2011/02/04/how-to-enable-ipv6-on-apache2/
$string = "Hello World \u4f60\u597d\u4e16\u754c";(which is...)
$string = "Hello World 你好世界";Try this:
$string = ustring("Hello World \u4f60\u597d\u4e16\u754c");/* set the encoding of the current file */
if (doc != NULL)
enc_idx = encodings_get_idx_from_charset(doc->encoding);
gtk_combo_box_set_active(GTK_COMBO_BOX(fif_dlg.encoding_combo), enc_idx);<?php
function sha1_thumbprint_pem($pem_file_contents)
{
$file = $pem_file_contents;
$file = preg_replace('/\-+BEGIN CERTIFICATE\-+/','',$file);
$file = preg_replace('/\-+END CERTIFICATE\-+/','',$file);
$file = trim($file);
$file = str_replace( array("\n\r","\n","\r"), '', $file);
$bin = base64_decode($file);
return sha1($bin);
}
?>