set time_limit nicht erlaubt

  • Moin Zusammen,


    ich versuche ein Panel zu installieren und benötige dafür die Erlaubnis, set time_limit setzen zu können.
    Angeblich ist dies nicht erlaubt bzw. nicht konfigurierbar .. in den disable_functions steht aber nichts von set_time_limit.
    Hat einer eine Idee, welche Ristrektion hier noch zieht?


    Gruß
    Sven

  • Schau doch mal in die php.ini rein. Nur die wichtigsten Variablen sind mom vom Panel aus editierbar.

  • Dort bin ich nicht fündig geworden. Über die disabled_functions könnte man die Funktion verbieten, nur wie geschrieben, ist die Funktion dort nicht hinterlegt, daher verstehe ich es auch nicht.


    Gesendet von meinem HTC One_M8 mit Tapatalk

  • Du hast dir die ini und conf-Dateien unter /etc/php5/ glaube genauer (/etc/php5/apache2) wirklich angeschaut?


    PS: in den Dateien darf man auch Parameter setzen, sofern nicht vorhanden^^
    PS²: alle Änderungen dort müssten bei einem imscp-Update überschrieben werden.

  • Hello ;


    If you are using ITK, you must edit the apache vhost file to allow your PHP scripts to set the max_execution_time directive by using the ini_set() function because, for safety reasons, we have set it with php_admin_value instead of php_value. As stated in the PHP documentation, when a value is set with php_admin_value in a vhost file, this value cannot be overridden. Normally the max_execution_time directive can be set using the ini_set() function but here, due to the restriction as explained before, this will not have any effect. You must so change php_admin_value by php_value in the related apache vhost file and restart Apache. Once it's done, your PHP scripts will be able to override the time limit using the ini_set() function or the set_time_limit() function without any restriction ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @SventeHof


    10 points only ?( It's a shame. It's even worse than the score that we obtained at the EUROVISION (CHUCKLES) :D

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206