pppplus
Verified User
- Joined
- Dec 19, 2008
- Messages
- 524
Hi
I've a problem
I've PHP 7 (+ PHP 5.6) installed.
I need to use pear, but I've a problem with PHP 7.
I suppose I should use PEAR installed in /usr/local/php70/lib/php/PEAR, but how to change pear path ?
Is there a file to do this ?
I can't use
(same error as before)
I try to add the path in php.ini, but nothing change.
Have you a solution ?
Thanks
Hubert
I've a problem
I've PHP 7 (+ PHP 5.6) installed.
I need to use pear, but I've a problem with PHP 7.
PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /usr/local/lib/php/PEAR/Frontend.php on line 91
I suppose I should use PEAR installed in /usr/local/php70/lib/php/PEAR, but how to change pear path ?
Is there a file to do this ?
I can't use
Code:
pear config-set php_dir /usr/local/php70/lib/php
I try to add the path in php.ini, but nothing change.
Have you a solution ?
Thanks
Hubert