PHP CGI upgrade 5.3 to 5.4

wattie

Verified User
Joined
May 31, 2008
Messages
1,206
Location
Bulgaria
Now I am with 5.4 CLI and 5.3 CGI (on FreeBSD, so it's suPHP). I want to move CLI to 5.5 and CGI to 5.4. My plan is the obvious:

1. Move the Cli version to 5.5 in options.conf and rebuild php
2. Move the CGI version to 5.4 in options.conf and rebuild php

Do I need to consider something special when upgrading the CGI version or just change in options.conf + rebuild will do the job like it does with the CLI version? I never updated CGI version before.
 
You just need to change that in the options.conf file (php1_release and php2_release), and rebuild PHP then. You do not need to do that twice (change the first version of PHP to 5.5, rebuild, set the 2nd version to 5.2 and do the installation again), one re-installation is enough (./build php n) after doing all the changes you want in the options.conf file. Good luck! :)
 
Back
Top