Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : PHP7+ PECL installations



Threaded Mode | Print  

 PHP7+ PECL installations, Bad pahts configured (3 Replies, Read 511 times)
haxcop
Group: Member
Post Group: Newbie
Posts: 13
Status:
Hi Guys. I just want to let you know on your last update made to Webuzo the PHP PECL installations paths are incorrectly configured.

You are including php56 intead of the php73 as is shown in the output bellow. This also applies for php72 .

Code
sudo /usr/local/apps/php73/bin/pecl config-show
Configuration (channel pecl.php.net):
=====================================
Auto-discover new Channels    auto_discover    <not set>
Default Channel                default_channel  pecl.php.net
HTTP Proxy Server Address      http_proxy      <not set>
PEAR server [DEPRECATED]      master_server    pear.php.net
Default Channel Mirror        preferred_mirror pecl.php.net
Remote Configuration File      remote_config    <not set>
PEAR executables directory    bin_dir          /usr/local/apps/php73/bin
PEAR documentation directory  doc_dir          /usr/local/apps/php73/lib/php/doc
PHP extension directory        ext_dir          /usr/local/apps/php56/lib/extensions/no-debug-non-zts-20131226
PEAR directory                php_dir          /usr/local/apps/php73/lib/php
PEAR Installer cache directory cache_dir        /tmp/pear/cache
PEAR configuration file        cfg_dir          /usr/local/apps/php73/lib/php/cfg
directory
PEAR data directory            data_dir        /usr/local/apps/php73/lib/php/data
PEAR Installer download        download_dir    /tmp/pear/download
directory
Systems manpage files          man_dir          /usr/local/apps/php73/lib/php/local/man
directory
PEAR metadata directory        metadata_dir    <not set>
PHP CLI/CGI binary            php_bin          /usr/local/apps/php73/bin/php
php.ini location              php_ini          /usr/local/apps/php56/etc/php.d/extra.ini
--program-prefix passed to    php_prefix      /usr/local/apps/php56/bin/
PHP's ./configure
--program-suffix passed to    php_suffix      <not set>
PHP's ./configure
PEAR Installer temp directory  temp_dir        /tmp/pear/temp
PEAR test directory            test_dir        /usr/local/apps/php73/lib/php/test
PEAR www files directory      www_dir          /usr/local/apps/php73/lib/php/htdocs
Cache TimeToLive              cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                umask            22
Debug Log Level                verbose          1
PEAR password (for            password        <not set>
maintainers)
Signature Handling Program    sig_bin          /usr/bin/gpg
Signature Key Directory        sig_keydir      /usr/local/apps/php73/etc/pearkeys
Signature Key Id              sig_keyid        <not set>
Package Signature Type        sig_type        gpg
PEAR username (for            username        <not set>
maintainers)
User Configuration File        Filename        /root/.pearrc
System Configuration File      Filename        /usr/local/apps/php73/etc/pear.conf
IP: --   

PHP7+ PECL installations
haxcop
Group: Member
Post Group: Newbie
Posts: 13
Status:
on php72 points to php73

Code
sudo /usr/local/apps/php72/bin/pecl config-show
Configuration (channel pecl.php.net):
=====================================
Auto-discover new Channels    auto_discover    <not set>
Default Channel                default_channel  pecl.php.net
HTTP Proxy Server Address      http_proxy      <not set>
PEAR server [DEPRECATED]      master_server    pear.php.net
Default Channel Mirror        preferred_mirror pecl.php.net
Remote Configuration File      remote_config    <not set>
PEAR executables directory    bin_dir          /usr/local/apps/php72/bin
PEAR documentation directory  doc_dir          /usr/local/apps/php72/lib/php/doc
PHP extension directory        ext_dir          /usr/local/apps/php73/lib/extensions/no-debug-non-zts-20131226
PEAR directory                php_dir          /usr/local/apps/php72/lib/php
PEAR Installer cache directory cache_dir        /tmp/pear/cache
PEAR configuration file        cfg_dir          /usr/local/apps/php72/lib/php/cfg
directory
PEAR data directory            data_dir        /usr/local/apps/php72/lib/php/data
PEAR Installer download        download_dir    /tmp/pear/download
directory
Systems manpage files          man_dir          /usr/local/apps/php72/lib/php/local/man
directory
PEAR metadata directory        metadata_dir    <not set>
PHP CLI/CGI binary            php_bin          /usr/local/apps/php72/bin/php
php.ini location              php_ini          /usr/local/apps/php73/etc/php.d/extra.ini
--program-prefix passed to    php_prefix      /usr/local/apps/php73/bin/
PHP's ./configure
--program-suffix passed to    php_suffix      <not set>
PHP's ./configure
PEAR Installer temp directory  temp_dir        /tmp/pear/temp
PEAR test directory            test_dir        /usr/local/apps/php72/lib/php/test
PEAR www files directory      www_dir          /usr/local/apps/php72/lib/php/htdocs
Cache TimeToLive              cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                umask            22
Debug Log Level                verbose          1
PEAR password (for            password        <not set>
maintainers)
Signature Handling Program    sig_bin          /usr/bin/gpg
Signature Key Directory        sig_keydir      /usr/local/apps/php72/etc/pearkeys
Signature Key Id              sig_keyid        <not set>
Package Signature Type        sig_type        gpg
PEAR username (for            username        <not set>
maintainers)
User Configuration File        Filename        /root/.pearrc
System Configuration File      Filename        /usr/local/apps/php72/etc/pear.conf
IP: --   

PHP7+ PECL installations
haxcop
Group: Member
Post Group: Newbie
Posts: 13
Status:
php56 points to 72 - basically this was a REALLY BAD COPY PASTE from one of your team members

Code
Configuration (channel pecl.php.net):
=====================================
Auto-discover new Channels    auto_discover    <not set>
Default Channel                default_channel  pecl.php.net
HTTP Proxy Server Address      http_proxy      <not set>
PEAR server [DEPRECATED]      master_server    pear.php.net
Default Channel Mirror        preferred_mirror pecl.php.net
Remote Configuration File      remote_config    <not set>
PEAR executables directory    bin_dir          /usr/local/apps/php56/bin
PEAR documentation directory  doc_dir          /usr/local/apps/php56/lib/php/doc
PHP extension directory        ext_dir          /usr/local/apps/php72/lib/extensions/no-debug-non-zts-20131226
PEAR directory                php_dir          /usr/local/apps/php72/lib/php
PEAR Installer cache directory cache_dir        /tmp/pear/cache
PEAR configuration file        cfg_dir          /usr/local/apps/php56/lib/php/cfg
directory
PEAR data directory            data_dir        /usr/local/apps/php56/lib/php/data
PEAR Installer download        download_dir    /tmp/pear/download
directory
Systems manpage files          man_dir          /usr/local/apps/php56/lib/php/local/man
directory
PEAR metadata directory        metadata_dir    <not set>
PHP CLI/CGI binary            php_bin          /usr/local/apps/php56/bin/php
php.ini location              php_ini          /usr/local/apps/php72/etc/php.d/extra.ini
--program-prefix passed to    php_prefix      /usr/local/apps/php72/bin/
PHP's ./configure
--program-suffix passed to    php_suffix      <not set>
PHP's ./configure
PEAR Installer temp directory  temp_dir        /tmp/pear/temp
PEAR test directory            test_dir        /usr/local/apps/php56/lib/php/test
PEAR www files directory      www_dir          /usr/local/apps/php56/lib/php/htdocs
Cache TimeToLive              cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                umask            22
Debug Log Level                verbose          1
PEAR password (for            password        <not set>
maintainers)
Signature Handling Program    sig_bin          /usr/bin/gpg
Signature Key Directory        sig_keydir      /usr/local/apps/php56/etc/pearkeys
Signature Key Id              sig_keyid        <not set>
Package Signature Type        sig_type        gpg
PEAR username (for            username        <not set>
maintainers)
User Configuration File        Filename        /root/.pearrc
System Configuration File      Filename        /usr/local/apps/php56/etc/pear.conf
IP: --   

PHP7+ PECL installations
Dhanya
Group: Softaculous Team
Post Group: Working Newbie
Posts: 80
Status:
Hi,

Sorry for the delayed reply.

We have checked on our server and we found proper PHP paths set on executing the following command as root:
/usr/local/apps/php[ver]/bin/pecl config-show

It seems that updation was not done properly because of which you are getting PHP paths of PHP56 in PHP73, PHP73 in PHP72 and PHP72 in PHP56 versions respectively.

If you can open a support ticket with by visiting the given link, we will check the issue asap:
https://www.softaculous.com/support/

In the support ticket, please provide us with root SSH as well as control panel login details so that we can check the issue.

Let us know.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 23, 2019, 4:19 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.200