Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check/difference PHP Version? #11

Open
stefanwerfling opened this issue Feb 22, 2019 · 3 comments
Open

Check/difference PHP Version? #11

stefanwerfling opened this issue Feb 22, 2019 · 3 comments

Comments

@stefanwerfling
Copy link

I have create on difference Server to Docker container with PHP7. On server 1 create php bytecode and copy all to Server 2 Docker Container. The Ngnix on Server 2 write to Log: nginx errors “recv() failed (*: Connection reset by peer) while reading response header from upstream”

When i create new php bytecode on Server 2 it works.

Server 1:
PHP Version 7.2.15-1+020190209065123.16+stretch1.gbp3ad8c0
Linux ba379afcdad3 3.19.0-74-generic #82~14.04.1-Ubuntu SMP Fri Oct 21 15:43:47 UTC 2016 x86_64

Server 2:
PHP Version 7.2.15-1+020190209065123.16+stretch1.gbp3ad8c0
Linux afccfcb416d6 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64

How i/to can fix this problem/check difference version? Is there workaround? I want create on my server bytecode and share to customers.

Can you help me?

@vjardin
Copy link
Owner

vjardin commented May 22, 2019

There are some knows issues when compilation/execution environment are changed. It needs to be analyzed and fixed. Your contributions are welcomed on this topic.

@ghost
Copy link

ghost commented Aug 19, 2019

There are some knows issues when compilation/execution environment are changed. It needs to be analyzed and fixed. Your contributions are welcomed on this topic.

Just say it right:
It's requires check on HashTable differences between two php versions.
Any extension, function, constant registering order changes causing incompatibility.

@stefanwerfling
Copy link
Author

Perhaps a check function would be possible in the extentsion with which you can check whether you can run the file (hash sum from the header with hash sum from the PHP register (environment parameters such as CPU, functions, etc.)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants