i don't have permission to install a php module on my server. has anyone found a command line executable that works on i686 centos linux? i know almost nothing about linux or running executables on servers and so am in a really basic process of trial and error. also, the "install html binary" button gets my ip address temporarily banned.
thank you!
-r

Comments

ryanrain’s picture

Component: Miscellaneous » Documentation

ended up needing to do the import on another server where i have shell access to install the php extension. not sure why, but i was never able to get any paths to an executable working. ever. always the message Couldn't find tidy binary anywhere! file_exists() on line 56 of install-htmltidy.inc should return true for any file right? but i never got any variation in error message... tried all different combinations of paths such as /home/USERNAME/bin/tidy. i wonder if more clarification about paths can be put into the help documentation. thanks for your work!!

dman’s picture

Well, the auto-install is a bit (a lot) naughty, and only works on systems that have some insecurities - you can imagine it could be dangerous if used wrongly. And currently only works for the most common server OS I've had to deal with. Really just a huge hack.

If you don't have permission to install binaries on the server, and the sysadmin won't do it for you, you're plain out of luck really.

There is a layer of security that may be present on some PHP installs - (mod_security, suhosin php-hardening, or plain old openBaseDir restrictions and noexec)
All of those are designed to stop you doing things the sever admin doesn't want you to do. Any of those may have caused php to not be allowed to do what was needed. Sometimes silently, sometimes noisily. In your case, it would appear that openBaseDir or file permissions may have been quietly ignoring you.
It's really up to the server admin. In most cases you have to check with them directly if the first few attempts fail, it's impossible to guess the many obstacles that may be preventing you if the server admin is trying to do so.
If you don't already have 'tidy' the odds of you being able to install it without proper permissions are pretty low.

dman’s picture

Status: Active » Closed (works as designed)

Clearing the old 6.x issues from the issue queue for a cleanup.