The majority of forums are now only available as archives, which means posting/editing is disabled.
The Anything and Everything forum is still open.
The Anything and Everything forum is still open.
upgrading php4.0.6 to 4.3.3
|
|||
|
Rank: Unregistered
|
hi guys Im a complete newbie to linux and have just installed redhat 7.2 on my machine and set up apache to host my web site. Im wanting to learn how to develop with php but im aware the version i have is very old. Can any body pls tell me how to upgrade this to the latest version. Ive spent hours trawling through search engines with no basic instructions just problems that have occurred!
regards cubanallstar manchester, uk |
||
|
|||
|
|||
|
Rank: ? (862)
Member #: 2 |
It's fairly simple.. Firstly go to a site such as RPMFind.net and search for the application/software (PHP)
RedHat uses RPMs to install software, but unfortunatly they are usually out of date. I upgrade using an RPM, download the RPM from rpmfind ( or another place ) and run: rpm --upgrade <rpmfile> so rpm --upgrade php-???.rpm Another way may be to use up2date, not sure if it works for PHP etc..? From memory I think the command to run is: up2date php If all this fails, you can install from source, goto php.net and download the source. Check out the PHP documenation under 'installation' for installation instructions.
-Terminal
|
||
|
|||
|
|||
|
Rank: Unregistered
|
Ive downloaded the source from php.net to my home directory and ran the install from the instructions supplied. The files are all extracted and set up but I still have version 4.0.6 when i type php -v Do I need to delete the old php files and replace them with the new or could it be that the php 4.3.3 files are in the wrong place?
|
||
|
|||
|
|||
|
Rank: Unregistered
|
:[ :[ :[ :[ :[ :[ :[ :[
|
||
|
|||
|
|||
|
Rank: Unregistered
|
|
||
|
Please login or register to post a reply.
