Skip to content
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

FEAT: Add additional PHP ext checks #200

Open
seanvree opened this issue Feb 23, 2019 · 0 comments
Open

FEAT: Add additional PHP ext checks #200

seanvree opened this issue Feb 23, 2019 · 0 comments

Comments

@seanvree
Copy link
Member

seanvree commented Feb 23, 2019

  • Add requred extension:

extension=openssl

  • Add write permissions check:

assets/php/phpinfo.php

    ini_set('error_reporting', E_ERROR);

    echo "<center>";

    echo " <strong> Required Extensions: </strong> ";

    $myfile = fopen('php-perms-check.txt', 'w');

    if (!$myfile) {
        echo " <a class='extfail' href='https://github.com/Monitorr/Monitorr/wiki/01-Config:--Initial-configuration' target='_blank' title='Write permissions FAIL'>";
            echo "Perms";
        echo "</a>";
    } else {
        echo " <div class='extok' title='Write permissions OK' >";
            echo "Perms";
        echo "</div>";
        fwrite($myfile, "PHP write permissions OK");
        fclose($myfile);
    }
@seanvree seanvree self-assigned this Feb 23, 2019
@seanvree seanvree changed the title FEAT: Add write permissions check FEAT: Add additional PHP ext checks Feb 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant