PHP – zend install, zend start
Zend framework? i will make it so easy, that a just born baby can use it?
* Follow steps 1 ………6 sucks according to zend guide. :
* Follow steps 7 ……… rest works
1. [root@www html]# whereis php
php: /usr/bin/php /etc/php.d /etc/php.ini /usr/lib/php /usr/include/php /usr/share/man/man1/php.1.gz
[root@www html]#
2. [root@www ~]# ln -s /root/zend/bin/zf.sh /usr/local/bin/zf
3. [root@www ~]# php -i | grep include_path
include_path => .:/usr/share/pear:/usr/share/php => .:/usr/share/pear:/usr/share/php
[root@www ~]#
4. vi /etc/php.ini (change like this!)
[root@www etc]# grep include_path /etc/php.ini
; (directory must also be in include_path or full path must
;include_path = “.:/php/includes”
include_path = “.:/usr/share/pear:/usr/share/php:/root/zend/library“
;include_path = “.;c:\php\includes”
[root@www etc]#
5. [root@www etc]# service httpd status
httpd (pid 4102) is running…
[root@www etc]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@www etc]# php -i | grep include_path
include_path => .:/usr/share/pear:/usr/share/php:/root/zend/library => .:/usr/share/pear:/usr/share/php:/root/zend/library
[root@www etc]#
6. [root@www etc]# zf –help
PHP Fatal error: Cannot access self:: when no class scope is active in /root/zend/library/Zend/Tool/Framework/Provider/Signature.php on line 355
Fatal error: Cannot access self:: when no class scope is active in /root/zend/library/Zend/Tool/Framework/Provider/Signature.php on line 355
[root@www etc]#
Damn! incompatibility with centOS!! what i do what i do?
* why? because zend doesnt shift with latest php on it, and centOS doesnt shift also with, so using zend means get infected with mysql/php updates.





