1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Problem with mysqli

Discussion in 'HTML & Website Design' started by lapidus, Mar 27, 2021.

  1. #1
    How can i solve this

    Fatal Error: ezSQL_mysql requires mySQL Lib to be compiled and or linked in to the PHP engine

    I can't finish installation with script.
     
    lapidus, Mar 27, 2021 IP
  2. Efetobor Agbontaen

    Efetobor Agbontaen Active Member

    Messages:
    136
    Likes Received:
    41
    Best Answers:
    5
    Trophy Points:
    85
    #2
    You need to make sure mysql is installed and mysql php extension is installed and loaded in php. Check your php.ini file to confirm that the extension is loaded
     
    Efetobor Agbontaen, Mar 27, 2021 IP
  3. lapidus

    lapidus Well-Known Member

    Messages:
    392
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Mysql is installed long time ago.

    In php.ini file? I can't see at all that name extension in php.ini file!
     
    lapidus, Mar 27, 2021 IP
  4. JEET

    JEET Notable Member

    Messages:
    3,825
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #4
    Its not "mysqli" problem.
    Your script is trying to use outdated "MySQL" extension.
    This extension was removed in PHP 7, and is not considered safe anymore.
    No good webhost will install this extension on a shared server anymore.

    Use a new "mysqli" based script.
     
    JEET, Mar 27, 2021 IP
  5. lapidus

    lapidus Well-Known Member

    Messages:
    392
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #5
    Yes that i was thought. Ok that script is old maybe last PHP was 6 or something.Now my question is. Is it possible to update whole script to work in latest PHP 8 ?
     
    lapidus, Mar 28, 2021 IP
    JEET likes this.
  6. SpacePhoenix

    SpacePhoenix Well-Known Member

    Messages:
    196
    Likes Received:
    28
    Best Answers:
    2
    Trophy Points:
    155
    #6
    Have you got a link to where you get ezSQL_mysql from so we can have a look at it, to see how much work would be needed to update it?
     
    SpacePhoenix, Mar 28, 2021 IP
  7. JEET

    JEET Notable Member

    Messages:
    3,825
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #7
    @lapidus
    Sure, its possible to update it to use mysqli.
    Upload the script somewhere, zipped, and send me a download link in inbox.
    Might cost you a bit, depending on the work.
     
    JEET, Mar 28, 2021 IP
  8. DaEmma

    DaEmma Greenhorn

    Messages:
    13
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    18
    #8
    the only dependency of ezsql is that you have php and the associated php libraries for the database(s) you want to use. if you have other package errors, that is most likely on your end.
     
    DaEmma, Apr 7, 2021 IP