You are here: User Guide > Reference > PHP Preferences > PHP Interpreter Preferences

PHP Interpreter Preferences

The PHP Interpreter preferences page allows you to set which PHP version to use for the project. This will affect the internal debugger, code analyzer and content assist.

The PHP Interpreter Preferences page is accessed from Window | Preferences | PHP | PHP Interpreter.

Configuring Your PHP Version

 

 

Instructions on how to complete a procedure

To configure your PHP version:

  1. Select the PHP Version to use.
    See PHP Support for more on effects the PHP version settings have.

  2. Mark the "Use Short Tags" check-box in order for Code Completion to respond to Short tags in the same way as it responds to PHP tags. A short tag is "<?".

  3. Click OK to apply your settings.

 

Using a Different PHP Interpreter for a Specific Project

 

 

Instructions on how to complete a procedure

To use a different PHP Interpreter for a specific project:

  1. Select the link labeled "Configure Project Specific Settings".

  2. Select the specific project from the list.

  3. Another PHP Interpreter preferences page will open.

  1. Mark the "Enable project specific settings" check-box.

  2. Choose your PHP version.

  3. Click Apply.

  4. A prompt dialog will appear stating that a rebuild of the project must occur for the settings to take effect.

  5. Click Yes to rebuild the project. Error parsing will be performed according to the PHP version chosen.
    If you click No, the rebuild will be performed the next time Zend Studio is restarted. 

 

 

 

Related Links:

PHP Support

PHP Executables Preferences

PHP Preferences

 

 

©1999-2012 Zend Technologies LTD. All rights reserved.