• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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