E.g. if i run simple

<?php phpinfo(); ?>

at PHP7 configurated folder error_log file happens in that folder where phpinfo.php is.

errors are :

PHP Warning: PHP Startup: imagick: Unable to initialize module
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0

PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module

Module compiled with module API=20100525
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0

What is the meaning of these errors.?
What can i do ?

    You have reinstalled or recompiled and installed PHP without recompiling all the extensions. The two in question don't like that.

    If you DID recompile them, then it is possible that your INI file(s) (php.ini, slight possibility of extensions.ini) are calling the wrong path name for the extensions, getting the wrong extension. If that's the case, setting the correct path to point to the recompiled extension should fix this.

    Otherwise, you need to recompile imageMagick (did you spell that right?) and SourceGuardian....

      When i made php configuration of a folder i forgot to setup custom php.ini, so i was using php.ini for php 5.4
      thats why above warnings appeared and after setup custom php.ini errors disappeared.

      THANKS..

        Write a Reply...