Missing PHP cli in ZS9 on Linux

General discussion forum for the Zend Server

Missing PHP cli in ZS9 on Linux

Postby arek1115 on Tue May 02, 2017 2:08 pm

Installed ZS 9, but do not see the cli version of the binary in the bin folder.
Is there an option to do this during installation ?

[08:57:48]:[/usr/local/zend/bin]
$ ls -l
total 59652
lrwxrwxrwx. 1 root root 22 Feb 27 11:58 apachectl -> /etc/rc.d/init.d/httpd
-rwxr-xr-x. 1 root root 1902 Feb 8 11:39 clean_semaphores .sh
-rwxr-xr-x. 1 root root 978 Sep 7 2016 create_cert .sh
-rwxr-xr-x. 1 root root 448 Feb 8 11:39 extract_meta_data .sh
-rwxr-xr-x. 1 root root 5681 Feb 8 11:38 gui_passwd .php
-rwxr-xr-x. 1 root root 979 May 20 2014 java_bridge .sh
-rwxr-xr-x. 1 root root 29096 May 20 2014 javamw .jar
-rwxr-xr-x. 1 root root 5506748 Feb 8 11:38 jqd
-rwxr-xr-x. 1 root root 843 Feb 8 11:39 jqd .sh
-rwxr-xr-x. 1 root root 2938 Sep 7 2016 lighttpdctl .sh
-rwxr-xr-x. 1 root root 4724004 Feb 8 11:38 MonitorNode
-rwxr-xr-x. 1 root root 1294 Feb 8 11:39 monitor-node .sh
-rwxr-xr-x. 1 root root 851 Jan 24 07:40 pear
-rwxr-xr-x. 1 root root 872 Jan 24 07:40 peardev
-rwxr-xr-x. 1 root root 802 Jan 24 07:40 pecl
-rwxr-xr-x. 1 root root 6815115 Jan 24 07:40 php-cgi
-rwxr-xr-x. 1 root root 2959 Jan 24 07:40 php-config
-rwxr-xr-x. 1 root root 7032379 Jan 24 07:40 phpdbg
-rwxr-xr-x. 1 root root 10864411 Jan 19 11:05 php-fpm
-rwxr-xr-x. 1 root root 2398 Jan 24 07:40 php-fpm .sh
-rwxr-xr-x. 1 root root 4539 Jan 24 07:40 phpize
-rwxr-xr-x. 1 root root 4119684 Feb 8 11:38 scd
-rwxr-xr-x. 1 root root 860 Feb 8 11:39 scd .sh
-rwxr-xr-x. 1 root root 1092 May 20 2014 setup_jb .sh
-rwxr-xr-x. 1 root root 5431 Feb 8 11:39 shell_functions .rc
-rwxr-xr-x. 1 root root 2111 Feb 8 11:39 support_tool .sh
-rwxr-xr-x. 1 root root 2544 Feb 8 11:39 uninstall .sh
-rwxr-xr-x. 1 root root 2017740 Feb 8 11:38 watchdog
-rwxr-xr-x. 1 root root 6231828 Feb 8 11:38 zdd
-rwxr-xr-x. 1 root root 765 Feb 8 11:39 zdd .sh
-rwxr-xr-x. 1 root root 5247012 Feb 8 11:38 zdpack
-rwxr-xr-x. 1 root root 8777 Feb 8 11:39 zendctl .sh
-rwxr-xr-x. 1 root root 1874028 Feb 8 11:38 ZManifest
-rwxr-xr-x. 1 root root 20132 Feb 8 11:38 zmd
-rwxr-xr-x. 1 root root 382 Feb 8 11:39 zs-client .sh
-rwxr-xr-x. 1 root root 6342580 Feb 8 11:38 zsd
-rwxr-xr-x. 1 root root 781 Feb 8 11:39 zsd .sh
-rwxr-xr-x. 1 root root 815 Feb 8 11:38 zs-manage
arek1115
 
Posts: 5
Joined: Tue Oct 07, 2014 1:41 pm

Re: Missing PHP cli in ZS9 on Linux

Postby zvika on Thu May 04, 2017 10:35 am

Hello - thank you for your report.
I see php-fpm so I tried to install fresh Zend Server 9.1 with NginX on Ubuntu with the Linux installer
[UPDATE] - if you're using RPM, can you update all SELinux packages before installing Zend Server?

Code: Select all
# ZendServer-RepositoryInstaller-linux/install_zs.sh 7.1 nginx


