Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
# Ensures all line endings are committed as LF, but will checkout with native line endings | |
* text=auto | |
# -- Override Section, just in-case Git tries to be sneaky | |
# Ensure that these files are recognized as text | |
*.asp text | |
*.aspx text | |
*.asx text | |
*.c text |
<?php | |
ini_set('display_errors', 1); | |
/** | |
* This script check how PHP makes HTTPS (SSL/TLS) requests using PHP Streams | |
* or cURL. Configuration options are passed as GET parameters, for example: | |
* http://localhost/checksslcontext.php?reconfigure=1 | |
* | |
* Configuration: | |
* http://localhost/checksslcontext.php | |
* Basic PHP Streams using file_get_contents(). Default settings. |
<?php | |
$img = new Imagick($img); | |
// code by Max Eremin http://php.net/manual/en/imagick.stripimage.php#120380 | |
// we need to keep the ICC profiles | |
$profiles = $img->getImageProfiles('icc', true); | |
// but remove everything else |