ispCP - Board - Support
ImageMagik issue? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: ImageMagik issue? (/thread-1946.html)

Pages: 1 2


ImageMagik issue? - robmorin - 12-06-2007 06:10 AM

Hello all, so all my site have been migrated to Omega finally...

Howerver new glitch has turned up.... it would seem anyone with Gallery from menalto in their website cannot use the imagemagik binaries ... meaning when they upload their pics thumbnails are not created as Gallery cannot see to use the binaries in /usr/bin/

I tried commenting out as a test the
;disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, shell, symlink

restarted apache and still does not work...

any ideas?

Thanks..


RE: ImageMagik issue? - joximu - 12-06-2007 08:27 AM

Did you comment the "disable_functions" in the right php.ini?

Could you enable php-error-log for this domains, so there maybe comes an error...??

/J


RE: ImageMagik issue? - robmorin - 12-06-2007 10:47 AM

Yes i commented out that disable line.... each time i have tried to get a php log to work, it never does, can you please tell me how i would accomplish this?

Thanks..
Rob..

joximu Wrote:Did you comment the "disable_functions" in the right php.ini?

Could you enable php-error-log for this domains, so there maybe comes an error...??

/J



RE: ImageMagik issue? - joximu - 12-06-2007 06:40 PM

Hi

find the right php.ini and

set display_errors = Off
instead of On (recommended)

log_errors = On
error_log = /var/log/php/domainname.log

the folder where the php logs reside should be writable at least by apache or the domain-users (for testing: set the folder to worldwritable).
This is only an example but it should work (I use it like this).

/J


RE: ImageMagik issue? - robmorin - 12-06-2007 11:34 PM

It's weird how i can never get an error log to be created... I did what you said i even touched a blank log too it is in the phptmp dir and is 777 and apache can write to this dir of course as it has to put the php temp files in there anyways...

And the log file is empty... why does something so simple have to be rocket science.. Smile
any other help appreciated...

Rob..


joximu Wrote:Hi

find the right php.ini and

set display_errors = Off
instead of On (recommended)

log_errors = On
error_log = /var/log/php/domainname.log

the folder where the php logs reside should be writable at least by apache or the domain-users (for testing: set the folder to worldwritable).
This is only an example but it should work (I use it like this).

/J



RE: ImageMagik issue? - rbtux - 12-07-2007 12:01 AM

in which php.ini did you set that? (please provide the full path)


RE: ImageMagik issue? - robmorin - 12-07-2007 12:24 AM

I edited...
/var/www/fcgi/domain.org/php4/php.ini

to have this

display_errors = Off
error_log = /var/www/virtual/domain.org/phptmp/php_error.log

Perms are...
drwxrwx--- 18 vu2005 www-data 4096 2007-12-06 08:30 .
drwxrwx--- 10 vu2005 www-data 4096 2007-12-04 16:29 ..
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 0
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 1
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 2
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 3
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 4
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 5
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 6
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 7
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 8
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 9
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 a
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 b
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 c
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 d
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 e
drwxrwxrwx 18 vu2005 vu2005 4096 2007-10-25 16:00 f
-rwxrwxrwx 1 vu2005 www-data 0 2007-12-06 08:30 php_error.log

Thanks...
Rob..

rbtux Wrote:in which php.ini did you set that? (please provide the full path)



RE: ImageMagik issue? - joximu - 12-07-2007 01:11 AM

Are you using PHP4?

Well, you have to find the right php.ini - this is the first step...

/J


RE: ImageMagik issue? - robmorin - 12-07-2007 01:18 AM

Well i assume that each domains php.ini file is either in /var/www/fcgi/php4 or php5 correct?

i added those options to both and restarted apache2

Anything else i missed?
Smile
Rob..

joximu Wrote:Are you using PHP4?

Well, you have to find the right php.ini - this is the first step...

/J



RE: ImageMagik issue? - joximu - 12-07-2007 01:52 AM

Maybe...
are you using fastcgi? or mod_php?

/J