Behind the Site »

Zend - The PHP Company

Upgrading Studio's internal debugger PHP version

Article #164
Product: Zend Studio


Summary



Zend Studio includes an �internal� debugger for running your scripts in Studio without a web-server. This internal debugger uses a small php package to run the scripts with. This php packages can be upgraded to a newer version. Below you will find the instructions on how to do this in Windows, *nix and Mac OS-X.


Important note



This procedure, although explained in the article, is not officially supported.


Instructions



1) Download the php package for your OS. For Windows, there is a ZIP package of Windows binaries available from php.net (http://www.php.net/downloads.php).

2) Prepare the files from the package downloaded (demonstrated with php5): Windows - make sure to have php-cgi.exe and php5ts.dll. Unix & Mac OS-X - make sure to have the cgi php binary ready and named "php".

3) Locate current internal debugger binaries and rename them: {Studio install dir}\bin\php5\ is the directory where they are located. Windows - rename php.exe to php.exe_old. Rename php5ts.dll to php5ts.dll_old. Unix & Mac - change "php" to "php_old".

4) Copy the new binaries to the path specified in step (3) above. Make sure to rename the binaries to the original names used by Studio and shown in step (3) above.

5) OPTIONAL: Write a simple script with phpinfo() function and run it with the "internal debugger" in Studio to verify the version upgrade of the internal debugger.


The information in this article applies to



Zend Studio Client.


Keywords



debugger, studio, upgrade, version, internal, local debug, cli

Last Updated: 2006-05-21 11:39:59

 

» Send us feedback