本文介绍了创建php扩展名以连接mysql.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我是新成员,希望得到您的支持,以创建一个PHP扩展以通过C ++驱动程序(Mysql连接器C ++)连接到mysql.非常感谢.


我想创建一个php扩展名(.dll文件),并且该文件可以连接和访问MySQL.我尝试创建一个简单的php扩展名"Hello World",它可以正常运行,但是当我尝试添加连接到MySQL的功能(使用C ++驱动程序连接器)时,在php中加载此扩展名时,它不起作用,Wamp也不起作用.伊尼.行动的目的,我想在托管我的网站时隐藏一部分我的php代码.希望得到您的支持,非常感谢.我很抱歉英语技能,我叫VietNamese. [/edit]

Hello all, I am new member, I hope receive your supports about creating a php extension to connect to mysql by C++ driver (Mysql connector C++). Thank you very much.

[edit - copied from comment to first answer - Peter-in-2780]
I want to create a php extension (.dll file) and this file can connect and access MySQL. I have try create a simple php extension "Hello World" and it runs normally, but when I try to add function connect to MySQL (use C++ driver connector), it do not work and Wamp do not work when load this extension in php.ini. Purpose of action, I want to hide a piece of my php code when up host my site. I hope receive your supports,thank you very much. I am sorry about English skill, I am VietNamese. [/edit]

推荐答案


这篇关于创建php扩展名以连接mysql.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 16:36
查看更多