! 2011年時点では cygwinports から PHP,MYSQL をインストールできますので cygwinports を利用した方が楽です。 CYGWIN に MySQL対応のPHPインストール PHP インストール(失敗) ./configure --with-mysql=/mysql --with-apxs=/usr/sbin/apxs . . . configure: error: Cannot find libmysqlclient library under /mysql windows版のmysqlでは失敗します。 シンボリックリンクをはっても、直接mysqlのバイナリを/mysql配下に コピーしても失敗、そのため、CYGWINにmysqlのクライアントをインストールします。 MySQL クライアント インストール MySQLのサイト(http://dev.mysql.com/downloads/) Source downloads から Tarball を 選択してダウンロード MySQL のクライアントライブラリとクライアントプログラムだけをコンパイルして、 サーバをコンパイルしない場合 --without-server を追加する。 ./configure --without-server \ --prefix=/usr/local/mysql \ --with-charset=ujis --with-extra-charsets=all #make #make install #/usr/local/mysql/bin/mysql -u root -h 127.0.0.1 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.1.21-community-nt Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> 繋がった^^ PHPでMySQL(PHPインストール編)