How phpstudy scales MongoDB

一个新手
Release: 2023-03-15 21:08:01
Original
6002 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template