Page 1 of 1

WHMCS Addon Module

PostPosted: September 16th, 2018, 9:09 am
by simx
Hey guys!

Question... Am I able to debug created addon modules for WHMCS with PHP Tools?

I have a developer key and I have loaded all the files into VS but no luck so far as Im not 100% sure on how to get it to run as it requires ioncube loader.

simx

Re: WHMCS Addon Module

PostPosted: September 16th, 2018, 12:16 pm
by simx
Just an update...

I have placed the ioncube loader in:

Code: Select all
C:\Program Files (x86)\IIS Express\PHP\v7.1\ext\ioncube


And edited php.ini to reflect where it is but I always get a xdebug error.

Re: WHMCS Addon Module

PostPosted: September 16th, 2018, 12:23 pm
by simx
Update again...

I got it working doing the following:

Code: Select all
[ioncube]
zend_extension="C:\Program Files (x86)\IIS Express\PHP\v7.1\ext\ioncube\ioncube_loader_win_7.1.dll"

[XDEBUG]
zend_extension="C:\Program Files (x86)\IIS Express\PHP\v7.1\ext\php_xdebug.dll"


Hope this helps someone else.