Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter soufianejayden

    (@soufianejayden)

    Thread Starter soufianejayden

    (@soufianejayden)

    i think the problem comes out from facebook woocomerce plugins

    Thread Starter soufianejayden

    (@soufianejayden)

    i don’t understand you brother can you explain me ?

    Thread Starter soufianejayden

    (@soufianejayden)

    yeah i have access in my Cpanel the last time i edit something in file .htaccess
    and suddenly i got the error I use a lot of different way like i change name of plugins
    plugins-test and themes-test to try refresh page to see it work or not and still got the error i deleted the file .htaccess and i still got the error
    i increase the memory limit into wp-config.php
    i add php.ini with 256m memory limit inside folder wp-admin

    i download this file display_error.php from support and i didn’t know where error coming from

    it show me this

    <?
    $version = phpversion();
    if (preg_match(“/^5.2/” , $version))
    {
    $version = ‘5.2’;
    }

    if (preg_match(“/^5.3/” , $version))
    {
    $extension = ini_get(“extension_dir”);
    if (preg_match(“/\/usr\/local\/php53\/lib/” , $extension))
    {
    $version = ‘native’;
    }else{
    $version = ‘5.3’;
    }
    }

    if (preg_match(“/^5.4/” , $version))
    {
    $version = ‘5.4’;
    }

    if (preg_match(“/^5.5/” , $version))
    {
    $version = ‘5.5’;
    }

    if (preg_match(“/^5.6/” , $version))
    {
    $version = ‘5.6’;
    }

    if (preg_match(“/^7/” , $version))
    {
    $version = ‘7’;
    }

    if ($version !=”)
    {
    $phpini = file_get_contents(“http://byethost.org/$version/php.ini&#8221;);
    }else{
    die(“Could not get php version maybe pre php 5.2 ?”);
    }

    $cwd = getcwd();
    if ($cwd ==”)
    {
    die(“error getting current folder”);
    }

    $now = time();
    $backup_old_php_ini = copy(“$cwd/php.ini” , “$cwd/php.ini.$now”);
    $phpwrite = file_put_contents(“$cwd/php.ini” , $phpini);
    echo “Display errors has now been enabled for php version $version”;
    ?>

Viewing 4 replies - 1 through 4 (of 4 total)