different phpinfo configs for another user

uberguru

Verified User
Joined
Apr 30, 2011
Messages
97
I noticed i have different php.ini file for a user account i created

user1 has the following in phpinfo page

open_basedir no value

but user2 the user which i am having issues with has this in phpinfo page

open_basedir /home/user2/:/tmp:/var/tmp:/usr/local/lib/php/


How can i change that of user2 to look like user1? set to no value?

Thanks
 
basically not sure how to edit the php.ini settings for each user because the second user has different php settings as explained above
anyone willing to help?

Thanks
 
Hello,

Basically that depends on what mode of PHP your user has. There are similar threads here on the forums, so please either search the forums or post here your results for

Code:
./build options | grep php -i
 
Hello,

Basically that depends on what mode of PHP your user has. There are similar threads here on the forums, so please either search the forums or post here your results for

Code:
./build options | grep php -i

I am running DirectAdmin 1.40.3 so does that command work for me?

Thanks
 
Hello,

Basically that depends on what mode of PHP your user has. There are similar threads here on the forums, so please either search the forums or post here your results for

Code:
./build options | grep php -i

# ./build options | grep php -i
-bash: ./build: No such file or directory
 
As admin -> section Extra Features -> PHP Configuration

You can Enable/Disable PHP Safe Mode and Open Basedir restriction per domain.
 
Back
Top