Skip to main content

Web 2.0 Starter Toolkit for IBM DB2

A conveniently packaged set of products and technologies that enable the quick creation of DB2 Web services and feeds using PHP technology.

Date Posted: July 26, 2007

alphaworks tab navigation

1. The installation was completed successfully, but when I run the demo, I see a message telling me that the ibm_db2 extension could not be found. What should I do?

Please restart your computer.

2. When I run the demos, I see PHP source code. What's wrong?

You need to restart your Apache Web server. With the regular installation, you can restart the server from the little red feather in your system tray: icon

With Zend Core for IBM®, you must manually start ApacheMonitor.exe before you can restart Apache.

3. PEAR failed to be installed on my machine or I installed Zend Core for IBM and it does not include PEAR. What should I do?

  1. Please open a command prompt and navigate to your PHP directory. The normal default is C:\Program Files\PHP, or, for IBM with Zend Core, C:\Program Files\Zend\Core.
  2. Enter the following commands:
    php -r "readfile('http://pear.php.net/go-pear');" > go-pear
    php -q go-pear
    pear_env.reg
    pear install HTML_Template_Flexy HTML_Javascript
    
  3. After everything has been completed successfully, please restart your Apache Web server.

4. PEAR has been installed on my machine, but PHP does not see it. What should I do?

  1. Open your php.ini. By default, it is located in C:\Program Files\PHP or C:\Program Files\Zend Core\etc.
  2. Search for include_path. # denotes a comment in php.ini. Make sure one include_path is uncommented.
  3. Append ;C:\Program Files\PHP\pear inside the quotes.

    If your current include_path is include_path = ".;c:\Program Files\PHP\includes", please change it to the following:

     include_path = ".;c:\Program Files\PHP\includes;C:\Program Files\PHP\pear " 
  4. Save php.ini, and then restart Apache.

Trademarks




Related technologies