Label:This article will tell me about the process of installing MONGODB extension, you can refer to Installation Environment Linux Environment: CentOS 6.5 Apache Version: 2.4 PHP Version: 5.4.3 MongoDB version: 2.6.5 One, download mongo-php extension installation package Can be downloaded from GitHub, address is https://github.com/mongodb/mongo-php-driver-legac
First download the installation package to the MongoDB site http://www.mongodb.org/Choose according to your operating system type and 32/64-bit.
Installing on Windows
Unzip the installation package and then create a directory for the data file, MongoDB the default C:\data\db as the data directory, or create other empty directories to save.
Set up the data directory, open the command prompt (Cmd.exe), int
Today we have to install the MongoDB bar, this is a database, in order to lazy, this article on the use of Yum installation, after all, yum convenient, rely on the package will be installed, unless it is a separate entire DB server to compile the installation.System: CentOS 5.91. Pre-Installation PreparationThis is for a 64-bit system Yum Source:echo "[MongoDB]Na
1. InstallationMethod 1:mac The computer is easy to install, directly download the required version of the decompression can:Download URLHttps://www.mongodb.com/download-center?jmp=nav#communityMethod 2:Brew Install MongoDB2. MongoDB data default exists/data/db, so need to create this folder$ sudo mkdir-p/data/db #data with bin sibling $ sudo chown xxx/data/db (s
Error 1was encountered at compile time: Use parameters: disable-warnings-as-errors To add a system library load path: Modify File /etc/ld.so.conf Is the configuration file takes effect immediately: Test: Test.cpp Compile: g++ test.cpp-lmongoclient-lboost_system-lboost_thread-lboost_filesystem-lboost_program_options-i/usr/local/ Mongo-client-install/include-l/usr/local/mongo-client-install/lib
A few days ago the boss let us learn MongoDB, I am in the Windows environment to install MongoDB extensions encountered some problems, now share the solution, together to learn.
1, first check your PHP version ( in the php file Output phpinfo () ), and confirm that it is thread-safe or not thread-safe (my thread-safe VC6)
My integrated Environment XAMPP version
1. Download Rockmongo: Http://rockmongo.com/downloadsUnzip the downloaded compressed package rockmongo-1.1.5.zip to the Web publishing directory (I use Apache here, the Publish directory can refer to the DocumentRoot item in httpd.conf)2. Download MongoDB extension: Https://github.com/mongodb/mongo-php-driver/downloadsHere is the version I downloaded:Unzip the downloaded zip file, copy the Php_mongo.dll fil
Label:Reference Link: http://docs.mongodb.org/ecosystem/drivers/php/Method 1: Install with PECL#pecl Install MONGOEnter "No" in the dialog box that appearsWhen you are finished installing, you are prompted to write mongo.so php.iniMethod 2: Apply only to users who cannot connect to the extranetIn fact, this method is the manual version of method 1.: Http://pecl.php.net/package/mongo[[email protected]] #tar-
Installation Environment: Centos 6.5 PHP 5.3.27 Here PHP is installed, the installation path is: /usr/local/php/ To download the installation file: Http://pan.baidu.com/s/1sjjTmbz Get file: mongo-php-driver.tar.gz Unpack the files and go to the installation folder: tar -zxf mongo-php-driver. Tar . Gzcd. /mongo-php-driver Compile and install the extension: /usr/local/php/bin/phpize. /configure--with-php-config=/usr/local/php/bin/php-configmakeinstall
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.