I've dealt with this situation by uploading a zip library and writing a simple php script to do the unzipping, then delete the library and file if I don't want to leave it on the server.
http://www.phpconcept.net/pclzip
As far as I know, the unzipped files will have the same permissions as the original zip archive that was uploaded. At least that's what has happened so far. Maybe that depends on the server configuration?
If you have ssh access, you can of course use scp to upload the archive and unzip it in place. In my experience it's rare to have a non-Cpanel (or some other control panel) host that doesn't have ssh.
It depends on if you run php as apache module or fastcgi. Whan i tried it soome month ago at two different servers, all extracted files belonged to the webserver, not the ftp user.
Yes, SSH ist also a solution. If you have it. Mostly its a simple webspace what clients need to run their site. Just ftp and mysql access data and thats it.
-
- 24,544 Posts
Bluehost is $4.95/month (if you can use shared hosting) and very MODX friendly:
http://bit.ly/Hb5CAY. Their support has been excellent in my experience and they have a solid cPanel and immediate SSH access on request.
Are you paying much less than that?
Personally, I wouldn't use a host without cPanel access. I use it fairly often, but that's just me.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
Actually, that $4.95 a month is only if you pay for three years, and that's only a promotional price. After the first three-year period it's $6.99 a month for three years. It's $8.99 a month for one year.
[ed. note: sottwell last edited this post 11 years, 10 months ago.]
In that case, I suspect that you will be delighted with the MODx Cloud once it goes public.
How will a cloud prevent the wsod?
It's already configured with an installation of Revo. No worries about whether or not things work.