Current time: 11-05-2024, 02:23 PM Hello There, Guest! (LoginRegister)


Post Reply 
ImageMagik issue?
Author Message
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #1
ImageMagik issue?
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..
12-06-2007 06:10 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: ImageMagik issue?
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
12-06-2007 08:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #3
RE: ImageMagik issue?
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
12-06-2007 10:47 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: ImageMagik issue?
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
12-06-2007 06:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #5
RE: ImageMagik issue?
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
12-06-2007 11:34 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #6
RE: ImageMagik issue?
in which php.ini did you set that? (please provide the full path)
12-07-2007 12:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #7
RE: ImageMagik issue?
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)
12-07-2007 12:24 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: ImageMagik issue?
Are you using PHP4?

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

/J
12-07-2007 01:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #9
RE: ImageMagik issue?
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
12-07-2007 01:18 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: ImageMagik issue?
Maybe...
are you using fastcgi? or mod_php?

/J
12-07-2007 01:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)