Page 2 of 2
Re: exe problem again
Posted: Thu Mar 12, 2009 11:05 am
by susrisha
the safe mode is turned off. I have seen it in phpinfo page which i uploaded on to the host.
Here is what i am doing right now:
1. Only for the upload module, i am putting the upload action directed to my local server.
2. Am doing all the conversion in my local server.
3. uploading the converted files using ftp to the main server.
4. redirecting the user to the main site.
Re: exe problem again
Posted: Thu Mar 12, 2009 11:17 am
by The_Anomaly
I guess I just find it hard to believe that you can have full SSH access, and you're still somehow being blocked from using certain functions. You should be able to completely control your server, even to the point of reinstalling PHP or Apache.
I mean, how can they restrict you, if you have full SSH root access?
Re: exe problem again
Posted: Sat Mar 14, 2009 12:58 am
by php_east
no, i think hosts do not allow shell exec for security reasons. SSH is merely access, it is does not imply you get automatic shell execute. it has not do do with safe modes, its way above that.
you can perhaps request for special permission to execute from your host provider.
you need to talk to them. there is not much choice for you.
they may charge you slightly more for this service. or they may recommend you acquire a dedicated server/ VPS.
another way is to do the exec elsewhere on another host and shuttle your files to/from.
this other host will of course be selected based on shell exec capabilty.
then a little added PHP will be needed, but at least you can get it to run.
Re: exe problem again
Posted: Sat Mar 14, 2009 1:03 am
by php_east
The_Anomaly wrote:
I mean, how can they restrict you, if you have full SSH root access?
that root is not the same as their ( host ) root or ultimate in the case of shared server.