ispCP - Board - Support
Accessing directories - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Accessing directories (/thread-4226.html)



Accessing directories - dirkson - 09-10-2008 04:33 AM

Whenever any of my accounts attempt to access, say, /usr/bin, they get an error message. How would I go about allowing access to /usr/bin? There are a lot of programs there that I'd like to offer to all my accounts. (Such as imagemagik, for example)


RE: Accessing directories - BeNe - 09-10-2008 03:49 PM

Which OS and ispCP Version ?
You have to configure your php.ini right.
There are many security features which blocks such thinks.

Greez BeNe


RE: Accessing directories - dirkson - 09-16-2008 11:13 PM

Pardon the lack of reply here, I didn't get an email upon your reply. Odd. Latest ISPCP release, and Debian stable, if it helps. I will look at my php.ini's when I have some time, thanks for the tip.

-Jeff


RE: Accessing directories - BeNe - 09-16-2008 11:22 PM

Quote:Whenever any of my accounts attempt to access
Access what ? Via the Webinterface ?
Quote:I will look at my php.ini's when I have some time
Ok - we will see!

Greez BeNe


RE: Accessing directories - dirkson - 09-17-2008 12:14 AM

Well, what I'd like to do is tell Drupal, "Imagmagik is located at /usr/bin/". Drupal, however, gives me an error message telling me that this directory is forbidden.
Here is one error message I get:
The specified ImageMagick path /usr/bin/convert does not exist.
PHP's open_basedir security restriction is set to /var/www/virtual/creatingcanadianfamilies.ca/:/usr/share/php/, which may be interfering with attempts to locate ImageMagick.


RE: Accessing directories - BeNe - 09-17-2008 12:53 AM

Ok - i understand. This is a PHP Security Problem.
You must set the Path for the Domains PHP to the open_basedir.
Maybe i forget one security Rolleyes So please try it out.

Greez BeNe