Home > Cannot Find > Phpfarm Configure Error Cannot Find Libmysqlclient Under /usr

Phpfarm Configure Error Cannot Find Libmysqlclient Under /usr


I will install two different PHP versions. here is the command I used and it works: sudo ./configure --prefix=/opt/php5.2 --with-config-file-path=/opt/php5.2 --with-mysql --with-libdir=/lib/x86_64-linux-gnu share|improve this answer answered Jun 21 '12 at 9:16 farzam 4402516 How did you This article was written before we started using a custom method to wrap code. To make both work simultaneously, I have had to change cgi execution file extension to .cgi for php5.2.6 and .php for php5.3. http://amigasuperbit.com/cannot-find/php-configure-error-cannot-find-libmysqlclient-under.html

make make install Copy php.ini to the correct location: cp /usr/local/src/php5-build/php-5.3.22/php.ini-production /opt/phpfcgi-5.3.22/lib/php.ini That's it - if you like, you can now install some additional modules like APC, memcache, memcached, and ioncube. add a comment| 3 Answers 3 active oldest votes up vote 2 down vote accepted you could try give different path for mysql, ie: --with-mysql=/usr/lib64 m share|improve this answer answered Sep Code: ldconfig -v |grep mysql libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0 libmysqlclient_r.so.14 -> libmysqlclient_r.so.14.0.0 libmysqlclient.so.10 -> libmysqlclient.so.10.0.0 libmysqlclient.so.15 -> libmysqlclient.so.15.0.0 libmysqlclient_r.so.10 -> libmysqlclient_r.so.10.0.0 libmysqlclient.so.14 -> libmysqlclient.so.14.0.0 libmysqlclient_r.so.12 -> libmysqlclient_r.so.12.0.0 libmysqlclient.so.12 -> libmysqlclient.so.12.0.0 Need anything vi /opt/phpfcgi-5.3.22/lib/php.ini ...

Cannot Find Mysql Header Files Under

It is based on this article while keeping in mind that in previous apache tutorial we compiled apache from source. sudo apt-get install libmysqlclient-dev configure: error: sasl.h not found! Actually the reserve is the main reason I want to go there, after seeings all the pics at http://t.co/eE8qNBeFlV 20 Aug '14 via Twitter More community Twitter: @maciejzgadzaj Twitter: @alldrupal Twitter: In other news Parc Zoologique de Thoiry No need to go to Africa or Asia for a great safari experience - just 50 km west of Paris is completely enough.

Apache and FastCGI Next thing to do is to set up Apache to run PHP 5.2 using FastCGI. configure: error: Could not find pcre.h in /usr sudo apt-get install libpcre3-dev configure: error: Please reinstall the BZip2 distribution sudo apt-get install libbz2-dev configure: error: Please reinstall the libcurl distribution - php-fastcgi-.conf should have the following content in which you can comment out FastCgiServer making it statically. Checking For Specified Location Of The Mysql Unix Socket... No Reply F.

Was stuck with compiling php 5.3.29 for phpfarm usage. Alguna pista? Browse other questions tagged mysql php or ask your own question. https://www.howtoforge.com/how-to-use-multiple-php-versions-php-fpm-and-fastcgi-with-ispconfig-3-debian-wheezy-p2 Add following switches to your ./configure options:  --with-pdo-sqlite=shared
  --with-sqlite=shared Make Everything configured properly and without errors?

Let me know! 30 Oct '14 via Twitter All Drupal updates done, time to finally start my holidays! \o/ 15 Oct '14 via Twitter Does anyone in Paris area have an Install Libmysqlclient Quote: ./configure --with-mysql=/usr/bin/ --with-libdir=lib64 Hope that helps! PHP Build Error: bash configure: error: Cannot find libmysqlclient under /usr. Cheers, Dave UltraPain View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by UltraPain 06-05-2011, 03:01 PM #7 GarrathE LQ Newbie Registered:

Cannot Find Libmysqlclient_r

