![]() |
|
|
|
|
|||||||
| Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi dear,
Is there any easy way to upgrade php from 4 to 5. Should I uninstall php4 and then install php5 ? Thank in advence. |
|
#2
|
||||
|
||||
|
Look into the -o flag of portmaster or portupgrade.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#3
|
|||
|
|||
|
Hi again,
I tried "portmaster -o /usr/port/lang/php5" but it failed with following conflict error. ===> Installing for php5-5.2.9 ===> php5-5.2.9 conflicts with installed package(s): php4-4.4.9 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/lang/php5. *** Error code 1 Stop in /usr/ports/lang/php5. ===>>> Installation of php5-5.2.9 (lang/php5) failed ===>>> Aborting update ===>>> complete Thanks in advence. |
|
#4
|
||||
|
||||
|
You need an extra parameter!
e.g.: portmaster -o lang/php4 php5-5.2.9 (old -> new) portupgrade -o lang/php5 lang/php4 (new <- old) This may not be the exact syntax (sometimes the full version number needs to be included, which you can find in pkg_info)
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
| The Following User Says Thank You to DutchDaemon For This Useful Post: | ||
Crom (April 2nd, 2009) | ||
|
#5
|
|||
|
|||
|
Thanks a lot.
|
|
#6
|
|||
|
|||
|
Quote:
portmaster -o /usr/ports/lang/php5 php4-4.4.9 to upgrade php5 Thanks again. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] PHP5 coredumps | Voltar | Installation and Maintenance of FreeBSD Ports or Packages | 7 | December 25th, 2009 03:43 |
| Can't install php5-mysql | teamchachi | Installation and Maintenance of FreeBSD Ports or Packages | 3 | March 17th, 2009 17:16 |
| Portupgrade php5 5.2.8 to 5.2.9 problems | emmi | Installation and Maintenance of FreeBSD Ports or Packages | 6 | March 17th, 2009 15:11 |
| php5-extension1.1 can not deinstall | mfaridi | Installation and Maintenance of FreeBSD Ports or Packages | 14 | March 10th, 2009 18:55 |
| PHP5 builded but not running ... | Melchior | Installation and Maintenance of FreeBSD Ports or Packages | 1 | January 24th, 2009 06:01 |