Setting method for php to call mysql related functions in zend studio Zend studio for eclipse

WBOY
Release: 2016-07-29 08:39:04
Original
1062 people have browsed it

If you call mysql_connect directly, there will be: Fatal error: Call to undefined function mysql_connect() error
Solution,
Find the location of zend studio php.ini
My zend studio is installed in D:Program Files
So php.ini is located The location is: D:Program FilesZendZend Studio for Eclipse - 6.0.0pluginsorg.zend.php.debug.debugger.win32.x86_5.2.12.v20071210resourcesphp5
Create a new ext folder in this folder,
and copy php_mysql.dll to this file folder,
Modify php.ini and add the following
extensi
extension=php_mysql.dll
Through the above modifications, the problem is perfectly solved.

The above introduces the setting method in zend studio Zend studio for eclipse that enables PHP to call mysql related functions, including the content of zend studio. I hope it will be helpful to friends who are interested in PHP tutorials.

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!