LoginSignup
0
0

More than 1 year has passed since last update.

Undefined class constant 'MYSQL_ATTR_MAX_BUFFER_SIZE'

Last updated at Posted at 2022-12-16

image.png

mysqlnd を指定してコンパイルした場合は、この定数はサポートされていません。

image.png

PHP Fatal error: Uncaught Error: Undefined class constant 'MYSQL_ATTR_MAX_BUFFER_SIZE'

mysqlnd は PHP 5.4 以降のデフォルトです。

m4 の方だと特別指定しなければ libmysqlclient が使用され、w32 の方だと逆に mysqlnd が使われるようです(公式のWindows版バイナリも mysqlnd を使うようにビルドされている)。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0