PHP 7.0 and MySQL start-up error “undefined symbol: mysqlnd_allocator in Unknown”

前端 未结 3 623
日久生厌
日久生厌 2021-01-14 11:11

Getting this warning on a custom-compiled version of PHP7, even when running php -v.

Tried all solutions posted. What could cause this?

3条回答
  •  -上瘾入骨i
    2021-01-14 11:57

    (Posted on behalf of the OP).

    Commands performed in order; I removed MySQL and PHP completely from system then:

    sudo apt-get update
    sudo apt-get install php7.0
    sudo apt-get install php7.0-mysql
    

    This seems to have fixed the error. Uuuugh.

提交回复
热议问题