![]() |
Programmers: Quick question
I'm getting this error:
couldn't execute /usr/local/bin/mogrify -resize 250x79 /var/www/vhosts/domain.com/httpdocs/imagenes/imagenes/umfqo_qok02_L.gif 2>&1 Basically it is an image uploading script that I use a lot. Never had a problem with it up until now that I'm trying to run it on a new VPS. What are the possible reasons why it can't execute mogrify? |
could be
file permissions? ...:Oh crap
path problems ? ...:Oh crap |
I spent an hour playing with that. Changed most of the relevant stuff to 777 and nothing.
|
is "mogrify" whatever that is installed on the server ?
it's always something stupid when it worked someplace else and you make a move ... |
filename
|
Quote:
Filename works in other VPSs. :S |
have you tried mogrify -resize 250x79 directly from putty or whatever your using for a console.
I bet somethings missing. good luck :) |
Yup, works from the console with a regular user, not even root.
|
are you running that from php? safe_mode maybe?
|
is php set up to allow exec() to run at all? i've had problems with servers that were set up like that in the past
|
try running it with system, shell_exec, or pass_thru
|
Quote:
|
Quote:
|
Quote:
Thanks! :thumbsup |
Quote:
http://uk2.php.net/system http://uk2.php.net/manual/en/function.exec.php http://uk2.php.net/manual/en/function.passthru.php create a php file with PHP Code:
|
Quick answer. No.
|
Quote:
I'm really starting to wonder wtf is going on with this script :S |
can you link to the php info page?
|
All times are GMT -7. The time now is 02:01 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123