Dear All
I used IIS and PHP from long time but today i just find one issue when i tried to display the PHP error in IIS it's show me blank page, if you face this issue use this command and check your local php ini settings
Open your CMD (command or dos prompt)
Make your directory location to C:\
and copy past the below line
%windir%\system32\inetsrv\appcmd.exe set config -Section:system.webServer/httpErrors -errorMode:Detailed
Restart IIS
IN PHP INI
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
display_errors = On
and if you logged these error
log_errors = On
I hope who are using PHP with IIS may be this post helpful for them
One more thing make sure when you are writing the code with IIS in PHP you must define
Regards
Rashid Imran Bilgrami
CEO
Best visualization
http://www.bestvisualization.com
I used IIS and PHP from long time but today i just find one issue when i tried to display the PHP error in IIS it's show me blank page, if you face this issue use this command and check your local php ini settings
Open your CMD (command or dos prompt)
Make your directory location to C:\
and copy past the below line
%windir%\system32\inetsrv\appcmd.exe set config -Section:system.webServer/httpErrors -errorMode:Detailed
Restart IIS
IN PHP INI
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
display_errors = On
and if you logged these error
log_errors = On
I hope who are using PHP with IIS may be this post helpful for them
One more thing make sure when you are writing the code with IIS in PHP you must define
Regards
Rashid Imran Bilgrami
CEO
Best visualization
http://www.bestvisualization.com
Comments
Post a Comment
Thanks for the Comments , Your review will display soon