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
open_basedir warning on import with PHP8 #16729
Comments
|
Thank you :) |
|
https://www.php.net/manual/en/migration80.incompatible.php // The @ operator will no longer silence fatal errors (E_ERROR, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR, E_RECOVERABLE_ERROR, E_PARSE). Error handlers that expect error_reporting to be 0 when @ is used, should be adjusted to use a mask check instead:
<?php
// Replace
function my_error_handler($err_no, $err_msg, $filename, $linenum) {
if (error_reporting() == 0) {
return false; // Silenced
}
// ...
}
// With
function my_error_handler($err_no, $err_msg, $filename, $linenum) {
if (!(error_reporting() & $err_no)) {
return false; // Silenced
}
// ...
}
?>from https://www.php.net/manual/en/migration80.incompatible.php |
|
Hi @Ayesh |
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
Please excuse the late reply. I had not installed phpMyAdmin from GIT until now. I have now made up for this, but now already get errors on every page. I need to see if I made a mistake here when installing from GIT |
In fact I made the changes on the QA_5_1 branch but you now can fetch the branch master, I just pushed the merge now |
|
Great. Thank you. Works |
|
Thank you for the information about |
Thank you very much ! |
When I use PHP8 I get this error when importing:
phpMyAdmin has version 5.1.0
When I switch to PHP7.4 it works without error
The text was updated successfully, but these errors were encountered: