Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating PHP

Status
Not open for further replies.

hpicken

Technical User
Apr 12, 2001
142
AU
Running FreeBSD 4.2 and PHP 4.0.5 would like
to upgrade to lastest PHP version.

Should I...

1. Remove the previous version first or
2. Install it over the top of the
existing one or
3. Delete all evidence of the existing version
then do a fresh install.

Thanks in Advance.
 
Did you install PHP from a port or from the source code?
If you did it from the PHP source (full make/install),
did you install PHP as a DSO?

If you install as a port, you should be able to remove that port, download the PHP 4.10 port and reinstall.

If you installed from the source as a DSO, then you should be able to compile the new source as a DSO and replace all PHP files.

If you installed as PHP into Apache (static method), you will need to remove both Apache and PHP and reinstall both.

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top