Re: testing php5 for Squeeze LTS
Hi Andrey,
On Thu, 10 Sep 2015, Andrey Tataranovich wrote:
After installation of 5.3.3.1-7+squeeze27 an error raised on
magento installation:
Warning: imagecreatefrompng(): bad type specifier while parsing
parameters
this is strange, I get:
$ php5 -v
PHP 5.3.3-7+squeeze27 with Suhosin-Patch (cli) (built: Aug 29 2015
13:18:55)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
$ php test_load
show warning
PHP Notice: Undefined variable: i in /root/php5/test_load on line 6
Notice: Undefined variable: i in /root/php5/test_load on line 6
test start
test end
With this script:
<?php
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
print "show warning\n";
print $i;
print "test start\n";
$imgPng = imagecreatefrompng("s_info.png");
print "test end\n";
?>
So there is no warning and everything seems to be fine!?
Can you please run this script on your computer as well?
Thorsten
Reply to: