Sorry for the poor design of my blog. I'm working on this. (I hope someone is kind enough to donate me a header) Lol. Kiddin.
Looks doesn't matter I guess but design is also somewhat important to visitors. I just posted this to let you all know.
Thanks for the visit!
~lyz
It's been a while since my last post. I got so little time in updating my blog because of the tons of tasks assigned to me. Plus the Holy Week Vacation. Lol. Anyway, I am cooking something and I promise to post here what'll be the outcome and of course the how-to. ;)
The open_basedir function defines the locations or paths from which PHP is allowed to access files using functions like fopen() and gzopen(). If a file is outside of the paths defined by open_basdir, PHP will refuse to open it. You cannot use a symbolic link as a workaround, because the path that the symbolic link resolves to falls under the restrictions of the open_basedir function.
Here's a quick bit of apache config that can be placed in the conf/vhost.conf file of a Plesk site to turn off the open_basedir restrictions:
php_admin_flag engine on
php_admin_value open_basedir none
All you have to do is to modify your php.ini. ( Config file for PHP)
Change the line safe_mode = on to safe_mode = off.
In windows for Plesk, the path is C:\\windows\php.ini.
In linux for Plesk, the path is /etc/php.ini.
You should restart the web server service in order for the changes to take effect.
Edit:
On the Plesk 8.x versions, it provides an added functionality wherein you can edit the PHP Safe Mode option for single or multiple domains.
1. Login as administrator to the Plesk control panel.
2. Click on the Domains.
3. Check the domain you want to edit then choose Group Operations. This is located on the upper part of the Domains' page. This is also where you edit the other global changes for the domain/s.
4. Scroll down until you see the Hosting options.
5. Look for the line "PHP 'safe_mode' on", tick the radio button under the Disable column.
You can now safely assure that all of your applications that requires PHP Safe mode off will perfectly work.
*wink
Edit:
I've created a new post on how this can be done on Cpanel. Here's the link.
If you don't want to type your username and password everytime you log in into the plesk control panel, here's a quick way to help you solve the problem:
Of course you need to supply in the correct details:
https://domain.com:8443/login_up.php3?login_name=admin&passwd=yourpassword
And one last thing.
Do not forget to bookmark the link!
