Установка Pear в Windows XAMPP PHP 8.1.10 ⇐ Php
Установка Pear в Windows XAMPP PHP 8.1.10
As I was following the instructions on how to install PEAR from the official [manual,][1] and got this error:
Fatal error: Uncaught Error: Failed opening required 'phar://go-pear.phar/index.php' (include_path='C:\xampp_latest\php\PEAR') in C:\xampp_latest\php\go-pear.phar:1284 Stack trace: #0 {main} thrown in C:\xampp_latest\php\go-pear.phar on line 1284
I tried looking for other solutions and found [this][2]. However, I still couldn't install pear and still get this error:
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp_latest\php\go-pear.php on line 1182.
I tried the installation via webbased and command line, but got the same error.
Just another update.. I went ahead and searched even more and got to this: link So I tried to change the curly braces into square brackets from different files as suggested from the errors, and at the end, I got this error:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function error_handler(), 4 passed and exactly 5 expected in C:\xampp_latest\php\pear\pearcmd.php:446 Stack trace: #0 [internal function]: error_handler(8192, 'trim(): Passing...', 'C:\\xampp_latest...', 152) #1 C:\xampp_latest\php\pear\PEAR\XMLParser.php(152): trim(NULL) #2 C:\xampp_latest\php\pear\PEAR\XMLParser.php(166): PEAR_XMLParser->postProcess(NULL, 'options') #3 [internal function]: PEAR_XMLParser->endHandler(Object(XMLParser), 'options') #4 C:\xampp_latest\php\pear\PEAR\XMLParser.php(102): xml_parse(Object(XMLParser), '
Источник: https://stackoverflow.com/questions/741 ... php-8-1-10
As I was following the instructions on how to install PEAR from the official [manual,][1] and got this error:
Fatal error: Uncaught Error: Failed opening required 'phar://go-pear.phar/index.php' (include_path='C:\xampp_latest\php\PEAR') in C:\xampp_latest\php\go-pear.phar:1284 Stack trace: #0 {main} thrown in C:\xampp_latest\php\go-pear.phar on line 1284
I tried looking for other solutions and found [this][2]. However, I still couldn't install pear and still get this error:
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp_latest\php\go-pear.php on line 1182.
I tried the installation via webbased and command line, but got the same error.
Just another update.. I went ahead and searched even more and got to this: link So I tried to change the curly braces into square brackets from different files as suggested from the errors, and at the end, I got this error:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function error_handler(), 4 passed and exactly 5 expected in C:\xampp_latest\php\pear\pearcmd.php:446 Stack trace: #0 [internal function]: error_handler(8192, 'trim(): Passing...', 'C:\\xampp_latest...', 152) #1 C:\xampp_latest\php\pear\PEAR\XMLParser.php(152): trim(NULL) #2 C:\xampp_latest\php\pear\PEAR\XMLParser.php(166): PEAR_XMLParser->postProcess(NULL, 'options') #3 [internal function]: PEAR_XMLParser->endHandler(Object(XMLParser), 'options') #4 C:\xampp_latest\php\pear\PEAR\XMLParser.php(102): xml_parse(Object(XMLParser), '
Источник: https://stackoverflow.com/questions/741 ... php-8-1-10
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
PEAR Почтовая программа не найдена? - Не удалось открыть требуемый «Mail.php».
Anonymous » » в форуме Php - 0 Ответы
- 26 Просмотры
-
Последнее сообщение Anonymous
-