PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, February 23, 2022

[FIXED] Why mbstring extension is missing?

 February 23, 2022     php, phpmyadmin     No comments   

Issue

Im trying to increase max execution time of PHP script with line

ini_set('max_execution_time', 90000);

In "php.ini" file, but after I restart server I got error in PHPMyAdmin "mbstring extension is missing". If I comment line with "ini_set" PHPMyAdmin works fine.

So, why mbstring extension stop working?


Solution

php.ini is a configuration file, not a script, so you cannot run code from it. When you attempt to fill it with PHP source code you break the file so PHP starts with its compiled-in defaults, which do not include mbstring.

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 30


Answered By - Álvaro González
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing