Here are two shell scripts

From SME Server
Revision as of 21:47, 7 May 2010 by Rjayasin (talk | contribs) (Created page with 'Copy the lines below to to a file, change the [YourWebApp] to your application name and run them from the command line #[YourWebApp]-php5.sh ***********************************…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Copy the lines below to to a file, change the [YourWebApp] to your application name and run them from the command line

  1. [YourWebApp]-php5.sh
 mv ~/90[YourWebApp] /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/;
 expand-template /etc/httpd/conf/httpd.conf;
 svc -t /service/httpd-e-smith;
  1. [YourWebApp]-php4.sh
 cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/;
 mv 90[YourWebApp] /root/;
 cd ~/;
 expand-template /etc/httpd/conf/httpd.conf;
 svc -t /service/httpd-e-smith;