Line 4: |
Line 4: |
| | | |
| [http://sme.firewall-services.com Firewall Services] (original contrib) | | [http://sme.firewall-services.com Firewall Services] (original contrib) |
| + | |
| + | === Version === |
| + | {{ #smeversion: smeserver-php5-cgi }}<br/><br/><br/><br/> |
| + | {{ #smeversion: php5-cgi }}<br/><br/><br/><br/> |
| | | |
| ===Description=== | | ===Description=== |
Line 19: |
Line 23: |
| To upgrade from Firewall Services' earlier release, you must do as follows: | | To upgrade from Firewall Services' earlier release, you must do as follows: |
| | | |
− | 1. Delete ALL custom templates created while following the earlier [http://sme.firewall-services.com/spip.php?article46 Firewall Services howto]. | + | 1. Remove Packages: |
| + | rpm -e php5-cgi* |
| + | |
| + | 2. Remove Custom Template |
| + | rm /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/80php5-cgi |
| + | |
| + | 3. Remove Any config for web apps |
| + | rm /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/90<webappname> |
| | | |
| + | 4. Expand Templates & Reboot |
| + | signal-event post-upgrade |
| + | signal-event reboot |
| {{Note box|The structure of the contrib has changed since the Firewall Services howto was written; be sure to delete ALL old custom templates.}} | | {{Note box|The structure of the contrib has changed since the Firewall Services howto was written; be sure to delete ALL old custom templates.}} |
| | | |
− | 2. Install the updated contrib as above.
| + | 5. Install the updated contrib as above. |
| + | |
| + | 6. Follow the instructions below to enable PHP5 for your web applications. |
| | | |
− | 3. Follow the instructions below to enable PHP5 for your web applications.
| + | (Based on suggested workaround in [[Bugzilla:6108]]) |
| | | |
| ===Usage=== | | ===Usage=== |
Line 42: |
Line 58: |
| | | |
| ====For contribs==== | | ====For contribs==== |
− | Web applications that are installed in /opt can also be configured to use PHP5. Ideally, application packagers should update their integration RPMs to depend on smeserver-php5-cgi and deploy a new template fragment, but if you wish, you can also configure PHP5 manually. | + | Web applications that are installed in /opt can also be configured to use PHP5. Ideally, application packagers should update their integration RPMs to depend on smeserver-php5-cgi and deploy a new template fragment, but if you wish, you can also configure PHP5 manually.[[Here are two shell scripts]] that will switch between PHP v4 and v5. |
| | | |
− | {{Note box|The structure of the contrib has changed from eariler releases; be sure to delete ALL old custom templates.}} | + | {{Note box|The structure of the contrib has changed from earlier releases; be sure to delete ALL old custom templates.}} |
| | | |
| First, create a custom template: | | First, create a custom template: |
Line 83: |
Line 99: |
| Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}. | | Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}. |
| | | |
− | [[Category: Contrib]] | + | [[Category: Deprecated Contrib]] |
− | [[Category: Webapps]]
| |