search
HomeBackend DevelopmentPHP TutorialHow phpstudy scales MongoDB
How phpstudy scales MongoDBMay 10, 2018 pm 04:21 PM
mongodbphpphpstudy

phpstudy extends MongoDB

Pre-work installationPHPstudy,mongodb

Runphpstudy

How phpstudy scales MongoDB

View phpinfo

Click on the other options menu——>View phpinfo

should be the third one from top to bottom

Click in and view in the browser

How phpstudy scales MongoDB

##Observe the following three parameters, namely php version, ts/nts, vc6/vc9/...three rules (must be One-to-one correspondence)

Download the corresponding mongodb package

Unzip and find the corresponding

dll file

How phpstudy scales MongoDB

Copy and paste into the corresponding ext folder

How phpstudy scales MongoDB

Please pay attention to your path, the above is my path

Then open

php- init

phpsstudyOther options menu——>Open configuration file——>php-init

Add

extension=php_mongo.dll

How phpstudy scales MongoDB

Save and exit

At this time phpstudy may appear warning phpstudy: startup

Go to this time

How phpstudy scales MongoDB

How phpstudy scales MongoDB

Look for the three files

libeay32.dll, libsasl.dll and ssleay32.dll

The third file is at the end of the folder.

Copy these 3 files to

phpstudy\PHPTutorial\Apache\bin

How phpstudy scales MongoDB

If there is no `Apache\bin at this time, These 3 files will directly succeed

/

**************************** ************/ If prompted whether to overwrite, be sure to click No, do not overwrite
This is very important, otherwise an error may be reported
Be careful when doing this step and be slow
/
**************************** ************/

After completion, proceed to the next step

Open phpstudy again and click Restart

How phpstudy scales MongoDB

After that, check phpinfo in the browser again. If it is not the reopened phpinfo, please refresh the page

How phpstudy scales MongoDB

When this display appears , which means that the expansion of mongodb is completed.

Off-topic:

Dear friends from other posts, what you wrote, please uncomment or something like that, have you guys read the file carefully?

According to what you wrote Configuration, search can only find this one, it makes sense to uncomment this, what's the point?

It is clearly written as example, what else is there to comment on?

How phpstudy scales MongoDB

Just teach you how to add extensions! ! !

By the way, the comments in this file are to add a

; semicolon at the beginning of the sentence

I hope this post can help everyone

Talk about CSDN Isn’t it the largest Chinese IT community in the world?


phpstudy extension MongoDB

Pre-work installation

PHPstudy,mongodb

run

phpstudy

How phpstudy scales MongoDB##View phpinfo

Click on the other options menu——>View phpinfo

should be from above Click on the third

and view it in the browser

How phpstudy scales MongoDBObserve the following three parameters, namely php version, ts/nts, vc6/ vc9/...Three rules (must correspond one to one)

Go to

http://windows.php.net/downloads/pecl/releases/mongo

Download Corresponding mongodb package

Unzip and find the corresponding

dll

file

How phpstudy scales MongoDB Copy and paste into the corresponding ext folder

How phpstudy scales MongoDB

Please pay attention to your own path, the above is my path

Then open the php-init

phpsstudy other options menu ——>Open the configuration file——>php-init

Add extension=php_mongo.dll

How phpstudy scales MongoDB

Save , and exit

At this time phpstudy may appear warning phpstudy: startup

At this time go to

How phpstudy scales MongoDB

How phpstudy scales MongoDB

Find the three files libeay32.dll, libsasl.dll and ssleay32.dll

The third file is in the folder at last.

Copy these 3 files to phpstudy\PHPTutorial\Apache\bin

How phpstudy scales MongoDB

If there is no `Apache\bin at this time, These 3 files will directly succeed

/**************************** ************/
If prompted whether to overwrite, be sure to click No, do not overwrite
This is very important, otherwise an error may be reported
Be careful when doing this step and be slow
/**************************** ************/

After completion, proceed to the next step

Open phpstudy again and click Restart

How phpstudy scales MongoDB

After that, check phpinfo in the browser again. If it is not the reopened phpinfo, please refresh the page

How phpstudy scales MongoDB

When this display appears , which means that the expansion of mongodb is completed.

Off topic:

Dear friends from other posts, what you wrote, please uncomment or something like that, have you guys read the file carefully?

According to what you wrote Configuration, search can only find this one, it makes sense to uncomment this, what's the point?

It is clearly written as example, what else is there to comment on?

How phpstudy scales MongoDB

Just teach you how to add extensions! ! !

By the way, the comments in this file are to add a ; semicolon at the beginning of the sentence

I hope this post can help everyone

Talk about CSDN Isn’t it the largest Chinese IT community in the world?

The above is the detailed content of How phpstudy scales MongoDB. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
phpstudy pro怎么安装phpstudy pro怎么安装Apr 02, 2024 pm 03:15 PM

PHPstudy Pro 是一款 Web 开发环境软件包,可快速部署和测试 Web 应用。安装步骤如下:从官方网站下载安装包。运行安装程序,选择安装路径和语言。安装完成后,启动 PHPstudy 并配置 PHP、MySQL、Apache 设置。验证安装,在浏览器输入“localhost”或运行命令“php -v”检查 PHP 版本。

phpstudy乱码怎么办phpstudy乱码怎么办Nov 14, 2022 am 09:53 AM

phpstudy乱码是因为编码与译码的方式不一致,其解决办法:1、打开“控制面板”;2、打开“时钟,语言和区域”;3、点击“区域”;4、在小窗口上点击“管理”图标;5、点击“更改系统区域设置”,选择“具体的语言”,然后点击“确定”;6、重启电脑即可。

phpstudy为什么安装不了phpstudy为什么安装不了Apr 02, 2024 pm 03:42 PM

PHP Study安装失败可能是由于以下原因:1.系统兼容性问题;2.权限不够;3.文件冲突;4.网络连接异常;5.防病毒软件干扰;6.路径问题;7.系统错误。如遇问题无法解决,可通过PHP Study论坛、GitHub或官方网站寻求支持。

phpstudy配置文件怎么改phpstudy配置文件怎么改Apr 02, 2024 pm 03:57 PM

可以通过以下步骤修改 phpStudy 配置文件:找到配置文件(Windows:C:\Windows\phpStudy\php\php.ini;Mac:/Applications/phpStudy/php/php.ini)使用文本编辑器打开并查找要修改的设置编辑设置的值,如修改时区:date.timezone = Asia/Shanghai保存更改并重启 Apache 服务

phpstudy怎么改变端口phpstudy怎么改变端口Apr 02, 2024 pm 04:24 PM

为了更改 PHPSTUDY 端口,可通过以下步骤:打开控制面板并定位到内建 Web 服务器设置;修改端口号字段中的数字;保存更改并重启服务器;输入网站 URL 及新端口号验证更改。

phpstudy怎么看数据库phpstudy怎么看数据库Apr 02, 2024 pm 04:06 PM

通过 PHPstudy 查看数据库的方法包括:直接连接 MySQL 命令行使用 MySQL Workbench配置连接选择要查看的数据库通过 PHPMyAdmin在左侧菜单中选择要查看的数据库

教你创建虚拟主机并运行php项目(phpstudy + wamp)教你创建虚拟主机并运行php项目(phpstudy + wamp)Aug 07, 2022 pm 03:17 PM

本文涉及两款php的集成环境,这两款都含mysql + apache + php,phpstudy的功能比wamp要强大,并且十分简单容易上手。

phpstudy安装不了怎么办phpstudy安装不了怎么办Apr 02, 2024 pm 04:03 PM

无法安装 phpStudy 的解决方法:检查系统要求是否符合。禁用杀毒软件。关闭防火墙。以管理员身份运行安装程序。修复损坏的文件:sfc /scannow。尝试使用替代安装程序。联系 phpStudy 技术支持。

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Hot Tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)