how to test/use zend in wamp 2.2? -
i using win 7 system, have installed wamp 2.2, open http://localhost/?phpinfo=1
, can see zend info, eg: zend extension 220090626... mean zend installed in wamp 2.2? did test:
<?php $date=new zend_date(); echo $date; ?>
but shows:
fatal error: class 'zend_date' not found in d:\wamp\www\test.php
on line 2
so how know if zend installed already? , how test/use it? thanks.
try this
1.you config zend library file
2.download zend library file , paste location c:\wamp\bin
3.some changes need in wamp server following steps given
you following steps
1.copy zendframework file => c:\wamp\bin
2.add bin path environmental variables
path => "c:\wamp\bin\zendframework\bin"
3.change php.ini file in wamp server below:
; windows: "\path1;\path2" include_path = ".;c:\wamp\bin\zendframework\library"
4.change httpd.conf in apache below:
loadmodule rewrite_module modules/mod_rewrite.so
which means remove #.
5.restart wamp server.
Comments
Post a Comment