[RESOLVED] PHP warning errors about PHP startup under PHP 7
Results 1 to 4 of 4

Thread: [RESOLVED] PHP warning errors about PHP startup under PHP 7

  1. #1
    Come Whatever you are !
    Join Date
    May 2010
    Location
    38.456 N - 27.115 E
    Posts
    50

    resolved [RESOLVED] PHP warning errors about PHP startup under PHP 7

    E.g. if i run simple

    PHP Code:
    <?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 ?

  2. #2
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    8,364
    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....
    /!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade! /!!!\ ereg() is deprecated --- don't use it!

    dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

  3. #3
    Senior Member Derokorian's Avatar
    Join Date
    Apr 2011
    Location
    Denver
    Posts
    2,232
    Quote Originally Posted by dalecosp View Post
    imageMagick (did you spell that right?)
    Yes (s)he did! http://php.net/manual/en/book.imagick.php
    Sadly, nobody codes for anyone on this forum. People taste your dishes and tell you what is missing, but they don't cook for you. ~anoopmail
    I'd rather be a comma, then a full stop.
    User Authentication in PHP with MySQLi - Don't forget to mark threads resolved - MySQL(i) warning

  4. #4
    Come Whatever you are !
    Join Date
    May 2010
    Location
    38.456 N - 27.115 E
    Posts
    50
    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..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •