Page 3 of 3
Re: Upgrade PHP?
Posted: Mon Jun 24, 2013 3:35 pm
by vAJ
I'm so hating life right now...
Code: Select all
Forbidden
You don't have permission to access /nagiosxi/ on this server.
Re: Upgrade PHP?
Posted: Mon Jun 24, 2013 3:37 pm
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
Re: Upgrade PHP?
Posted: Mon Jun 24, 2013 3:43 pm
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?
Re: Upgrade PHP?
Posted: Mon Jun 24, 2013 5:06 pm
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.
Re: Upgrade PHP?
Posted: Mon Jun 24, 2013 8:46 pm
by vAJ
Got it...
Re: Upgrade PHP?
Posted: Tue Jun 25, 2013 8:41 am
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!
Re: Upgrade PHP?
Posted: Tue Jun 25, 2013 9:20 am
by slansing
Resolved.