See the master compilation guidelines for instructions for other platforms.
Supported PHP Versions
Supported PHP Frameworks
|Zend||1, 2, 3|
Upload a compressed ZIP archive containing all PHP code and required dependencies to the Veracode Platform. Do not attempt to upload individual PHP files.
Veracode precompiles all PHP code uploaded to the Veracode Platform prior to analysis. PHP code must be submitted as a complete application. If portions of the application are not uploaded, the application cannot be analyzed and a compilation error will be returned by prescan.
The PHP compiler only attempts to compile files ending in the following extensions:
Veracode's PHP analysis does not interpret PHP configuration settings in PHP.INI, build options passed to PHP's configure script, ini_set, assert, or HTTP server specific configuration (options that are passed to PHP at runtime or specified in server configuration files). Veracode's analysis makes the following assumptions:
- All applications are web applications/stdout goes to an HTTP client
- Register_globals is set to OFF
- register_argc_argv, always_populate_raw_post_data, and register_long_arrays are ON
- All magic_quotes config options are OFF