windows引用DLL扩展的问题

我用VS2008自己生成了一个DLL扩展,但是添加到php.ini的时候就报错了,不知为什么,错误如下:
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.
Apache/2.4.29 Server at localhost Port 8660

这个提示信息只能看出来错了,至于哪里错了没有任何有效的信息。

你要编写dll,我的建议是,首先在网上找现成的代码,调通,能运行。然后再改成你的代码,而不是一上来就自己写。