Compiling PHP on a 64 bit system
When compiling PHP on a 64 bit system don’t forget to add “–with-libdir=/lib64″ to the configure statement. A typical configure statement would be:
./configure –with-apxs2=/usr/local/apache2/bin/apxs –with-mysql –with-libdir=/lib64
If you forget ./configure will fail in the mysql section with the error:
configure: error: Cannot find libmysqlclient under /usr.
Note that the MySQL client library is not bundled anymore!
Categories: Web Hosting
Thank you SO much !
Wow, this solved the problem after a day of trying to compile! Thank you!
Really helpful. Thanks