• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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