Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 23:35:19

Author Topic: trouble with edit "ini_set" in php.ini  (Read 4384 times)

0 Members and 1 Guest are viewing this topic.

Offline klisa

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
trouble with edit "ini_set" in php.ini
« on: 2017-08-29, 08:38:38 »
hi
one of my sites got in trouble, and i should edit php.ini and set again "ini_set"
but i can't find it in kloxo panel,
advanced php configure seems does't have ini_set,
but how can i edit php.ini?
and how to edit ini_set?

Thanks in Advance

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: trouble with edit "ini_set" in php.ini
« Reply #1 on: 2017-08-29, 09:48:40 »
No setting for init_set by default by Kloxo-MR.

What's you want setting for init_set?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline klisa

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: trouble with edit "ini_set" in php.ini
« Reply #2 on: 2017-08-29, 12:48:06 »
i have joomla website, when i load home page, this error appear:

Error 500
PHP regular expression limit reached (pcre.backtrack_limit)

after i search about this error, i find that  ini_set must set same as:

ini_set('pcre.backtrack_limit',1000000);
ini_set('pcre.recursion_limit',1000000);

for this reason i should access to php.ini




Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: trouble with edit "ini_set" in php.ini
« Reply #3 on: 2017-08-29, 13:08:50 »
No, you need add:
Code: [Select]
<?php
ini_set
('pcre.backtrack_limit',1000000);
ini_set('pcre.recursion_limit',1000000);
?>

in top of index.php in document root.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.056 seconds with 19 queries.

web stats analysis