بي. اتش. بى PHP files are scripts which are interpreted by php interpreter (php.exe in windows). بي. اتش. بى الملفات الكتابات التي تفسر بها بي. اتش. بى مترجم (php.exe في ويندوز). Converting them to exe files makes it easy to distribute PHP applications to Windows users. تحويلها الى ملفات اكس يجعل من السهل توزيع الطلبات بي. اتش. بى لمستخدمي ويندوز. Unfortunately Zend, the PHP company, doesn't provide a way to convert PHP scripts to Windows executables. ومما يؤسف له ان لغة فارسيه قديمة ، وشركة بي. اتش. بى ، لا توفر وسيلة لتحويل بي. اتش. بى مخطوطات لبرامج ويندوز. Today I am going to show you a simple way to convert your PHP scripts to regular Windows executable files (.exe). اليوم وانا ذاهب الى تبين لكم طريقة بسيطة لتحويل بي. اتش. بى الخاص بك الكتابات العاديه الى ملفات ويندوز للتنفيذ (. اكس). Not only that you can also convert an entire directory of PHP scripts and assign one of the files as the main file to execute first. ولم يقتصر الأمر على ذلك يمكنك ايضا تحويل كامل دليل بي. اتش. بى مخطوطات وتكليف احد الملفات الرئيسية على النحو الملف لتنفيذه اولا. Additionally the source files are encoded which not only improves the performance but also protects your source code. وبالاضافة الى مصدر الملفات التي يتم تحويلها ليس فقط في تحسين أداء ولكن ايضا تحمي شفره المصدر الخاصة بك. You can also set the icon for the file which is useful when you are distributing your PHP application as a stand-alone executable. يمكنك ايضا تحديد الرمز لملف امر مفيد عند توزيع بي. اتش. بى الخاص بك تطبيقها اعتبارا قائمة بذاتها للتنفيذ.

Bambalam -- اكس بي. اتش. بى الى محول Bambalam PHP EXE Compiler / Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications. بي. اتش. بي إكس المجمع / embedder هو سطر الاوامر الحرة اداة لتحويل بي. اتش. بى مستقل لتطبيقات ويندوز. التطبيقات اكس. The exe files produced are totally standalone with no need for php dlls etc. The php code is encoded using the Turck MMCache Encode library. وقد انتجت ملفات اكس مستقل تماما ولا حاجة لبي. اتش. بى بى. اتش. بى dlls وما هو قانون المشفره باستخدام turck mmcache تشفير المكتبه. It's a perfect solution if you want to distribute your application to Windows users while protecting your source code at the same time. أنه حل مثالي اذا كنت ترغب في توزيع طلبك لمستخدمي ويندوز الخاص بك مع حمايه شفره المصدر في الوقت نفسه. The converter is also suitable for producing .exe files for windowed PHP applications (created using, for example, the WinBinder library). المحول هو ايضا مناسبة للانتاج. نوافذ اكس بي. اتش. بى لملفات الطلبات (تم إنشاؤها باستخدام ، على سبيل المثال ، winbinder المكتبه). It's also good for making stand-alone PHP Socket servers/clients (using the php_sockets.dll extension). ولكنها ايضا جيدة لجعل قائمة بذاتها المقبس خدمة بي. اتش. بى / العملاء (باستخدام php_sockets.dll والارشاد).

It's NOT really a compiler in the sense that it doesn't produce native machine code from PHP sources, but it works! انها ليست فعلا في المجمع ، بمعنى انه لا ينتج الوطنية آلة بي. اتش. بى من مصادر القانون ، ولكنه يعمل! Currently, the converter uses a PHP runtime based on PHP 4.4.4. وفي الوقت الراهن ، يستخدم المحول وقت التشغيل على اساس بي. اتش. بى بى. اتش. بى 4.4.4.

The tool is free and open source. الاداه الحرة والمفتوحه المصدر.

Usage: الاستعمال :
bamcompile [-options] infile.php [outfile.exe] bamcompile [خيارات] infile.php [outfile.exe]
bamcompile [-options] project_directory mainfile.php [outfile.exe] bamcompile [خيارات] project_directory mainfile.php [outfile.exe]
bamcompile projectfile.bcp bamcompile projectfile.bcp

Options: خيارات :
-w Hide console window for windowed applications ث - اخفاء console نافذة لنوافذ التطبيقات
-c Compress output exe (using UPX) ج - ضغط الناتج اكس (باستخدام upx)
-d Do not encode PHP files د - لا تشفير ملفات بي. اتش. بى
-e:extension.dll Embed and use PHP extension - ه : extension.dll ترسيخ وتوسيع نطاق استخدام بي. اتش. بى
-i:icon.ico Add icon to exe - الاول : icon.ico اضافة الى ايقونه اكس

You can download it يمكنك تحميله here هنا .