I have installed apache and php on my ubuntu 18.4 machine. php is 7.2 version and apache2 (Apache/2.4.29 (Ubuntu)). The apache server opens my website with no problem, but it can only execute the php code if it does not have a call to a function such as $_FILE. If I include $_FILE in my php code, the apache does not execute the php code and it only gives white page. Please help!
Apache does not execute $_FILE but it execute the code without $_FILE
Collapse
X
-
Tags: None
-
this is more likely a problem with the php script itself - but you should check the error.log first - this will probably show you at least a hint on what's going wrong.
and check if you used $_FILES and not only $_FILE which would be the wrong variable name.Last edited by gits; Apr 18 '19, 04:35 PM.
Comment