I'm about to attempt to upgrade our live web server to php5 but I dont want to **** it up so does anyone have any advice, words of warning for me before I do it?
Well good news and bad news
The bad news is it didnt work, the good news is that the websites are all still up and running,
This is so frustrating. Nothing on this server is where it should be, theres no apxs, its running apache2 but called httpd. The apache docs say to enter httpd -l to test apxs but the server says httpd command not found. I'm absolutely stumped as to what to do now.
apxs isn't always installed by default, what do you mean by "it didn't work" you haven't really given us anything to work with except that apxs isn't installed (which is not too uncommon depending on the distro..)
I've pretty much given up, decided to use a backport of simplexml and stay on php 4.
I dont want to reinstall apache because I have no idea what it was configured with originally, but I dont see any other way to get apxs and without apxs I cant get libphp5.so
Apache seems to be tangled up in webmin in a bizarre way.
apxs isn't always installed by default, what do you mean by "it didn't work" you haven't really given us anything to work with except that apxs isn't installed (which is not too uncommon depending on the distro..)
apxs not being installed IS the problem. Not really much else to say there.
you dont need to recompile apache if it has mod_so
(httpd -l lists compiled in modules (or `apache -l` or `apachectl -l`)
but as mentioned you need the apache development package..
On debian ..
apt-get install apache-1.3-devel (but with the right apache version)
For redhat I would use yum but that is not always installed by default
If you have webmin then webmin can install RPM's for you.
but apache-devel is only half the issue , if your current PHP version is also a RPM/binary package then you will need a lot of other libs to compile PHP + extensions.
The safest bet is to see if there is an existing php5 RPM for your platform and install that.
MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)
Last edited by firepages; 04-28-2006 at 03:46 AM..
redhat 9 - and no we dont have yum Wish it was debian (like my shiny new server then this would be so easy)
I havent found any packages for redhat 9 and anyone who asks seems to get told RH9 is dead upgrade to something better