- cd /www/server/php/52/src
- sed -i "s@memset(&tm, sizeof(tm), 0)@memset(&tm, 0, sizeof(tm))@" ext/zip/lib/zip_dirent.c
- cd ext/mysqli/
- /www/server/php/52/bin/phpize
- ./configure --with-php-config=/www/server/php/52/bin/php-config --with-mysqli=/www/server/mysql/bin/mysql_config
- make
- make install
复制代码 楼上操作好再执行一下这几个命令
一行一行 就不会出问题了
|