IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  SOA and Web services  >  

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
Overview Requirements DownloadFAQsForum Reviews

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?
2. When I run the demos, I see PHP source code. What's wrong?
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?
4. PEAR has been installed on my machine, but PHP does not see it. What should I do?


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.
Back to top Back to top

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.

Back to top Back to top

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.
Back to top Back to top

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.


IBM is a trademark of IBM Corporation in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.

Back to top Back to top
Download now Download now

Related technologies

For platform(s):
Windows XP, Windows Server 2003

For topics:
AJAX, Databases and data management, PHP, Web services


 

    About IBM Privacy Contact