Upgrade PHP?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Upgrade PHP?

Post by vAJ »

I'm so hating life right now...

Code: Select all

Forbidden

You don't have permission to access /nagiosxi/ on this server.
Andrew J. - Do you even grok?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Upgrade PHP?

Post by abrist »

Did you build and install *all* of the previous mentioned packages?
What errors are you getting in:

Code: Select all

/var/log/httpd/error_log
/var/log/httpd/access_log
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Upgrade PHP?

Post by vAJ »

not all of them want to build. hard time managing dependencies...

error_log shows

Code: Select all

Attempt to serve directory: /usr/local/nagiosxi/html/backend/
How did you build all of the extensions? Did you add them to the configure command for the php base (ie --with-mysql) or did you build each extension manually?
Last edited by slansing on Mon Jun 24, 2013 4:54 pm, edited 1 time in total.
Reason: Please make updates to your previouse post and not create new ones if you are the last poster.. thank you!
Andrew J. - Do you even grok?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Upgrade PHP?

Post by abrist »

vAJ wrote:How did you build all of the extensions? Did you add them to the configure command for the php base (ie --with-mysql) or did you build each extension manually?
This is a can of worms, as specifying on compile will fail if the source for the extensions is not available. Building them after the fact can be a serious pain it rear as you slowly hunt down all the necessary extensions. Some of which will require a php rebuild. . . .
I seriously suggest that you try to find a repo with 5.4.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Upgrade PHP?

Post by vAJ »

Got it...
Andrew J. - Do you even grok?
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Upgrade PHP?

Post by vAJ »

Success! I think the first time I tried using the REMI repo, I hadn't removed all of the 5.3.3 packages. Trying it again with info from : http://webees.me/linux/installing-php-5 ... -with-yum/ got everything installed.

Box is running great on 5.4.16 now.

Thanks Andy!
Andrew J. - Do you even grok?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Upgrade PHP?

Post by slansing »

Resolved.
Locked