RE: Directory worked by PHP on webserver
| From: | Marc Roos | Date: | Fri, 26 Apr 2019 08:00:33 +0000 |
| Subject: | RE: Directory worked by PHP on webserver | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-326779@lists.php.net to get a copy of this message | ||
Do phpinfo(); search the output for tmp and configure those for your
path. With fpm you can also do something like this env[TEMP] =
-----Original Message-----
From: Piti Cholpripimolrat [mailto:Piti.Cholpripimolrat@gmx.net]
Sent: 26 April 2019 09:49
To: php-general@lists.php.net
Subject: Directory worked by PHP on webserver
Hi Expert,
I have running php on a website. I am now facing a problem with
location/directory working by php. I have tried to create and update a
file on a linux server via web+php. Ultimately, I have come to know that
it is working in this path
/tmp/systemd-private-ce742af7deeb4863bd593a9da4911aba-httpd.service-Nct0
cB/tmp/ instead of pure /tmp/. How do I configure and control where php
should actually work on linux directory?
Could you please suggest how to overcome the issue?
BRs,
Piti