ls -la /usr/local/zend/bin
total 89744
drwxr-xr-x 2 root root 4096 May 4 12:30 .
drwxr-xr-x 11 root root 4096 May 4 12:30 ..
-rwxr-xr-x 1 root root 1902 Oct 27 2011 clean_semaphores.sh
-rwxr-xr-x 1 root root 978 Jul 20 2010 create_cert.sh
-rwxr-xr-x 1 root root 448 Dec 27 2009 extract_meta_data.sh
-rwxr-xr-x 1 root root 5681 Apr 4 17:36 gui_passwd.php
-rwxr-xr-x 1 root root 9038111 Apr 4 17:36 jqd
-rwxr-xr-x 1 root root 843 Jan 30 2011 jqd.sh
-rwxr-xr-x 1 root root 2938 Aug 10 2016 lighttpdctl.sh
-rwxr-xr-x 1 root root 8091463 Apr 4 17:36 MonitorNode
-rwxr-xr-x 1 root root 1294 Oct 25 2012 monitor-node.sh
lrwxrwxrwx 1 root root 17 Apr 4 18:09 nginxctl.sh -> /etc/init.d/nginx
-rwxr-xr-x 1 root root 851 Mar 19 15:34 pear
-rwxr-xr-x 1 root root 872 Mar 19 15:34 peardev
-rwxr-xr-x 1 root root 802 Mar 19 16:03 pecl
-rwxr-xr-x 1 root root 7066476 Mar 19 15:35 php
-rwxr-xr-x 1 root root 7013476 Mar 19 15:35 php-cgi
-rwxr-xr-x 1 root root 2880 Mar 19 16:03 php-config
-rwxr-xr-x 1 root root 7247156 Mar 19 15:35 phpdbg
-rwxr-xr-x 1 root root 10589268 Mar 19 15:38 php-fpm
-rwxr-xr-x 1 root root 2528 Mar 19 16:03 php-fpm.sh
-rwxr-xr-x 1 root root 4564 Mar 19 15:34 phpize
-rwxr-xr-x 1 root root 7342879 Apr 4 17:36 scd
-rwxr-xr-x 1 root root 860 Jan 30 2011 scd.sh
-rw-r--r-- 1 root root 5431 Feb 7 2016 shell_functions.rc
-rwxr-xr-x 1 root root 2111 Mar 2 2016 support_tool.sh
-rwxr-xr-x 1 root root 2544 Aug 28 2016 uninstall.sh
-rwxr-xr-x 1 root root 4179943 Apr 4 17:36 watchdog
-rwxr-xr-x 1 root root 9709887 Apr 4 17:36 zdd
-rwxr-xr-x 1 root root 765 May 29 2011 zdd.sh
-rwxr-xr-x 1 root root 7528063 Apr 4 17:36 zdpack
-rwxr-xr-x 1 root root 8777 Apr 7 2014 zendctl.sh
-rwxr-xr-x 1 root root 4044391 Apr 4 17:36 ZManifest
-rwxr-xr-x 1 root root 20023 Apr 4 17:36 zmd
-rwxr-xr-x 1 root root 382 Sep 15 2014 zs-client.sh
-rwxr-xr-x 1 root root 9882143 Apr 4 17:36 zsd
-rwxr-xr-x 1 root root 781 Feb 9 2016 zsd.sh
-rwxr-xr-x 1 root root 815 Apr 4 17:36 zs-manage


What was your installation method?
[UPDATE] - which Linux OS? Arch?
Have you upgraded / reinstalled an earlier version 9.x?

Adding installation with Apache (again - on Ubuntu, so its important to know which OS was used, see above)

-rwxr-xr-x 1 root root 7066476 Mar 19 15:35 php
-rwxr-xr-x 1 root root 7013476 Mar 19 15:35 php-cgi
-rwxr-xr-x 1 root root 2880 Mar 19 16:03 php-config
-rwxr-xr-x 1 root root 7247156 Mar 19 15:35 phpdbg
-rwxr-xr-x 1 root root 4564 Mar 19 15:34 phpize
Zvika Dror
Zend Support Team
User avatar
zvika
Zend Global Support
 
Posts: 985
Joined: Sun Dec 14, 2008 9:48 am

Re: Missing PHP cli in ZS9 on Linux

Postby arek1115 on Thu May 04, 2017 2:12 pm

Zvika,

This is the release. I believe it was a fresh install:
Code: Select all
$ cat /etc/*-release
Oracle Linux Server release 7.3
NAME="Oracle Linux Server"
VERSION="7.3"
ID="ol"
VERSION_ID="7.3"
PRETTY_NAME="Oracle Linux Server 7.3"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:7:3:server"
HOME_URL="https://linux.oracle .com/"
BUG_REPORT_URL="https://bugzilla.oracle .com/"

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7"
ORACLE_BUGZILLA_PRODUCT_VERSION=7.3
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=7.3
Red Hat Enterprise Linux Server release 7.3 (Maipo)
Oracle Linux Server release 7.3
arek1115
 
Posts: 5
Joined: Tue Oct 07, 2014 1:41 pm


Return to Zend Server

Who is online

Users browsing this forum: No registered users and 4 guests