-
Notifications
You must be signed in to change notification settings - Fork 51
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
linux arm64 support? #28
Comments
Also for M1 mac this would be great! |
Is there any advice on compiling it? |
Please connect me support@phpbolt.com I can share arm version. |
Dear Support,
I'm using the Bolt extension for one of my small applications developed in Laravel 8. I tried using your extension for Ubuntu 22.04 with x86 architecture and its working awesome. Thanks for this.
But when I'm trying it on arm64-based hardware it's not running. So can you please provide me bolt so files for the same?
Awaiting for your response.
…-------------------------------------------------------------------------------------------------------------------------------
Thanks & Regards,
Sameer Kodilkar
Lead Developer
Griffyn Robotech Pvt. Ltd. - A Phoenix Group Company<https://in.linkedin.com/company/griffynrobotech>
-------------------------------------------------------------------------------------------------------------------------------
________________________________
From: Arshid ***@***.***>
Sent: Thursday, March 28, 2024 2:27 PM
To: arshidkv12/phpBolt ***@***.***>
Cc: Sameer Kodilkar ***@***.***>; Comment ***@***.***>
Subject: Re: [arshidkv12/phpBolt] linux arm64 support? (Issue #28)
You don't often get email from ***@***.*** Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Please connect me ***@***.******@***.***> I can share arm version.
—
Reply to this email directly, view it on GitHub<#28 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AZSF46BM3E5KTW6KU3PXXX3Y2PLODAVCNFSM6AAAAAATQODJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUG4YDCNZUGI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Please check it https://phpbolt.com/wp-content/uploads/2024/03/bolt-cross.zip |
Thank you for quick response.
I've copied bolt.so file and moved to the location. But when I'm trying to run the encrypted file via cli, I'm getting following error.
PHP Warning: PHP Startup: bolt: Unable to initialize module
Module compiled with module API=20230831
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
PHP Fatal error: Uncaught Error: Call to undefined function bolt_decrypt() in /var/www/html/bolt.php:6
Stack trace:
#0 {main}
thrown in /var/www/html/bolt.php on line 6
Can you please advice?
I am using php 7.4 and in /usr/lib/php/20190902 directory bolt.so file is stored. As I dont have "20230831" this directory.
…-------------------------------------------------------------------------------------------------------------------------------
Thanks & Regards,
Sameer Kodilkar
Lead Developer
Griffyn Robotech Pvt. Ltd. - A Phoenix Group Company<https://in.linkedin.com/company/griffynrobotech>
-------------------------------------------------------------------------------------------------------------------------------
________________________________
From: Arshid ***@***.***>
Sent: Thursday, March 28, 2024 3:33 PM
To: arshidkv12/phpBolt ***@***.***>
Cc: Sameer Kodilkar ***@***.***>; Comment ***@***.***>
Subject: Re: [arshidkv12/phpBolt] linux arm64 support? (Issue #28)
You don't often get email from ***@***.*** Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Please check it https://phpbolt.com/wp-content/uploads/2024/03/bolt-cross.zip
—
Reply to this email directly, view it on GitHub<#28 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AZSF46HMBRQXGYUJ3UG7CODY2PTIDAVCNFSM6AAAAAATQODJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUHAZDGNZVGI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Got the clue.
The file provided is compiled using PHP 8.3. Can you please provide me with files for PHP 7.4 and PHP 8.2 versions?
…-------------------------------------------------------------------------------------------------------------------------------
Thanks & Regards,
Sameer Kodilkar
Lead Developer
Griffyn Robotech Pvt. Ltd. - A Phoenix Group Company<https://in.linkedin.com/company/griffynrobotech>
-------------------------------------------------------------------------------------------------------------------------------
________________________________
From: Sameer Kodilkar ***@***.***>
Sent: Thursday, March 28, 2024 3:51 PM
To: arshidkv12/phpBolt ***@***.***>
Subject: Re: [arshidkv12/phpBolt] linux arm64 support? (Issue #28)
Thank you for quick response.
I've copied bolt.so file and moved to the location. But when I'm trying to run the encrypted file via cli, I'm getting following error.
PHP Warning: PHP Startup: bolt: Unable to initialize module
Module compiled with module API=20230831
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
PHP Fatal error: Uncaught Error: Call to undefined function bolt_decrypt() in /var/www/html/bolt.php:6
Stack trace:
#0 {main}
thrown in /var/www/html/bolt.php on line 6
Can you please advice?
I am using php 7.4 and in /usr/lib/php/20190902 directory bolt.so file is stored. As I dont have "20230831" this directory.
-------------------------------------------------------------------------------------------------------------------------------
Thanks & Regards,
Sameer Kodilkar
Lead Developer
Griffyn Robotech Pvt. Ltd. - A Phoenix Group Company<https://in.linkedin.com/company/griffynrobotech>
-------------------------------------------------------------------------------------------------------------------------------
________________________________
From: Arshid ***@***.***>
Sent: Thursday, March 28, 2024 3:33 PM
To: arshidkv12/phpBolt ***@***.***>
Cc: Sameer Kodilkar ***@***.***>; Comment ***@***.***>
Subject: Re: [arshidkv12/phpBolt] linux arm64 support? (Issue #28)
You don't often get email from ***@***.*** Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Please check it https://phpbolt.com/wp-content/uploads/2024/03/bolt-cross.zip
—
Reply to this email directly, view it on GitHub<#28 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AZSF46HMBRQXGYUJ3UG7CODY2PTIDAVCNFSM6AAAAAATQODJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUHAZDGNZVGI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
I will check it (Sorry.. not now)
…On Thu, Mar 28, 2024 at 3:54 PM skodilkar ***@***.***> wrote:
Got the clue.
The file provided is compiled using PHP 8.3. Can you please provide me
with files for PHP 7.4 and PHP 8.2 versions?
-------------------------------------------------------------------------------------------------------------------------------
Thanks & Regards,
Sameer Kodilkar
Lead Developer
Griffyn Robotech Pvt. Ltd. - A Phoenix Group Company<
https://in.linkedin.com/company/griffynrobotech>
-------------------------------------------------------------------------------------------------------------------------------
________________________________
From: Sameer Kodilkar ***@***.***>
Sent: Thursday, March 28, 2024 3:51 PM
To: arshidkv12/phpBolt ***@***.***>
Subject: Re: [arshidkv12/phpBolt] linux arm64 support? (Issue #28)
Thank you for quick response.
I've copied bolt.so file and moved to the location. But when I'm trying to
run the encrypted file via cli, I'm getting following error.
PHP Warning: PHP Startup: bolt: Unable to initialize module
Module compiled with module API=20230831
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
PHP Fatal error: Uncaught Error: Call to undefined function bolt_decrypt()
in /var/www/html/bolt.php:6
Stack trace:
#0 {main}
thrown in /var/www/html/bolt.php on line 6
Can you please advice?
I am using php 7.4 and in /usr/lib/php/20190902 directory bolt.so file is
stored. As I dont have "20230831" this directory.
-------------------------------------------------------------------------------------------------------------------------------
Thanks & Regards,
Sameer Kodilkar
Lead Developer
Griffyn Robotech Pvt. Ltd. - A Phoenix Group Company<
https://in.linkedin.com/company/griffynrobotech>
-------------------------------------------------------------------------------------------------------------------------------
________________________________
From: Arshid ***@***.***>
Sent: Thursday, March 28, 2024 3:33 PM
To: arshidkv12/phpBolt ***@***.***>
Cc: Sameer Kodilkar ***@***.***>; Comment ***@***.***>
Subject: Re: [arshidkv12/phpBolt] linux arm64 support? (Issue #28)
You don't often get email from ***@***.*** Learn why this is important<
https://aka.ms/LearnAboutSenderIdentification>
CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know
the content is safe.
Please check it
https://phpbolt.com/wp-content/uploads/2024/03/bolt-cross.zip
—
Reply to this email directly, view it on GitHub<
#28 (comment)>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AZSF46HMBRQXGYUJ3UG7CODY2PTIDAVCNFSM6AAAAAATQODJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUHAZDGNZVGI>.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABT5Y5OY6KPWFYCCFDEPEVTY2PVWNAVCNFSM6AAAAAATQODJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUHA2TOMBZGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thank you. Thank you. |
Please check it https://phpbolt.com/wp-content/uploads/2024/03/bolt-arm.zip |
It is php opening tag issue. Please check it "<?php".
…On Mon, 1 Apr 2024, 11:39 am skodilkar, ***@***.***> wrote:
Thank you Arshid for sharing. I tried using it and have the following
observations.
1. Code encryption is working fine with the given bolt file on Arm +
PHP 7.4.
2. But when I'm trying to run PHP artisan commands in terminal I am
getting PHP source code displayed in the terminal due to which in browser
PHP file code (unencrypted one) is showing. Please check the screenshot.
Can you please advice?
Also, I've run encryption on arm based device itself to check for any
issues. So both ways Ubuntu x86 files and arm 64 encrypted files showing
the same error.
2.png (view on web)
<https://github.com/arshidkv12/phpBolt/assets/107241080/20f63a6c-d869-4c5e-a8d4-7c1670a82cce>
1.png (view on web)
<https://github.com/arshidkv12/phpBolt/assets/107241080/42e39da7-53af-474d-9730-3566002c45d1>
—
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABT5Y5PDMQVKZITDWSNC5W3Y3D2ZDAVCNFSM6AAAAAATQODJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRZGIZDGMZRGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I checked for the opening tag and again tried to replace them. Still same. |
Please check it https://phpbolt.com/wp-content/uploads/2024/04/php7.4-arm64.zip |
Perfect, it worked. Great thank you for the quick fix sir. Thank you again. |
Please give me details about your hardware.
…On Mon, 1 Apr 2024, 3:05 pm skodilkar, ***@***.***> wrote:
Perfect, it worked. Great thank you for the quick fix sir.
Just a small favor to provide me the same for PHP 8.2 version also.
Earlier you provided for PHP8.3 Arm 64 support.
Thank you again.
—
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABT5Y5IWWDBXKOFIVQ4SXRLY3ES7JAVCNFSM6AAAAAATQODJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRZGQ4DGOJZGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hardware is the same Arm64-based system with the PHP 8.2 version installed in it. |
Hi Arshid, Did you get a chance to review the PHP 8.2 + Arm64-based hardware? |
Please check it https://phpbolt.com/wp-content/uploads/2024/04/bolt-arm.zip |
Its perfectly working Arshid. Thank you very much for the best solution. |
I need phpbolt for php7.0-arm64, Could you compile it again @arshidkv12 ? Thank's |
Can you compile?
The text was updated successfully, but these errors were encountered: