I would put Zend Framework outside of the htdocs folder for a few
reasons: one being that they are not files you'd call from the web, and
two for security.
Place the ZF files in D:\xampp\php\ZendFramework
Then make sure your include_path in the php.ini file looks like this at
least
.;D:\xmapp\php\ZendFramework\library
Restart apache, then that should do the trick.
-ralph
Farazch wrote:
I m new to zend framework.My operating system is Vista.I unzipped zend
framework to my xampp/htdocs folder.My xampp path
is d:/XAMPP.
I have added
include_path = ".;\xampp\php\pear\;\xampp\php\ZendFramework\library"
in php.ini file.
then i went to cmd and typed
D:\XAMPP\htdocs>d:\XAMPP\htdocs\ZendFramework\bin\zf.bat create project
testproject
But im facing this error:
Fatel error: Cannot access self:: when no class scope is active in
D:\XAMPP\php\ZendFramework\library\Zend\Tool\Framework\Provider\Signature.php
on line 355
Plz help me out what im doing wrong.Thanks.