J
J
Jumk2019-11-12 19:49:32
PHP
Jumk, 2019-11-12 19:49:32

Why doesn't mkdir work on apache server?

It costs debian 9, php 7. mkdir does not work. The rights are www-data:www-data , php works.
mkdir('var/www/html/page', 0777, true);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitsliputsli, 2019-11-12
@Jumk

What does the function return? In general, it probably meant:
mkdir('/var/www/html/page', 0777, true);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question