PHP configureの備忘録 2

sslが使えなかったので、使えるようにしたconfig

ーーーー
#!/bin/sh

./configure \r
–prefix=/usr \r
–mandir=/usr/share/man \r
–infodir=/usr/share/info \r
–with-apxs2=/usr/local/apache2/bin/apxs \r
–enable-cli \r
–with-zlib-dir=/usr \r
–with-openssl \r
–enable-mbstring \r
–enable-mbregex \r
–enable-sockets \r
–with-curl=/usr \r
–with-config-file-path=/etc \r
–sysconfdir=/private/etc \r
–with-mysql-sock=/tmp/mysqld.sock \r
–with-mysql=/usr/local/mysql/ \r
–with-mysqli=/usr/local/mysql/bin/mysql_config \r
–with-pear=/Library/PHP \r
–without-iconv \r
–with-pdo-mysql=/usr/local/mysql/bin/mysql_config \r
–enable-soap
ーーー

これで、#sh conf.sh でOK

前の記事

Mac にApache 備忘録

次の記事

iPhone 8G 入手