convert a .php file to .dll

A

Anonymous

Guest
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
 
php and dil both are different file, according to my experience, we cant convert the files
 
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.
 
Back
Top