Created
March 27, 2015 22:21
-
-
Save valbeat/b8e47796983fa1a51bc8 to your computer and use it in GitHub Desktop.
PHPで「Fatal error: Class 'mysqli' not found」と出た時の対処法 ref: http://qiita.com/valbeat/items/1cc0075af808b6703691
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fatal error: Class 'mysqli' not found |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vim /usr/local/lib/php.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;extension=php_mysqli.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension=php_mysqli.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /usr/local/src/php-5.6.0 | |
$ make clean | |
$ ./configure --enable-mbstring --with-apxs2=/usr/local/apache2/bin/apxs --enable-pdo --with-gd --with-png-dir=/usr/local --with-jpeg-dir=/usr/local --with-mysql --with-mysqli | |
$ make | |
$ make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment