Comments (5)
my problem related with mbstring.func_overload
from docker-lamp.
I guess you didn't find the correct file path.
root@85e255a4d28e:/# find / -name php.ini
/etc/php/7.3/cli/php.ini
/etc/php/7.3/apache2/php.ini
from docker-lamp.
I've tried all of them. But no effect .....
from docker-lamp.
Well, it's strange.
I made this change in/etc/php/7.3/apache2/php.ini
,
[mbstring]
;mbstring.func_overload = 0
mbstring.func_overload = 7
Then restart apache2 service and open a phpinfo() page,
Directive | Local Value | Master Value |
---|---|---|
mbstring.func_overload | 7 | 7 |
Try to visit PHPMyAdmin but it returns 500 error. View error.log,
[Sun Apr 07 01:32:14.304573 2019] [php7:notice] [pid 768] [client 172.17.0.1:52644] PHP Fatal error: Uncaught UnexpectedValueException: Overloading of string functions using mbstring.func_overload is not supported by phpseclib. in /var/www/phpMyAdmin-4.8.5-all-languages/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php:11
Stack trace:
#0 /var/www/phpMyAdmin-4.8.5-all-languages/vendor/composer/autoload_real.php(66): require()
#1 /var/www/phpMyAdmin-4.8.5-all-languages/vendor/composer/autoload_real.php(56): composerRequirea28629400f69f0a1c61616c7b7ff5e01('decc78cc4436b12...', '/var/www/phpMyA...')
#2 /var/www/phpMyAdmin-4.8.5-all-languages/vendor/autoload.php(7): ComposerAutoloaderInita28629400f69f0a1c61616c7b7ff5e01::getLoader()
#3 /var/www/phpMyAdmin-4.8.5-all-languages/libraries/common.inc.php(91): require_once('/var/www/phpMyA...')
#4 /var/www/phpMyAdmin-4.8.5-all-languages/index.php(27): require_once('/var/www/phpMyA...')
#5 {main}
thrown in /var/www/phpMyAdmin-4.8.5-all-languages/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php on line 11
It seems that it has worked.
from docker-lamp.
well, I did and it works.
tried systemctl instead sevice
from docker-lamp.
Related Issues (20)
- chown: cannot read directory '/app': Permission denied HOT 7
- bind-address override not working if using docker-compose HOT 1
- Waiting for confirmation of MySQL service startup HOT 8
- Setting up the container inside WSL HOT 1
- php.ini resets when container restarts HOT 1
- PHP 8 will be installed on Ubuntu 18.04 HOT 1
- 000-default.conf + htaccess, rewrite HOT 6
- MySQL won't start HOT 6
- Noob mysql question
- SQL syntax error HOT 1
- Slow startup HOT 2
- Running on Synology with Portainer HOT 3
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) HOT 1
- Changing webserver port, mysql HOT 3
- Need ARM build target
- Gitlab CI connect to local MySQL server HOT 2
- commit save and restore HOT 1
- is port 443 functional? , I want to enable port 443, as i do? HOT 1
- "apache2 entered FATAL state, too many start retries too quickly" HOT 9
- ARM is now default. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-lamp.