How to enable mysqlnd for php?

前端 未结 6 567
失恋的感觉
失恋的感觉 2020-11-27 05:17

I have PHP installed and running (version: 5.3.17) and I want to switch to mysqlnd (in the phpinfo mysqlnd does not exist at all).

I read that in order to set it, yo

6条回答
  •  鱼传尺愫
    2020-11-27 05:32

    Don't know if i understand you right.... Simply download the source of php (php-5.x.x.tar.gz), unzip the source and change to that directory then

     bash:/dir/of/your/source # ./configure --with-mysql=... and your other config params
    

    after that just make it by

     bash:/dir/of/your/source # sudo make && make install
    

提交回复
热议问题