Current time: 12-27-2024, 12:47 PM Hello There, Guest! (LoginRegister)


Post Reply 
Accessing directories
Author Message
dirkson Offline
Junior Member
*

Posts: 27
Joined: Aug 2008
Reputation: 0
Post: #1
Accessing directories
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)
09-10-2008 04:33 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Accessing directories
Which OS and ispCP Version ?
You have to configure your php.ini right.
There are many security features which blocks such thinks.

Greez BeNe
09-10-2008 03:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
dirkson Offline
Junior Member
*

Posts: 27
Joined: Aug 2008
Reputation: 0
Post: #3
RE: Accessing directories
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
09-16-2008 11:13 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: Accessing directories
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
09-16-2008 11:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
dirkson Offline
Junior Member
*

Posts: 27
Joined: Aug 2008
Reputation: 0
Post: #5
RE: Accessing directories
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.
09-17-2008 12:14 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: Accessing directories
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
09-17-2008 12:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)