Re: Configuring PHP for MySQL
Hi, This Q should be asked in the php lists instead, but in the mean time, try configuring php like so: ./configure --with-mysql that usually does the trick when RPM's are installed ... Regards, Jorge MySQL Development Team __ ___ __ __ / |/ /_ __/ __/ __ \/ / Jorge del Conde [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/ /_/ /_/\_, /___/\___\_\/ Mexico City, Mexico ___/ - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 11:39 PM Subject: Configuring PHP for MySQL I just installed the latest version of MySQL (3.23.38 I believe) from an RPM on Red Hat Linux 7.0. My question is when configuring PHP4 I need to include the --with-mysql= ? statement. Where would the correct file be with the RPM install. I have tried almost every directory I can find that seems related to MySQL and I always get an error when I go to configure saying something like header files not found in __ (whatever directory I tried) Any help would be very appreciated!!! Thanks, and sorry for the newbie question. Justin Pease - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Configuring PHP for MySQL
Thanks for the responses. Unfortunately they didn't work. I tried /usr/local /usr/local/mysql /usr/lib /usr/lib/mysql /usr/var /usr/var/mysql and /usr/bin for the --with-mysql=/. command to configure PHP4. It still says Header files not found at ..Does anyone know what the file names are that would be considered the header files? That way I could just do a search. Also when configuring using the --with-mysql= what is the proper syntax to define more than one directory to search? Or can you not do that? Again this is for MySQL 3.23.38 that I installed using the RPM. Thanks for any help!!! Justin Pease - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Configuring PHP for MySQL
Sorry Jorge. I thought that the individuals on this list would be more qualified to answer a question regarding where a specific installation (3.23.38 RPM) of MySQL placed specific files ( header files? ) than would PHP users. Justin Pease On 17 May 2001, at 9:53, Jorge del Conde wrote: Hi, This Q should be asked in the php lists instead, but in the mean time, try configuring php like so: ./configure --with-mysql that usually does the trick when RPM's are installed ... Regards, Jorge MySQL Development Team __ ___ __ __ / |/ /_ __/ __/ __ \/ / Jorge del Conde [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/ /_/ /_/\_, /___/\___\_\/ Mexico City, Mexico ___/ - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 11:39 PM Subject: Configuring PHP for MySQL I just installed the latest version of MySQL (3.23.38 I believe) from an RPM on Red Hat Linux 7.0. My question is when configuring PHP4 I need to include the --with-mysql= ? statement. Where would the correct file be with the RPM install. I have tried almost every directory I can find that seems related to MySQL and I always get an error when I go to configure saying something like header files not found in __ (whatever directory I tried) Any help would be very appreciated!!! Thanks, and sorry for the newbie question. Justin Pease - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php Sincerely, Justin Pease N u a n c e N i n e Web Development and Design www.nuance9.com - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Configuring PHP for MySQL
Wrong. As the MySQL Development Team suggested, this is a quesiton for PHP people. THe message Header files not found at ..has nothing to do with MySQL. This is a header that is being generated (HTML HEADERS). Therefore, at the TOP of a (PHP) script file you are saying something like include(../ip_address.php4); , it goes out and looks for the file specified (in this case ip_address.php4) and doesn't find it. This is a PHP problem and it is caused because you are promising a file that you are not giving it. SNIP === Sorry Jorge. I thought that the individuals on this list would be more qualified to answer a question regarding where a specific installation (3.23.38 RPM) of MySQL placed specific files ( header files? ) than would PHP users. Justin Pease - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Configuring PHP for MySQL
Well, thanks to everybody for their replies. I appreciate the help, and sorry to those who thought the question was asked in an inappropriate list. I ended up just configuring using --with-mysql=/* and everything seemed to work. Some how I doubt this was the *right* solution, but oh well. Like I said I'm a newbie. JP - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php