+

Search Tips   |   Advanced Search

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
Name of the server. (String, required)

Optional parameters

-templateName
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
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
Name of the server to start. (String, required)
-nodeName
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
Name of the server to stop. (String, required)
-nodeName
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
Name of the server to delete. (String, required)
-nodeName
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
Name of the template to create. (String, required)
-serverName
Name of the server to use as a template. (String, required)
-nodeName
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
Name of the template to delete. (String, required)
-serverName
Name of the server that uses the template. (String, required)
-nodeName
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