I have Book & book Code for "Practical Web 2.0 Applications with PHP"
(apress.com/Apress Publication) I am facing problem to setup the application.
I am getting following errors :
" Warning: require_once(Zend/Loader.php) [function.require-once]: failed to open
stream: No such file or directory in
C:\xampp\htdocs\zendframework\htdocs\index.php on line 2
Fatal error: require_once() [function.require]: Failed opening required
'Zend/Loader.php' (include_path='.;\xampp\php\pear\') in
C:\xampp\htdocs\zendframework\htdocs\index.php on line 2 "
Changed "chapter-14" folder name to "php folder
and copied to "C:\xampp\htodcs" Keeping subdirectory
structures.Also copied "zend" folder to
"C:\xampp\htdocs\include" keeping directory structuer intact.
For your reference my develpment server's details :
1) Window XP Professional (Service Pack2)
XAMPP 1.7.0 (http://apachefriends.org)
Apache : 2.2.11
PHP Version : 5.2.8
GD : 2.1.9
Mysql : 5.1.30
Mysqli : 5.1.3
PDO Support Enabled
2) c:\xampp\htdocs\phpweb20\include\zend
3) My httpd.conf setting
<VirtualHost 127.0.0.1>
ServerName phpweb20
DocumentRoot /xampp/htdocs/phpweb20/htdocs
<Directory /xampp/htdocs/phpweb20/htdocs>
AllowOverride All
Options All
</Directory>
php_value include_path
.:/xampp/htdocs/phpweb20/include:/xampp/php/pear:/xampp/htdocs/phpweb20/include/\
zend
php_value magic_quotes_gpc off
php_value register_globals off
SetEnv APP_CONFIG_FILE "settings.ini"
SetEnv APP_CONFIG_SECTION "development"
</VirtualHost>
4) My php.ini (also php5.ini) setting
include_path =
".;\xampp\php\pear\;\xampp\htdocs\phpweb20\include\;\xampp\htdocs\phpweb20\inclu\
de\zend\"
5) Zend Framework 1.0.2 (as book is stating)