Kênh Tên Miền chuyên cung cấp tên miền đẹp, giá rẻ! Hãy liên hệ kỹ thuật: 0914205579 - Kinh doanh: 0912191357 để được tư vấn, hướng dẫn miễn phí, Cảm ơn quý khách đã ủng hộ trong thời gian qua!
kiem tien, kiem tien online, kiem tien truc tuyen, kiem tien tren mang
Thứ Hai, 9 tháng 9, 2013


HOW TO INSTALL ZEND FRAMEWORK IN LINUX MINT
you have installed:
-install websever
-install php
-install phpmysqladmin

1. install ZF:
sudo apt-get install zend-framework

2. Check version ZF:
zf show version

3. Move the cursor to folther webroot:
cd /var/www

4. Creating profect for ZF( my profect "Zend"):
zf create project Zend

5.  Move the cursor to folther "library" in profect :
cd /library

6. Copy library for zend :
sudo ln -s /usr/share/php/libzend-framework-php/Zend/

7. See tree Folther ZF:
tree 
(install tree: sudo apt-get install tree )

8. Change https://localhost/Zend -> http://Zend/

a. find host in folther " /etc ":
Del " 127.0.0.1  localhost"
add " 127.0.0.1  Server "

b. find default in folther "/etc/apache2/sites-available":
add code :

NameVirtualHost *:80
<VirtualHost *:80>
ServerName Server
DocumentRoot /var/www/Zend/public/>
<Directory /var/www/Zend/public>
                Options Indexes FollowSymLinks MultiViews
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

9. test : https://sever/       or  https://localhost/Zend/public/

10. Note :
a. restart apache2 : service apache2 restart
b. admin for folder/file : sudo -i -> password ->enter->cd /path/to/folder -> chown user.user folder/file

10. The end. ( visit :https://toantinit.blogspot.com )

0 nhận xét:

Đăng nhận xét

domain, domain name, premium domain name for sales

Popular Posts