Jump to content

php function passthru disabled now no website???


Recommended Posts

Hi there, I just disabled the passthru php function as suggested in my admin dashboard.

BAM, website gone! Rebooting server still gone, add passthru back again and still no website.

Does anyone have any ideas? I'm I'm not blocked by the firewall as the site won't load on other devices or networks and I can still access my VPS and Cpanel 😬

SQL did have a crash and recovered.

Any help would be very much appreciated.

Cheers

Link to comment
Share on other sites

If your website isn't loading, you'll probably need to look through your error logs or inquire with your host unfortunately.

You can try creating a basic php script and see if that works

<?php

function printHelloWorld()
{
	print "Hello World";
}

printHelloWorld();
exit;

This will at least tell you if PHP itself is working. Make sure you're using a supported version of PHP. Possibly turn error display on temporarily, but at the very least make sure you are logging errors and restart your server, then check the error logs.

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...