a quick question, maybe already answered but I couldn't find anything yet, so please excuse me
I'm using cPanel + LiteSpeed, and for example, I have the following code on a php script:
Which should come up with the full path of convert (part of imagemagick), however is returning empty, now if I do the same from the user's shell by executing the php: "sudo -u user php -f file.php" y do get the right path.
Another funny thing is, if instead I use `which --help` it works in both and actually "convert" does work without problems, so I'm kinda confused here
I'm using cPanel + LiteSpeed, and for example, I have the following code on a php script:
PHP:
<?php
echo ":: ".`which convert`;
?>
Another funny thing is, if instead I use `which --help` it works in both and actually "convert" does work without problems, so I'm kinda confused here