configure: error: Cannot find libmysqlclient under /usr.
Note that the MySQL client library is not bundled anymore! You may need to install MySQL libraries ie #yum install mysql-devel 3. Cannot Find Mysql Header Files Under When using these parameters, can you verify that the mysqlclient is under /usr/lib64? Php Cannot Find Libmysqlclient_r I also wanted to maintain the default mod_php5 handler to keep the PHP performance at normality.

This error message suggests you don't have libxml2 installed. http://amigasuperbit.com/cannot-find/php-configure-cannot-find-libmysqlclient.html Therefore developing for both D7 and D6 at the same time becomes much less painful when running both versions of PHP in parallel. Can an object *immediately* start moving at a high velocity? and add the line extension=memcache.so at the end of the file: [...] extension=memcache.so The memcached extension can be installed as follows: apt-get install libmemcached-dev pecl -C ./pear.conf install memcached Open /opt/phpfcgi-5.3.22/lib/php.ini... Configure Error Cannot Find Mysql Header Files Under Usr Bin

What a fantastic long life posting from ARUNR in 2009. Can a president win the electoral college and lose the popular vote Why is the 'You talking to me' speech from the movie 'Taxi Driver' so famous? To configure the PHP application statically you can use FastCgiServer. this contact form sudo apt-get install libpng12-dev configure: error: libXpm.(a|so) not found.

Two hours of trying to get this to configure, and your suggestion saved me. Configure: Error: Cannot Find Openssl's Libraries Please note that this tutorial is for Apache's name-based virtual hosts, and essentially leaves PHP 5.3 enabled globally while allowing to use PHP 5.2 on specific, selected virtual hosts only. yes checking for MSSQL support via FreeTDS...

You are currently viewing LQ as a guest.

But arunr's answer helped me too by pointing me in the right direction! sudo apt-get install libfreetype6-dev You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application. Note that the MySQL client library is not bundled anymore! Usr Bin Ld Cannot Find PhpMyAdmin was crashed once after I up-graded the MySQL.

more stack exchange 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 The server quit without updating PID file How to Configure NVFax on FreePBX Question Defense ©2016 Activities November 2012 M T W T F S S « Oct Dec » alex Reply Leave a Reply Cancel reply Name * Email * Sponsors Latest Articles WEMO Application Not Detecting LED Bulbs TokuDB Google Cloud Install: Starting MySQL… ERROR! navigate here The issue was that I the MySQL server version was 64-bit and the php compile script was looking for 32-bit libraries.

Why did Borden do that to his wife in The Prestige? I just removed the --with-lib-dir option. i have followed your instruction so that i can run php5.2.6 however i cannot be sure if php5.2.6 is running on cgi-bin. Finally the exec executes php.

Thanks for taking the time to leave a note with this request. We should make executable /var/www/cgi-bin/php-cgi-5.2.13 3. You can ofcourse choose any location of your likings, but just remember to change every path to /etc/php/ during the course of this guide: sudo mkdir /etc/php/ && sudo chmod 0775 Could you post the output of the following?
ls -l /var/www/cgi-bin
Reply mizanur says: January 4, 2011 at 2:36 pm Thanks for the reply dbforch, > /etc/php/phpfarm/inst/php-5.2.6/bin/php-cgi -v

We have several possibilities on how the PHP application can be executed (the binary php-cgi). Also…I'm changing the -with-mysql=… path but the configure always search for libmysql in /usr/local… What do you think what's wrong? (on Debian Lenny) dbforch says: January 4, 2011 at 10:50 am Hiking Mallorca Mallorca: not only hot sun, warm sea, white-sand beaches, palm trees and sweaty German tourists. Does my 7 segment display need a bypass capacitor?

sudo apt-get install libsnmp-dev configure: error: Cannot find libtidy sudo apt-get install libtidy-dev configure: error: xslt-config not found. This second one is just annoying especially venting frustration for an article we took the time to write in our free time as an effort to help others resolve an issue. Whichever way you choose, now you have PHP 5.2 installed in /usr/bin/php52 Apache conf files The /etc/php52/apache2/ configuration directory for PHP 5.2 should have already been created during the installation process