Date Posted: July 26, 2007
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?
- 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.
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:
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?
- 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.
- 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 - 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?
- Open your php.ini. By default, it is located in C:\Program Files\PHP or C:\Program Files\Zend Core\etc.
- Search for include_path. # denotes a comment in php.ini. Make sure one include_path is uncommented.
- 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 "
- Save php.ini, and then restart Apache.
