小叮当的肚兜

Results 11 comments of 小叮当的肚兜

centos7.9 安装7.4版本的php 我装了好几次,都没有的. [install.log](https://github.com/oneinstack/oneinstack/files/6613349/install.log)

这是ubuntu21.04的 服务器版本,在虚拟机上也是没看到pecl命令 [install.log](https://github.com/oneinstack/oneinstack/files/6613772/install.log)

> systemctl restart php80-fpm 正常吗? 都是正常的 如果有时候升级失败了也会重启nginx和fpm.我觉得应该在升级成功后给用户一个选择是否要重启nginx,fpm 在安装多个版本的时候升级成功只会重启默认的那个php-fpm

> @laruence 大佬 有什么解决的办法吗 文档说了 我也是才发现 更新ini文件后,还要修改一下配置目录(yaconf.directory)的访问时间,eg: ```php touch('/tmp/php_yaconf'); ```

自己搭建的错误收集系统呗。以网页的形式展示查看,方便点嘛。

god ! this have to many error, how to deal with it? TypeError: Cannot read property 'prototype' of undefined at Object. (/home/node_modules/socket.io/lib/store.js:35:41) at Module._compile (module.js:569:30) at Object.Module._extensions..js (module.js:580:10) at Module.load...

I will do a simple test, using the microtime (true) function to calculate the difference, and replacing preg_replace_callback with cache in the createControllerByID function does indeed improve the calculation time,...

> Is there a significant performance boost with a cache in here? ```php $t1 = microtime(true); $className = Yii::$app->cache->getOrSet([Yii::$app->id,Yii::getAlias('@app'),'createControllerByID',$id],function () use($id){ $pos = strrpos($id, '/'); if ($pos === false) {...

> > The performance difference between using cache and not using cache is about 15 times, > > Do you have an actual benchmark? What is so slow in this...

> @easydowork could you provide the benchmark without cache vs few cache types? cheers I have never used a benchmark before, I will try it.