Welcome Guest, Not a member yet? Register   Sign In
Anyone managed to install ImageMagick with Linux, PHP Version 5.5.9-1ubuntu4.7
#2

(This post was last modified: 04-19-2015, 11:26 AM by John_Betong. Edit Reason: spelling: not my fortay :( )

Cracked it although it maybe a KLUDGE?

what through me was the incorrect error message stating the image_library path was incorrect which I knew was OK so I investigated CodeIgniter 3.0-0 source files:

File: ./CodeIgniinter 3.0-0/system/libraries/image_lib.php
PHP Code:
# Line: 887
$retval 1;
// exec() might be disabled
if (function_usable('exec'))
{
# MISSING function value
# @exec($cmd, $output, $retval);


# PLEASE READ POST: #4 - THIS MODIFICATION IS UNNECESSARY
# ADDED function value 
$retval = @exec($cmd$output$retval);


I was wondering,am I the only one using the ImageMagick library because without this modification the incorrect error message is returned?

Demo:
http://www.johns-jokes.com/welcome?toggle
Reply


Messages In This Thread
RE: Anyone managed to install ImageMagick with Linux, PHP Version 5.5.9-1ubuntu4.7 - by John_Betong - 04-18-2015, 08:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB