English 中文(简体)
• 如何在北纬度度层安装Zentd Framework
原标题:How to install Zend Framework on Linux CentOS

我有一台VPS服务器,我需要为其谷歌客户图书馆安装Zentd Framework。

我混淆了我能否安装Zentd,安装到特定地点,或者如果我需要安装作为根本用户,以便所有网站都能查阅到该信诺服务器。

最佳回答

Nope, 你不需要install。 泽德框架只是一套综合的、包含全方位的文稿。 因此下载,在你想要的任何地方不包装,include(或require, don t matter)必要的课堂。

问题回答

页 次

  1. http://download.fedora.redhat.com

  2. ZendFramework: yum 安装 php-ZendFramework

我最近不得不在旧的CentOS 5服务器上安装Zentd Framework 1,以支持利用Zentd Framework建立的网站应用。 由于RHEL5没有输电管,我不得不人工安装包件,但我的费用中还包括在CentOS 6安装管道的细节。

Manual Installation

Note: I usually log in as a regular (non-super) user and use sudo for administrative tasks.

• 将烟火档案下载到您的家事目录中,并存档:

tar xvzf ZendFramework-version.tar.gz

Create a directory for PHP applications in /usr/local/share. According to the Filesystem Hierarchy Standard (see man hier), /usr/local/share is for:

Local application data that can be shared among different architectures of the same OS

sudo mkdir -p /usr/local/share/php

<>说明<>>>>:<代码>-p>的备选办法,如果名录已经存在,就没有产生错误。

将Zentd Framework图书馆编成该名录:

sudo mv ~/ZendFramework-version/ /usr/local/share/php/Zend

为<代码>zf建立象征联系 指挥:

sudo ln -s /usr/local/share/php/Zend/bin/zf.sh /usr/local/bin/zf

Finally, add the Zend library to PHP’s include_path (and restart the web server so it uses the new PHP configuration):

include_path = ".:/usr/local/share/php/Zend/library"

Install using RPM for RHEL 6

RHEL 6 /CentOS 6的包裹可在上查阅。 《企业<存放处附加包》。

  • php-ZendFramework: basic Zend Framework
  • php-ZendFramework2 : Zend Framework 2
  • php-ZendFramework-full: Meta package to install full Zend Framework; this installs a much larger set of packages (Zend Framework components and PHP modules).

最低限度的安装需要<代码>php-bcmath和php-process

  • The library code is installed to /usr/share/php/Zend.
  • The zf command is installed to /usr/bin/zf which is a symbolic link to /usr/share/php/Zend/zf.sh.

如果您尚未安装EPAEL存放处,CentOS外置存放处就包括安装EPAEL存放处的包件(因违约即可)。

sudo yum install epel-release

在增加了EPAEL存放处后,我通常会把它因违约而残疾,这样,如果我安装了包件,则使用标准储存库;如果我想要从EPAEL存放处安装一个包件,我在yum的指挥中就明确这样做。 通过在<代码>/etc/yum.repos.d/epel.repo上设置enabled=0

在座 强化框架一揽子计划:

sudo yum --enablerepo=epel install php-ZendFramework
sudo yum --enablerepo=epel install php-ZendFramework2
sudo yum --enablerepo=epel install php-ZendFramework-full




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签