Configure Error Cannot Find Mysql Headers
Contents |
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software php5 ./configure error: Cannot find MySQL header files User php cannot find mysql header files under Name Remember Me? Password Linux - Software This forum is for Software error cannot find mysql header files under /usr/bin/mysql issues. Having a problem installing a new program? Want to know which application is best for the job? cannot find mysql header files under /usr Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have cannot find mysql header files under /usr/bin/mysql the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site
Configure Error Cannot Find Mysql Header Files Under Usr Local Mysql
FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Page 1 of 2 1 2 > Search this Thread 09-14
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies
Configure Error Cannot Find Ssl Headers
of this site About Us Learn more about Stack Overflow the company Business checking for ssl headers configure error cannot find ssl headers Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask cannot find mysql header files under yes Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up http://www.linuxquestions.org/questions/linux-software-2/php5-configure-error-cannot-find-mysql-header-files-230651/ Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top compiling PHP 5.4 and higher with MySQL up vote 1 down vote favorite 1 I'm running a pile of mediawiki instances on Oracle enterprise Linux and I'm trying to upgrade from 1.19.x to the latest LTS version, 1.23.x. I'm currently using PHP http://unix.stackexchange.com/questions/172583/compiling-php-5-4-and-higher-with-mysql 5.3 and due to some odd issues with special pages and thumbnails, it has been recommended that I upgrade PHP to 5.4 or higher. ./configure --prefix=$PRE --with-config-file-path=$CONFIG_FILE_PATH --with-mysql=/usr/include/mysql --with-apxs2=$PRE/apache/bin/apxs --with-zlib --with-jpeg-dir --with-gd --with-iconv-dir --with-libxml-dir=/usr/local/bin --enable-mbstring the issue I have is that my compile of PHP keeps failing with error: error: Cannot find MySQL header files under /usr/include/mysql. here is where it gets odd: $ cd /usr/include/mysql $ ll | grep mysql.h -rw-r--r-- 1 root root 28148 May 11 2011 mysql.h clearly the header files are present. here is where it gets even more odd: if I pull a copy of the PHP 5.3 tar, extract it and run the exact same compile command it succeeds. I know that between PHP 5.3 and 5.4 PHP moved from libmysqlslient to mysqlnd [whatever that means], but according to their manual the compile arguments have not changed. http://php.net/manual/en/mysql.installation.php so I thought it must be the change to mysqlnd. so I tested that by compiling 5.3 with mysqlnd, and that succeeds! --with-mysql=mysqlnd --with-mysql=/usr/include/mysql I've also tried PHP 5.6 in case something broken was fixed, but that also fails with the cannot find header files error. I'm
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and http://askubuntu.com/questions/258120/error-configuring-php-and-mysql-installed-from-source policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask http://stackoverflow.com/questions/18157308/php-mysqli-configuring-issues Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask cannot find a question Anybody can answer The best answers are voted up and rise to the top Error configuring PHP and MySQL installed from source up vote 1 down vote favorite I'm using ubuntu 12.04. the system requires php5.2 and mysql5.1. I installed php and mysql from source. I encountered the following problem while configuring php: ./configure \ --prefix=/usr/share/php52 \ --with-apxs2=/usr/local/apache2/bin/apxs \ --enable-mbstring \ --with-curl cannot find mysql \ --with-mysql \ --enable-embedded-mysqli \ --enable-exif \ --with-mcrypt checking for MSSQL support via FreeTDS... no checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /tmp/mysql.sock configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore! What should I do? Thanks in advance 12.04 mysql php share|improve this question edited Feb 19 '13 at 8:40 Nitin Venkatesh 12.4k84879 asked Feb 19 '13 at 7:58 sede 612 look here forums.debian.net/viewtopic.php?t=9636 –Olcay Ertaş Feb 19 '13 at 8:49 @Olcay Ertaş In the future, please post the answer here with a link for reference or further information. –bodhi.zazen Feb 19 '13 at 14:05 add a comment| 2 Answers 2 active oldest votes up vote 2 down vote From the above link: "apt-cache search mysql | grep dev" reveals that you need libmysqlclient15-dev. share|improve this answer answered Feb 19 '13 at 14:04 bodhi.zazen 55.2k6114213 add a comment| up vote 0 down vote There's no need to install from source. You can simply install tasksel via the terminal wi
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up php mysqli: configuring issues up vote 1 down vote favorite 1 I am currently running an Apache 2.4 server with PHP 5.5.1, and it is connected to Django via mod_wsgi (in case that matters). This is all running on Oracle Linux. In this set-up, I am trying to use mysqli and the method mysqli_connect. However, I am facing issues with my mysqli set-up. I have used the following website: MySQLi Setup. However, even after running ./configure --with-mysqli=/usr/bin/mysqlconfig and ./configure --with-mysqli, I still do not see a mysqli section in my phpinfo() test site. I have run make and make install after both and it has worked fine. Furthermore, when I try the following command ./configure --with-mysql=/usr/bin/mysql_config --with-mysqli=mysqlnd, I get the following error: configure: error: Cannot find MySQL header files under /usr/bin/mysql_config. Note that the MySQL client library is not bundled anymore! On top of this, I have uncommented the extension=php_mysqli.dll line. Right now, I have an idea of what I need to do, which is to get ahold of the MySQL client library and allow access to it by php. However, I am unsure of how to do this, and many of the questions + answers I have found have not worked. Any help is appreciated. Thanks. php apache mysqli configure mysql share|improve this question edited Aug 10 '13 at 0:01 asked Aug 9 '13 at 23:55 Zhouster 4211918 i'm not an expert but sounds like mysqli is PHP and django & mod_wsgi is Python –Emilio Gort Aug 9 '13 at 23:59 Oh, yeah. I added that information for the sake of clarification in case it might have an effect, but maybe I'll comment that part out. Thanks. –Zhouster Aug 10 '13 at 0:01 I do