arshidkv12 / phpBolt

Best php encoder - free | Encrypt php source code
https://phpbolt.com
225 stars 49 forks source link

linux arm64 support? #28

Open yuritsuki opened 1 year ago

yuritsuki commented 1 year ago

Can you compile?

mainshooter commented 11 months ago

Also for M1 mac this would be great!

skodilkar commented 3 months ago

Is there any advice on compiling it? I am searching for arm 64 support.

arshidkv12 commented 3 months ago

Please connect me support@phpbolt.com I can share arm version.

skodilkar commented 3 months ago

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 Companyhttps://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 importanthttps://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 GitHubhttps://github.com/arshidkv12/phpBolt/issues/28#issuecomment-2024701742, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZSF46BM3E5KTW6KU3PXXX3Y2PLODAVCNFSM6AAAAAATQODJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUG4YDCNZUGI. You are receiving this because you commented.Message ID: @.***>

arshidkv12 commented 3 months ago

Please check it https://phpbolt.com/wp-content/uploads/2024/03/bolt-cross.zip

skodilkar commented 3 months ago

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 Companyhttps://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 importanthttps://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 GitHubhttps://github.com/arshidkv12/phpBolt/issues/28#issuecomment-2024823752, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZSF46HMBRQXGYUJ3UG7CODY2PTIDAVCNFSM6AAAAAATQODJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUHAZDGNZVGI. You are receiving this because you commented.Message ID: @.***>

skodilkar commented 3 months ago

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 Companyhttps://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 Companyhttps://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 importanthttps://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 GitHubhttps://github.com/arshidkv12/phpBolt/issues/28#issuecomment-2024823752, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZSF46HMBRQXGYUJ3UG7CODY2PTIDAVCNFSM6AAAAAATQODJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUHAZDGNZVGI. You are receiving this because you commented.Message ID: @.***>

arshidkv12 commented 3 months ago

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< https://github.com/arshidkv12/phpBolt/issues/28#issuecomment-2024823752>, 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 https://github.com/arshidkv12/phpBolt/issues/28#issuecomment-2024857096, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT5Y5OY6KPWFYCCFDEPEVTY2PVWNAVCNFSM6AAAAAATQODJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUHA2TOMBZGY . You are receiving this because you commented.Message ID: @.***>

skodilkar commented 3 months ago

Thank you. I'll be waiting for your reply.

Thank you.

arshidkv12 commented 3 months ago

Please check it https://phpbolt.com/wp-content/uploads/2024/03/bolt-arm.zip

skodilkar commented 3 months ago

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 1

arshidkv12 commented 3 months ago

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 https://github.com/arshidkv12/phpBolt/issues/28#issuecomment-2029223310, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT5Y5PDMQVKZITDWSNC5W3Y3D2ZDAVCNFSM6AAAAAATQODJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRZGIZDGMZRGA . You are receiving this because you commented.Message ID: @.***>

skodilkar commented 3 months ago

I checked for the opening tag and again tried to replace them. Still same. But strange, saw this message in encryption as "Encryption of /app/Services/@ files is not currently supported. These files will be copied without change." What may be the cause sir

arshidkv12 commented 3 months ago

Please check it https://phpbolt.com/wp-content/uploads/2024/04/php7.4-arm64.zip

skodilkar commented 3 months ago

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.

arshidkv12 commented 3 months ago

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 https://github.com/arshidkv12/phpBolt/issues/28#issuecomment-2029483995, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT5Y5IWWDBXKOFIVQ4SXRLY3ES7JAVCNFSM6AAAAAATQODJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRZGQ4DGOJZGU . You are receiving this because you commented.Message ID: @.***>

skodilkar commented 3 months ago

Hardware is the same Arm64-based system with the PHP 8.2 version installed in it.

skodilkar commented 3 months ago

Hi Arshid,

Did you get a chance to review the PHP 8.2 + Arm64-based hardware?

arshidkv12 commented 3 months ago

Please check it https://phpbolt.com/wp-content/uploads/2024/04/bolt-arm.zip

skodilkar commented 3 months ago

Its perfectly working Arshid. Thank you very much for the best solution.