the php7.2.10+apache2.4, used by the newly installed phpstudy2018, in the home computer will report 500 when executing all php files
  
 
error log:
[Thu May 05 17:15:20.696222 2016] [core:error] [pid 21132:tid 1724] [client 127.0.0.1:60080] End of script output before headers: index.phpthe picture and log are found on the Internet, except that the time of the mailbox and log on the picture is different.
Several solutions on have been tried: 
 1. No insufficient memory (if you execute  phpinfo ()  will be reported) 
 2,  mod_rewrite  
 after trying to switch to nginx at night, pop-up  CGI/FastCGI  has stopped working and is still 500. Search below says that PHP has a library that cannot be loaded, and execute  php-v  without reporting an error. 
whether, Server API or CGI/FastCGI, did not stop working after switching the PHP version to 7.0.12.
