jgugugiug 发表于 2019-1-11 12:23:45

cacti+nagios整合PHP需要的参数

# ./config ure   --prefix=/usr/local/php5   
                                           --enable-mbstring
                                           --enable-ftp   
                                           --enable –sockets
                                           --enable-gd-native-ttf
                                           --with-apxs2=/usr/local /apache2/bin/apxs
                                           --with-mysql=/usr/local/mysql   
                                           --with-config-file-path=/usr/local/php5
                                           --with-libxml-dir
                                           --with-zlib
                                           --with-gettext
                                           --with-gd=/usr/local/gd
                                                                                                                                                                                                         -                                          --with-png-dir=/usr/local/libpng
                                          --with-jpeg-dir=/usr/local/jpeg-8b
                                          --with-pdo-mysql=/usr/local/mysql/
                                          --with-freetype-dir=/usr/local/freetype



页: [1]
查看完整版本: cacti+nagios整合PHP需要的参数