Binary Path Not Accessible

tomhollis

Joined: 2005-03-02
Posts: 7
Posted: Thu, 2005-09-01 10:53

When I enter the path to the binaries for imagemagik, netpbm or ffmpeg I get the same message:

" The path you entered is not a valid directory or is not accessible."

I have done my best to search the forums and documentation for record of this and have not found anything which never bodes well.

My path does not come up on the autocomplete list either.

I have tried making a symbolic link to the binary folder in my home directory but this was no better.

I am sure I have the right folder and all the permissions are 777, full access. The same folder works fine with gallery 1.

Can anyone make a suggestion or help at all?

Thanks

Tom

----

Gallery URL (optional): http://www.societies.ncl.ac.uk/nucc/gallery2/
Gallery version: 2 rc2
Webserver (with version): apache 2.0
Datatabase (with version): mysql 3.23.58
PHP version (eg 4.2.1): 4.3.2
phpinfo URL (optional): http://www.societies.ncl.ac.uk/nucc/test.php
Graphics Toolkit(s): imagemagik, netpbm, ffmpeg
Operating system: linux
Web browser/version: firefox 1.0.6, opera 8.02 & ie6
G1 version (for migration bugs):

Tom

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-09-01 13:54

- what path did you enter?
- php 4.* isn't detailled enough, what version is it?
- please post a phpinfo link

 
tomhollis

Joined: 2005-03-02
Posts: 7
Posted: Thu, 2005-09-01 14:49

Ah, that is the function name. http://www.societies.ncl.ac.uk/nucc/test.php

The path is /usr/bin/contrib/bin/ the same path as gallery 1 and the path containing the required binaries (found using which)

Tom

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-09-01 15:15

your php isn't really ready for executing binaries in G2.

disable_functions system, exec, shell_exec, passthru, popen, pcntl_exec, openlog
memory_limit 8 mb isn't very helpful either.

but the true problem is the disabled exec.

 
tomhollis

Joined: 2005-03-02
Posts: 7
Posted: Fri, 2005-09-02 08:51

I have already changed the 8Mb limit using a .htaccess file, can I change any of these other parameters in the same way?

Tom

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-02 09:02

e.g. disable_functions? i don't think so. get in touch with your hosting provider. and if they don't want to change it, there are plenty of alternatives.

 
tomhollis

Joined: 2005-03-02
Posts: 7
Posted: Fri, 2005-09-02 09:12

alternatives?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-02 09:48

alternative webhosts. and no, don't ask me to recommend someone.