Archive
01月 2024
Showing 3 out of total 13
sed 替换带有反斜杠\内容的时候怎么写
竟然需要三个\\\反斜杠匹配,两个匹配不到?
sed -i "s|Form\\\FormModel|FormModel\\\FormModel|g" ./src/Admin/Form.php
替换当前目录下面所谓包含查找内容的文件
sed -i "s|Form\\\FormHydrator|FormModel\\\FormHydrator|g" `grep -rl "FormHydrator" ./`
sed -i "s|Form\\\FormModel|FormModel\\\FormModel|g" `grep -rl "FormModel" ./`
sed -i "s|Form\\\Field|FormModel\\\Field|g" `grep -rl "Field" ./`
PHP Warning: PHP Startup: Unable to load dynamic library 'sodium' (tried: /usr/lib64/php/modules/sodium (/usr/lib64/php/modules/sodium: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/sodium.so (/usr/lib64/php/modules/sodium.so: undefined symbol: crypto_core_ristretto255_sub)) in Unknown on line 0
how to slove Uncaught Exception: class \Protocols\Socket not exist
this error shows when i try to start gateway worker service with the command
php start.php start