PHP site keeps opening to blank page, no errors

前端 未结 4 783
天命终不由人
天命终不由人 2021-01-22 19:42

First, the premises: PHP loaded on IIS6 on Win2003 STD R2 SP2, PHP_5213 using FastCGI, MySQL_5145.

Customer sent me the site files, which I unzipped to C:\\InetPub

4条回答
  •  走了就别回头了
    2021-01-22 20:34

    Possible problems:

    server configuration, which might be due to php is not being executed , how can you tell, look at the source of the file on the browser.

    If you have an error in the php file, it might not wr0k, you can add two lines of code to report errors.

    error_reporting(E_ALL | E_STRICT);  
    ini_set('display_startup_errors',1);  
    ini_set('display_errors',1);
    

    check your logs.

    If you are not familiar with php configuration with FastCGI or IIS you can use lamp bundles for windows.

提交回复
热议问题