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

User avatar
maxgadgetuk
New php-forum User
New php-forum User
Posts: 16
Joined: Tue Jul 12, 2016 3:43 am
Location: United Kingdom
Contact:

Re: convert a .php file to .dll

Postby maxgadgetuk » Tue Jul 12, 2016 10:17 pm

php and dil both are different file, according to my experience, we cant convert the files

NigelRen
php-forum Fan User
php-forum Fan User
Posts: 538
Joined: Fri Aug 05, 2011 9:53 am

Re: convert a .php file to .dll

Postby NigelRen » Fri Jul 15, 2016 1:54 am

It would be as much work as having to rewrite it in C/C++ from scratch. As mentioned in one of the other posts, it would be easier to set up PHP to run somewhere locally and do it that way.

User avatar
maxgadgetuk
New php-forum User
New php-forum User
Posts: 16
Joined: Tue Jul 12, 2016 3:43 am
Location: United Kingdom
Contact:

Re: convert a .php file to .dll

Postby maxgadgetuk » Tue Aug 30, 2016 1:45 am

i'm new in the field and i cant understand, how i can modify or read dll file

________________
Casio G Shock Watches UK


Return to “Other Database Engines”

Who is online

Users browsing this forum: No registered users and 0 guests