WebSphere Virtual Enterprise (formerly Operations Optimization), Version 6.1
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows


PHP server administrative tasks

Use the following commands to create and configure PHP servers and server templates.

The administrative tasks for creating and configuring PHP servers include the following commands:

createPHPServer

The createPHPServer command creates a new PHP server.

Required parameters

-name
Specifies the name of the server. (String, required)

Optional parameters

-templateName
Specifies the name of the server template to use. You can specify templateServerNode and templateServerName to use an existing server as a virtual template instead of a defined template. (String, optional)
-genUniquePorts
Specifies a boolean to generate unique ports for the server. (String, optional)
-templateLocation
Specifies the location in which the template is stored. Use the system defined location if the location is not specified. (String, optional)
-serverConfig
Specifies the configuration of the server definition properties. Specify phpServerRoot or apacheServerRoot for the runtime path. Specify phpVersion or apacheVersion for the version number. (String, optional)

Batch mode example usage

Interactive mode example usage

listPHPServers

The listPHPServers command lists all of the PHP servers.

Required parameters

None.

Optional parameters

-nodeName
Specifies the name of the node. Specify this parameter to narrowly scope the command. (String, optional)

Batch mode example usage

Interactive mode example usage

startServer

The startServer command starts a PHP server.

Required parameters

-serverName
Specifies the name of the server to start. (String, required)
-nodeName
Specifies the name of the node on which the server is located. (String, required)

Optional parameters

None.

Batch mode example usage

Interactive mode example usage

stopServer

The stopServer command stops a PHP server.

Required parameters

-serverName
Specifies the name of the server to stop. (String, required)
-nodeName
Specifies the name of the node on which the server is located. (String, required)

Optional parameters

None.

Batch mode example usage

Interactive mode example usage

deleteServer

The deleteServer command deletes a PHP server.

Required parameters

-serverName
Specifies the name of the server to delete. (String, required)
-nodeName
Specifies the name of the node on which the server is located. (String, required)

Optional parameters

None.

Batch mode example usage

Interactive mode example usage

createPHPServerTemplate

The createPHPServerTemplate command creates a PHP server template.

Required parameters

-templateName
Specifies the name of the template to create. (String, required)
-serverName
Specifies the name of the server to use as a template. (String, required)
-nodeName
Specifies the name of the node on which the server is located. (String, required)

Optional parameters

-description
Specifies a description for the server template. (String, optional)
-templateLocation
Specifies the location in which the template is stored. Use the system defined location if the location is not specified. (String, optional)

Batch mode example usage

Interactive mode example usage

deleteServerTemplate

The deleteServerTemplate command deletes a PHP server template.

Required parameters

-templateName
Specifies the name of the template to delete. (String, required)
-serverName
Specifies the name of the server that uses the template. (String, required)
-nodeName
Specifies the name of the node on which the server is located. (String, required)

Optional parameters

-description
Specifies a description for the server template. (String, optional)
-templateLocation
Specifies the location in which the template is stored. Use the system defined location if the location is not specified. (String, optional)

Batch mode example usage

Interactive mode example usage




Related concepts
Middleware nodes and servers
Related tasks
Creating PHP servers and PHP dynamic clusters
Deploying PHP applications
Related reference
Middleware application administrative tasks
Reference topic    

Terms of Use | Feedback

Last updated: Oct 30, 2009 6:15:26 PM EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1/index.jsp?topic=/com.ibm.websphere.ops.doc/info/reference/radmintasksphp.html