• (2 Pages)
  • +
  • 1
  • 2

Introduction to : Creating a Php extension for windows Rate Topic: ****- 1 Votes

#16 cybereka  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 03-November 13

Posted 03 November 2013 - 02:30 AM

Hi,

First i wish to thank you for such a wonderful step by step guide to write php extension. I am new to php and i just followed exactly what the tutorial says. When i build the project i found it to be successful and the dll was in place. Moving to the next step i stopped the wamp services and edited the php.ini file and added the extension=PhpExtension.dll (I named the VS project as PhpExtension). Then i restarted the wamp services and tried the phpinfo() which listed a lot of information but i couldn't find Use Html in it. When i tried invoking the function inside the dll i am getting the error

Fatal error: Call to undefined function use_html() in D:\Data\Works\www\test.php on line 3

I tried restarting the services few times but no help. Could you please let me know whether i am missing anything?

I developed the extension on Visual Studio 2008 Professional Ed.
I used wamp 2.4 which has php 5.4.16 apache 2.4.4
Php source i downloaded was php 5.4.21

Thanks,
Eka
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2