An error message pops-up while editing PHP file.

If an error message stating that a particular dll or library file is not found or failed to load appears while you are editing a PHP file, it is most likely due to problems with PHP configuration.

Why does the error message appear?

When live PHP syntax check is enabled (by default), your PHP code is being checked against errors as you type. This is done by running PHP in the background. In case when PHP can not find a file it needs, it will display an error message. It is important to observe that the error message comes from the PHP that is running invisibly in the background and not from the code editor.

How to fix the problem?

The easiest way is to turn off the Realtime PHP Syntax Check:

  1. On the Options menu, click Preferences.
  2. Click PHP Settings and uncheck Realtime PHP Syntax Check.

If you want to be able to use Realtime PHP Syntax Check, you will have to fix the PHP configuration problem that causes the error message to appear. Most often this can be done by adjusting configuration settings in the php.ini file. Try entering full error message in a search engine, it may give you some answers related to your individual situation.

Alternatively you may also consider using our self-installing and self-configuring PHP package. Click here to download it.