php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #70485 Compile .php code into binary
Submitted: 2015-09-14 01:14 UTC Modified: 2016-06-23 18:33 UTC
From: minhnguyenerp at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 7.0.0RC2 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: minhnguyenerp at gmail dot com
New email:
PHP Version: OS:

 

 [2015-09-14 01:14 UTC] minhnguyenerp at gmail dot com
Description:
------------
If this feature available in PHP7, applications can be distributed as a standalone solution to the end users.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-09-14 15:18 UTC] sathya at laufers dot net
Hey,

that is possible already through the PHP embed library or by writing a PHP module. Your "scripts" need to be written in C or C++ though... 

Cheers,

Sathya
 [2015-09-25 10:08 UTC] deepak dot vasudevan at outlook dot com
There is an open source project called phc. Check out http://www.phpcompiler.org/
 [2015-10-20 07:28 UTC] ryan dot jentzsch at gmail dot com
This already kind of exists: http://php.net/manual/en/intro.bcompiler.php
Don't bother with phc it hasn't been updated since 2013.
You can look into hack and HHVM
 [2015-11-17 01:58 UTC] ileadu at gmail dot com
https://pecl.php.net/package/BLENC
Try this.
 [2016-06-23 18:33 UTC] dsp@php.net
-Status: Open +Status: Not a bug
 [2016-06-23 18:33 UTC] dsp@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

There are projects who try to achieve this, like .phar files, which you can rely on.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 17:01:29 2024 UTC