I am new here. My first question / request is about PEAR2 / pyrus.phar.
I get an exception on this command (when I type it on the Command Prompt):
php pyrus.phar
Exception:
PyrusXMLParserException: Invalid XML document PyrusXMLParserException: Line 2: Element '{http://pear2.php.net/dtd/customcommand-2.0}commands', attribute 'version': The value '(null)' does not match the fixed value constraint '2.0'.
My Configuration:
Windows 10 PHP 7.0.8
If I use PHP 7.0.2 it works for me. After many trials I figured out that these two files involved in it:
- php7.dll Non Thread Safe
- php7ts.dll Thread Safe
If I replace the php7.dll
from PHP 7.0.8 with the file from PHP 7.0.2 or the php7ts.dll
from PHP 7.0.8 with the file from PHP 7.0.2 it works.
Thank you for your effort.
Best regards
rikku47
PS: If you need more information, just ask. I do not know, what is important too.
Additonal:
PEAR Version 1.10.1 achieved with the command: pear version
on the Command Prompt.
PEAR2 / pyrus.phar Version 2.0.0a4 achieved with the command: pyrus.phar
on the Command Prompt. Yes here it works with the installation with PHP 7.0.2. link
It works with PHP 7.0.7 too.
Update: After a reinstall of Windows 10 it happens again.