mysql error configuring php
Posted: Mon Aug 11, 2008 5:50 pm
I'm trying to install php on an ubuntu system.
I installed the following ubuntu packages: mysql-server, mysql-client, mysql-common, mysql-client-5.0, libmysqlclient15off, and libdbd-mysql-perl. MySQL seems to work fine.
I downloaded php 5.2.6. I like to build php from source so that I can configure it the way I want. I ran
But I keep getting this error
I downloaded the ubuntu source package mysql-dfsg-5.0_5.0.51a.orig.tar.gz, hoping that it would contain the header files I need. Then I set the --with-mysql option to the include directory in that source package, but I get the same error.
Any ideas as to how I can get php to configure?
I installed the following ubuntu packages: mysql-server, mysql-client, mysql-common, mysql-client-5.0, libmysqlclient15off, and libdbd-mysql-perl. MySQL seems to work fine.
I downloaded php 5.2.6. I like to build php from source so that I can configure it the way I want. I ran
Code: Select all
$ ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-gd --with-mysql --with-mysqli --with-pdo-mysql --enable-soap --with-libxml-dirCode: Select all
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!
Any ideas as to how I can get php to configure?