![]() |
ASAP Help on disable open_basedir in plesk
Im trying to disable the open_basedir but Ive been following several tutorials but none tells me where do I do each thing.
This has been so frustrating for me when is so simple so please help :up: Im trying to follow this one: Create /srv/www/vhosts/$domain.com/subdomains/$subDomName/conf/vhost.conf with the following content: Code:
<Directory /srv/www/vhosts/$domain.com/subdomains/$subDomName/httpdocs> Execute the following command on the command line to update the Plesk configuration: Code:
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=domain.tld And this: Final and last step is to restart apache apache2ctl restart I already created the file, now I just need to know where to execute that comand and how, and I guess that will help me solve this issue |
Have you tried logging in via SSH and executing these commands.
A good free windows SSH program is putty |
Quote:
|
1. download putty Here
2. open putty, enter main ip of server & connect (login as root) 3. find / -name php.ini -print (plesk servers usually have php.ini in /etc ) 4. nano /etc/php.ini 5. Ctrl+w type in open_basedir, hit return change open_basedir=on to open_basedir=off 6.Ctrl+x yes return key 7. restart apache |
Quote:
|
once your in nano press CTRL+W this should bring up a search box
type in "open_basedir" press enter and change it from On to Off |
Before you use nano, since you've never used it before, you may want to go to their site and take a look at the faq/user's guide.
|
Got it to work guys, thanx alot :up:
It was a stresfull day but ok done ;) Thanx again |
All times are GMT. The time now is 12:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|