Plesk 11.x / Windows :: PHP Open Basedir Restriction - Adding Paths Not Working
Aug 16, 2013
I'm trying to use server side includes in a PHP website but am getting the error open_basedir restriction in effect.
I've tried going in to the PHP Settings for the website and have selected the predefined option
{DOCROOT}{/}{:}{TMP}{/}
Which as I understand it should allow access to all files within my httpdocs folder but I still get the error:
PHP Warning: include(): open_basedir restriction in effect. File(/sparklyphp/cms/inc/checkAdminLogin.php) is not within the allowed path(s): (F:PLESKWWWviwebsitedesign.comhttpdocs;C:WindowsTemp) in F:PLESKWWWwebsitedesign.comhttpdocssparklyphpcmsindex.php on line 1
The thing is I know 100% that the file it's having a problem with is in a subfolder of the
F:PLESKWWWwebsitedesign.comhttpdocs folder (the full F:PLESKWWWwebsitedesign.comhttpdocssparklyphpcmsinccheckAdminLogin.php).
One of my users...let's call him "fictional" is getting the following error message:
--------- Warning: Unknown(): open_basedir restriction in effect. File(/home/fictional/public_html/blablaja/index.php) is not within the allowed path(s): (/home/hurz/:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0 ---------
The strange thing is that the error message refers to another user on my system...named "hurz". Why does it refer to this other username? I looked at the virtual host in httpd.conf for user "fictional" and everything seems alright there:
OSMicrosoft Windows Server 2012 R2 Plesk version12.0.18 Update #37, last updated at Mar 4, 2015 05:22 AM
Code: An unhandled error occurred. Please see the details below.
file_exists(): open_basedir restriction in effect. File(C:Inetpubvhostsyekia.irhttpdocs/lang/fa/https://github.php) is not within the allowed path(s): (C:Inetpubvhostsyekia.irhttpdocs;WindowsTemp) C:Inetpubvhostsyekia.irhttpdocsvendorlaravelframeworksrcIlluminateFilesystemFilesystem.php line 20
I've had a web server set up for a while at home to do some testing. I can view the site locally using my IP but all relative paths of CSS or images on the html page (eg /something/title.gif) don't show up. Bizarrely, if I go to[url], they appear!
Anyone know what the issue may be? The "DocumentRoot" value in Apache conf is pointing to the correct folder.
I am trying to use chdir() in one of my scripts. However, I am getting an open_basedir restriction error. I have checked the php.ini and the value is not set (which as I understand should disable open_basedir).
With provided information at [URL] .... did not work? when setting it up in control panel -> domain's dns panel and plesk version is 11.0.9
It needs the following DNS records
Record type: SRV Service name *: _Autodiscover Protocol name *: _tcp (it will automatically add your domain and to edit it again shows as invalid) Port number *: 443 Priority of service: very high(0) Weight of service: theres no 0 option so use 10 as the option and to edit it again shows as invalid) Target host *: use your mail ip address?
I have a dedicated server and I am about to get a few high traffic sites that will be Joomla based and MySQL served. What I am thinking a about is to create another MySQL instance, leave the current websites on the "old" instance and get the new ones onto a separate instance.
I am on PPP 11.0.9 on windows and the current mysql version is 5.1.56 on port 3306 (I can get other ports for other instances).
What I did was the following:
In the Database Servers page, I hit "Add Database Server"
In the next page I add the following: MySQL (from the dropdown) localhost 3307 (leave blank the default check box)
I then add the Administrator's username and passwords and hit OK.
The next page, reports an error message (in between asterisks below): ************************ Error: Test connection to the database server has failed because of network problems:
No connection could be made because the target machine actively refused it. ************************ The primary (eg. current) mysql instance is working fine, it's just I cannot add a second server...
I use Plesk 11.5.3 and have a problem with adding new customer. When i have add a new customer and type the domain in my browser, I have to authorisize, but I haven't set up a protect folder know. What's wrong with my plesk? I think this is a permission problem with IIS.
I use Plesk 11.0.9 Update #53 on Windows 2008 SP2. Nameservers and mail server are external servers and fully working.I have a 'fake' web site (roundcube. local) in which I've successfully installed roundcube and I would use it as webmail.I've added a domain alias 'webmail2.domain.com' and it works like a charm.Now I've moved the main domain "domain.com" on the plesk server and I would like to add a 'webmail.domain.com' domain alias to the 'roundcube.local' website.If I try to do it, I receive this error:
"Error: Wrong prefix for domain alias"..Even if I try to add webmail.anotherdomain.com (not installed on the Plesk server) I get the same error.The error shows up either the host is configured to the Plesk machine or not.If I set the binding directly in IIS it works but I'd like to use the plesk to do this.
We are getting an error every time that i try to add a new IP on Plesk panel. I go to "Tool and settings" than "IP address", "Add ip address" on fields i already try to ip:
xx.xx.xx.xx/32 and xx.xx.xx.xx/submask
every time that i click on OK, the button become loading an never finish....
We just installed a new Windows 2008 r2 server with Plesk v 11.0.9. We need to install the French Language pack, but can not find how to do it. nothing in the knowledge base on this. I tried the look in the add/removing components, but it is not there.
Is there a command line program to install language packs?
I have one domain who's not create dns in MS DNS server, i try create manuall but after this the record is missing, but on plesk showing, How to fix this ?
I am new to this and it has been a long weeks of struggle just to get my website live on the internet. I can preview it but i can't Open what is the problem? It also not live on the internet. I waited over six days because i was thingking it was still in the process of propagation but nothing happened.
I tried to open Administration page for my Parallel Plesk Panel, but all the time it's show Loading and nothing happens. It's also not opening on the server trough https://localhost:8443 System redirect me to the address https://localhost:8443/sso/api.php?api=/ui and 10 minutes it's loading...
I'm migrating all of my websites form one server to a new one. And everything is working as planned with the plesk migration manager. But with my last website i'm having some problems and getting this error:
Short Error: Adding webspace manually
Code: Error: System user update is failed: Unable to create system user: Unable to execute usermng: column login is not unique (Error code 1) Full Error Log - Migration
Code: Warning: server "server" Unable to dump server settings. Server element will be empty[Object reference not set to an instance of an object.] Warning: domain "teamswear.be"
[Code] ....
I've also tried to add the webspace manually but getting the same error.
I recently purchased a dedicated server with Godaddy, I also registered a domain with same Godaddy.
Now when I tried to add a new domain in plesk, I got a warning message that "the domain is pointed to 192.198.XX.XX" which is different from my dedicated server IP. The message also says I should edit the DNS.
Now my question is What do I need to edit from the default dns plesk has assigned to my domain? Do I need to use the domain's default IP. I want to be able to host multiple website on my server...
Seems that the default installation of Bind on Windows plesk 11.x (i don't know if is also for Linux), configure bind by default as open resolver. Then we must fix the problem using this kb:
[URL]
I'm wondering if i'm doing a wrong installation, of this type of installation is by default. In the second case, is there any reason?
I'm on plesk right now and I uploaded all my website's files, I wanted to see if it worked so I pressed preview. It worked. Then I pressed "Open" and nothing showed up at all?
I have faced the following ftp backup error in windows plesk 11.5.30
Transport error: unable to send directory to repository: Transport error: unable to put local file C:Program Files (x86)ParallelsPleskPrivateTemp/repo_transport_tmp_01cf171bcedd7710ackup_1401220130.zip to backup_1401220130.zip: Curl error: Failure when receiving data from the peer
not because reason FTP has stopped working.FTP access already created continue to operate, does not work any additional FTP account or the principal to create a new domain.
Trying to restrict access to plesk control panel to one IP address (fake 66.67.68.69).
When I add the network 66.67.68.69/255.255.255.254 I recieve the following notification:
Error: The access restriction policy and the list of networks are currently configured the way you will not be able to log in with administrator's rights from your IP address '66.67.68.69'.
Now I would like this to be the ONLY ip address from wich i can log in.
Problem with FTP Users on Plesk 11 after updating from Plesk 10.
SO: Windows Server 2008 R2 Standard Edition Panel: Plesk for Windows 11.0.4
I noticed that users cannot FTP, when trying to connect they receive an error: 530 User cannot log in, home directory inaccessible.
Doing further investigation, I confirmed that only users created after upgrade have this issue, that created before upgrade works fine.
I already discovered that home directory is missing on IIS 7.5 FTP. Creating a symbolic link on NTFS using MKLINK command pointing to home folder and configuring permissions to user solved the problem.I think its a bug on Plesk Panel 11.0.4 as I can see same the same problem on two distinct servers after upgrading from Plesk 10 to 11.
I tried to run Plesk Reconfigurator utility with all options, without success.I can fix home directory by myself manually but it will be great if Plesk Panel handle this again.
I tried to install Joomla on my server from applications ( Not manualy ) . I go at applications on plesk's panel then i click on Joomla and the click to install it. After that , it shows that it's downloadiing ( Downloading Joomla... ) and it isn't doing anything else. It remained stuck at 0% like forever. I waited more than 2 hours once, and it didn't do anything. It was just stuck at zero. Other applications are working.
after upgrading from 11.5. to 12.0.18 all web Hosts which are using asp or aspx files are not working anymore.
We get following error: HTTP-Fehler 404.17 - Not Found ModulStaticFileModule BenachrichtigungExecuteRequestHandler HandlerStaticFile Fehlercode0x80070032 Angeforderte URLhttp://www.ratg.at:80/index.asp Physikalischer PfadC:Inetpubvhosts atg.athttpdocsindex.asp AnmeldemethodeAnonym Angemeldeter BenutzerAnonym
If we try to repair the Installation with the reconfigurator "Plesk virtual Hosts Security" the program is crashing.