Friday, 2 January 2015

PHP 5.6.4 installation-solaris



PHP 5.6.4 installation-solaris




1.       Software link
              http://php.net/downloads.php
2.       installation procedure and requirements.
        Requirements :
·                                                                                autoconf-2.13
·                                                                               automake-1.4
·                                                                               bison-1_25-sol26-sparc-local
·                                                                               flex-2_5_4a-sol26-sparc-local
·                                                                               gcc-2_95_2-sol26-sparc-local
·                                                                               gzip-1.2.4-sol26-sparc-local
·                                                                                m4-1_4-sol26-sparc-local
·                                                                                make-3_76_1-sol26-sparc-local
·                                                                              mysql-3.23.24-beta (if you want mysql support)
·                                                                              perl-5_005_03-sol26-sparc-local
·                                                                              tar-1.13 (GNU tar)

     Installation Procedure:


1. unzip and extract the  php software.

2. cd /usr/local/php-5.6.4/

3. run the below depends on the requirement.

CC=/usr/bin/gcc CFLAGS="-std=gnu99" ./configure --enable-libgcc --enable-opcache=no

CC=/usr/bin/gcc CFLAGS="-std=gnu99" ./configure --enable-libgcc --enable-opcache=no --enable-libxml –-without-pear

Note : you may change the config parameters .


4. Run make (sample output)

Screen capture 

5. Run make test

6. Run make install (sample output)

Screen capture 


7. finally set the path.
PATH=$PATH:/usr/local/bin/
export PATH


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


For Online and Class Room Training:-
Our UNIX and Linux/Solaris training courses provide the skills to manage data, execute commands, administer and customize your Linux and UNIX environment.
Please Contact us: +91-8179101478, 8686025550
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
                                                                                                                                                Thank you.
                                                                                                                                                Sandeep.k





Job chronyd.service/start failed with result 'dependency'

 Job chronyd.service/start failed with result 'dependency' Issue :  CRITICAL: Neither ntpd nor chronyd running. Exiting  Error :  sy...