Coding Global Background
Coding Global

PHP Crash

Archived 2 months ago
3 messages
2 members
2 years ago
Open in Discord
D
Dark_Pizza

Hello everyone <a:Wumpus_Wave:1033537138555359252> I'm having a problem with my code that I have no idea what to do with... I have no experience in PHP. Basically, I'm programming a module for WHMCS in PHP that will make a CURL connection to my backend on a VPS, which has port :8080. However, when this module is executed, the site's PHP crashes and I have to restart everything, but this only happens when I'm using port :8080, or any other, such as :3000, etc... If I remove this port, PHP no longer crashes... But I need to use this port because :80 is already being used on my VPS. The problem is not in WHMCS, it executes the code correctly when the ticket is created in TicketOpen, the problem is that CURL is executed, my backend receives the POST normally and then it crashes I'm using PHP 7.4 in my WHMCS Code: https://paste.senior-studios.com/sopirovora.php

Replies (3)