Skip to content

Internal Server Error (error 500) #24

Open
@aldemarcalazans

Description

@aldemarcalazans

I used this software with Apache 2.4.6 and PHP 7.1, in CentOS 7 and it worked perfectly. However, I have tried to use it with Apache 2.4.37 and PHP 7.2, in Alma Linux 8, and it does not work, giving me the following error message:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

I found out that it occurs due the use of "php_flag" and "php_value" in .htaccess file, as described here: https://stackoverflow.com/questions/22858889/use-php-flag-in-htaccess. If I comment the .htaccess file, the error disappears

So, I ask you: is it possible to transfer these instructions to the script bench.php, using the function ini_set() ?

Regards,
Aldemar Calazans Filho

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions