This script will configure a web server instance to run PHP scripts.
usage :
setupPHP -instancename=<instance name> [-sapi=nsapi|fastcgi]
Examples:
setupPHP -instancename=https-php
setupPHP -instancename=https-php -sapi=nsapi
bash-3.00# setupPHP -instancename=https-miservidor.com
bash: setupPHP: command not found
bash-3.00# ./setupPHP -instancename=https-miservidor.com
UPDATED: /sun/webserver7/https-miservidor.com/config/magnus.conf
UPDATED: /sun/webserver7/https-miservidor.com/config/solarisapp-obj.conf
UPDATED: /sun/webserver7/https-miservidor.com/config/miservidor.com-obj.conf
UPDATED: /sun/webserver7/https-miservidor.com/config/mime.types
Setup was sucessful.
——————–
The following steps are necessary to make the changes to all the nodes.
(1) Start the admin server
/sun/webserver7/admin-server/bin/startserv
(2) Connect to the admin server using wadm command
/sun/webserver7/bin/wadm [–user=admin-user] [–password-file=admin-pswd-file] [–host=admin-host] [–port=admin-port]
(3) Pull the modified config from the node to config store
using the following command in wadm console:
pull-config –config=miservidor.com nodehost
For Example: If the host name for the node is xyz.com then enter the command like,
pull-config –config=miservidor.com xyz.com
(4) Deploy the new changes to all nodes using
the following command in wadm console:
deploy-config miservidor.com