• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

How do I allow my php script to create a file?

J

jabernathy

Guest
Hello!

I'm having a problem with a php script on a Windows installation of Plesk.

It is sitting in a web directory '/'.

Both
fopen("blah.txt",'x+') and
fopen("blah.txt",'r+') are failing.

I'm under the impression this is a permissions problem.

After many hours of playing in the Plesk control panel and 'googling' I haven't found a solution.

Can anyone point me in the right direction?
 
Back
Top