Page 1 of 2

Installing PHP on Solaris 10

Posted: Thu Jul 17, 2014 6:51 am
by thom_crus0123
I have already installed nagios on a solaris server but when i opened it on a browser http://IP_Address_of_Nagios_server/nagios the error is "Internet Explorer cannot display the webpage". I checked the index files and it has a php files. So my question is do i need to install PHP on my solaris? If yes, do i need to install the below dependencies?
peg-8d
curl-7.26.0
freetype-2.4.2
libidn-1.25
libssh2-1.4.2
gd-2.0.35
freetds-0.91
libxml2-2.8.0

If yes again, where can i download them free? it seems sunfreeware is not free anymore. Thank you so much in advance :-)

Re: Installing PHP on Solaris 10

Posted: Thu Jul 17, 2014 3:49 pm
by slansing
Yes, you will need PHP amongst other things, I suggest you look at the pre-requisite packages listed at the top of this document. Yes, it is inteded for RHEL/Ubuntu/CENTOS but you will need the same packages in their Solaris variation.

http://assets.nagios.com/downloads/nagi ... Source.pdf

Re: Installing PHP on Solaris 10

Posted: Sun Jul 27, 2014 7:21 am
by thom_crus0123
Thank you...Actually im a newbie so can you teach me how to install php on solaris 10? where can i get the installer? Thanks in Advance :-)

Re: Installing PHP on Solaris 10

Posted: Mon Jul 28, 2014 11:02 am
by lmiltchev
I am not a Solaris expert and haven't installed php on Solaris 10, but there are some online guides that you can follow. This is one, that I found - I hope it helps.
http://ansarii.wordpress.com/2011/05/25 ... olaris-10/

Re: Installing PHP on Solaris 10

Posted: Tue Jul 29, 2014 6:45 am
by thom_crus0123
Thank you lmiltchev for the info. By the way, do i need to install mysql to run the nagios system? Thanks in advance :-)

Re: Installing PHP on Solaris 10

Posted: Tue Jul 29, 2014 9:07 am
by sreinhardt
You do not need mysql for a base nagios core installation.

Re: Installing PHP on Solaris 10

Posted: Tue Aug 05, 2014 1:47 pm
by thom_crus0123
Where can i get the php installer on my solaris 10? Thank you so much

Re: Installing PHP on Solaris 10

Posted: Wed Aug 06, 2014 4:52 pm
by tmcdonald
PHP source is here:

http://us3.php.net/get/php-5.2.17.tar.gz/from/a/mirror

The guide lmiltchev posted should be enough to get you installed.

Re: Installing PHP on Solaris 10

Posted: Fri Aug 08, 2014 2:42 pm
by thom_crus0123
I have installed php on the said link but when i started the apache, it gives me an error "Cannot load
/usr/lib/apache2/modules/libphp5.so into server". I do the command "find / -name libphp5.so -print" but I cannot find this file.
Hope you can help me on this. Thank you so much.

Re: Installing PHP on Solaris 10

Posted: Mon Aug 11, 2014 1:26 pm
by tmcdonald
At this point it might be best to ask on a Solaris support form, both because this is not a platform we use at Nagios and because this is getting farther and farther from being a Nagios issue.