convert a .php file to .dll

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

Moderators: egami, macek, gesf

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

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: 14
Joined: Tue Jul 12, 2016 3:43 am
Location: United Kingdom
Contact:

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: 622
Joined: Fri Aug 05, 2011 9:53 am

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: 14
Joined: Tue Jul 12, 2016 3:43 am
Location: United Kingdom
Contact:

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

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests