Problems with wamp, xampp, and phpStudy during installation and expansion

Source: Internet
Author: User
: This article mainly introduces problems that occur during installation and expansion of wamp, xampp, and phpStudy. if you are interested in the PHP Tutorial, refer to it. Sometimes installed in wondow7, is generally downloaded corresponding to the php version of the same php_cmd.dll. link: http://pecl.php.net/package/mongo/1.6.0RC2/windows

(1) put php_cmd.dll in the ext folder.

(2) modify extensi' in php. ini with an absolute path.

(3) add or remove the extension = mongo. dll of php. ini.

(4) restart APACHE, access pathinfo. php, and check whether mongo can be loaded successfully.

Problem: When you access pathinfo. php, you cannot find that mongo can be loaded in. However, if apache is started normally, the php startup in unknown on line 0 will pop up. In this case, you can view the logs log of apache or the log of php, which contains this Warning: PHP Startup: in Unknown on line 0

I have been searching for Baidu and Google for a long time, but I have not found a specific solution. I am in a hurry!

You can run cmd to enter the DOS environment, enter the php installation directory, and use php-m to check whether the extension is available, next we will do the following.

Later, I found that php's support for the mongo library depends on three dynamic link libraries: libeay32.dll, libsasl. dll, and ssleay32.dll. These three libraries are generally stored in the php directory. Therefore, these three dynamic libraries should be available in the apache bin directory. Sometimes, one or two of the apache bin directories in the integrated environment are missing. you can go in and find them, or copy the three.

After copying, restart Apache to load mongo without warning.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

The above describes the problems that occur during the installation and expansion of wamp, xampp, and phpStudy, including some content. I hope my friends who are interested in the PHP Tutorial will be helpful.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.