You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.

The codetracingDisable Method

Disable the code-tracing directive two directives necessary for creating tracing dumps, this action does not disable the code-tracing component.

 

Limitations: This action requires php 5.3 and will not operate on previous php  versions

Required Permissions: Full

HTTP method: POST

Supported Editions: Zend Server, Zend Server Cluster Manager

Request parameters:

Parameter

 Type

Required

Description

restartNow

	Integer	

No	

Perform a php restart as part of the action to apply the new settings, defaults to true

 

Expected Response Code: 200 OK, 202 Accepted. For more information see Response Format.

Response Format: The new code tracing directive's state.

Possible Action Specific Error Codes:

HTTP Code

Error Code

Description

500

internalServerError

The code tracing action failed

 

Usage Example

Example:

Request:

Post /ZendServerManager/Api/codetracingDisable

 

Response:

<?xml version="1.0" encoding="UTF-8"?>

<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.1">

    <requestData>

           <apiKeyName><![CDATA[Admin]]></apiKeyName>

           <method>codetracingDisable</method>

    </requestData>

    <responseData>

           <codeTracingStatus>

               <componentStatus>Inactive</componentStatus>

               <alwaysDump>Off</alwaysDump>

               <traceEnabled>Off</traceEnabled>

               <awaitsRestart>0</awaitsRestart>

           </codeTracingStatus>

     </responseData>

<zendServerAPIResponse>

 

 

 

 

Related Links

Related Links:

Codetracing Methods

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.