convert a .php file to .dll

Do you have questions regarding other database enginges (not MySQL) -- ask here!

Moderators: macek, egami, gesf

sepidar
New php-forum User
New php-forum User
Posts: 2
Joined: Wed May 16, 2012 4:50 am

convert a .php file to .dll

Postby sepidar » Sun May 20, 2012 12:39 am

Hi All,

I want to convert a .php file to .dll and use it in sql server 2008
is it possible or not? if ok , please let me know how?

thanks for your attention
Best regards.

johnmacd
New php-forum User
New php-forum User
Posts: 75
Joined: Wed Jun 12, 2013 9:30 pm
Contact:

Re: convert a .php file to .dll

Postby johnmacd » Sat Apr 09, 2016 4:53 am

Hi,

Pack a bare-bones version of php with your project in a WinRar SFX archive, set it to extract everything to a temporary directory and execute php your_script.php.
To run a basic script, the only files required are php.exe and php5.dll (or php5ts.dll depending on version).
To add extensions, pack them along with a php.ini file:
[PHP]
extension_dir = "."
extension=php_curl.dll
extension=php_xxxx.dll
...

Thanks


Return to “Other Database Engines”

Who is online

Users browsing this forum: No registered users and 1 guest