• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue PHP Upload problems

S. Duijvestijn

New Pleskian
Hi,

I've got several subscriptions which can upload files through PHP without any problems.
But one subscription give me problems.

When trying to upload a file it gives me the following error:

'PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0'

But if i use the following script it creates a file (C:\Windows\Temp\TES3E35.tmp)in the temp folder without problems.

tempnam(sys_get_temp_dir(), 'TEST');

I already checked the folder/file permissions but couldnt find anything that causes the problem.

Running Plesk 11.5.30 Update #55 on Windows Server 2012.

Does anyone have a clue where to look?
 
You need to check open_basedir parameter for PHP settings of this domain.
 
Hi,

Update on the problems:

It now seems to be a problem on all the subscriptions.
But I found that it has to do with the PHP version used in the hosting settings.
If I set it on 5.2.17 I can upload without any problems.
However if the version is set on 5.3.29 or 5.4.32 it gives me the error message.

Anybody knows where to look for the cause?
 
Back
Top