enable iis error

 Enable full errors by adding this to web.config inside <system.webServer>:


<httpErrors errorMode="Detailed" />


full web.config

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

  <system.webServer>

    <rewrite>

      <rules>

        <rule name="WordPress Rule" stopProcessing="true">

          <match url=".*" />

          <conditions logicalGrouping="MatchAll">

            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />

            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />

          </conditions>

          <action type="Rewrite" url="index.php" />

        </rule>

      </rules>

    </rewrite>


    <directoryBrowse enabled="false" />

    <httpErrors errorMode="Detailed" />


  </system.webServer>

</configuration>







✅ Required PHP Extensions for WordPress

Make sure these are enabled in your php.ini:

✔ extension=mysqli
✔ extension=gd
✔ extension=mbstring
✔ extension=curl
✔ extension=openssl
✔ extension=json (usually built-in)
✔ extension=zip
✔ extension=xml
✔ extension=exif

Without these, WordPress can show:

HTTP 500 Internal Server Error

“Error establishing database connection”

Blank white screen

Theme/plugin errors

Comments

Popular posts from this blog

how to install internet download manger in linux

ImportError: DLL load failed while importing onnx_cpp2py_export

awstats with www