AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题

问题[zend-framework](server)

Martin Hope
user1794918
Asked: 2020-05-09 22:57:30 +0800 CST

如何安装 zend 框架 zend-soap

  • 0

我正在尝试使用 composer 安装一个包。它失败并显示以下错误消息。

  Problem 1
    - zendframework/zend-soap 2.7.0 requires ext-soap * -> the requested PHP extension soap is missing from your system.
    - zendframework/zend-soap 2.7.0 requires ext-soap * -> the requested PHP extension soap is missing from your system.
    - zendframework/zend-soap 2.7.0 requires ext-soap * -> the requested PHP extension soap is missing from your system.
    - Installation request for zendframework/zend-soap 2.7.0 -> satisfiable by zendframework/zend-soap[2.7.0].

sudo yum 安装 php-zendframework-zend-soap

这是我正在运行以安装 zend-soap 的命令。但是,这会结束下面的错误消息。

--> Running transaction check
---> Package php-container-interop.noarch 0:1.2.0-3.el7 will be installed
---> Package php-psr-http-message.noarch 0:1.0.1-1.el7.remi will be installed
---> Package php-soap.x86_64 0:5.6.40-14.el7.remi will be installed
--> Processing Dependency: php-common(x86-64) = 5.6.40-14.el7.remi for package: php-soap-5.6.40-14.el7.remi.x86_64
---> Package php-zendframework-zend-eventmanager.noarch 0:2.6.3-1.el7.remi will be installed
--> Finished Dependency Resolution
Error: Package: php-soap-5.6.40-14.el7.remi.x86_64 (remi-php56)
           Requires: php-common(x86-64) = 5.6.40-14.el7.remi
           Installed: php-common-7.2.20-1.el7.remi.x86_64 (@remi-php72)
               php-common(x86-64) = 7.2.20-1.el7.remi
           Available: php-common-5.4.16-48.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-48.el7
           Available: php-common-5.4.45-18.el7.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.45-18.el7.remi
           Available: php-common-5.6.40-13.el7.remi.x86_64 (remi-php56)
               php-common(x86-64) = 5.6.40-13.el7.remi
           Available: php-common-5.6.40-14.el7.remi.x86_64 (remi-php56)
               php-common(x86-64) = 5.6.40-14.el7.remi
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我试过用 --skip-broken 运行它。这不会安装缺少的 zend-soap。它被跳过。我运行了第二个建议,但什么也没发生。有谁知道如何在 CentOS 7 上安装它。

centos composer zend-framework
  • 2 个回答
  • 149 Views
Martin Hope
Boba Fit
Asked: 2020-01-13 15:07:22 +0800 CST

Laminas Navigator,在插件管理器 Laminas\View\HelperPluginManager 中找不到名为“navigation”的插件

  • 0

在我的 Laminas 站点上,我想使用 Navigator 框架。我按照本教程进行操作,但失败了。

/ - Uncaught Laminas\ServiceManager\Exception\ServiceNotFoundException: A plugin by the name "navigation" was not found in the plugin manager Laminas\View\HelperPluginManager in /var/www/html/vendor/laminas/laminas-servicemanager/src/AbstractPluginManager.php:143
Stack trace:
#0 /var/www/html/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php(375): Laminas\ServiceManager\AbstractPluginManager->get('navigation', NULL)
#1 /var/www/html/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php(393): Laminas\View\Renderer\PhpRenderer->plugin('navigation')
#2 /var/www/html/module/Application/view/layout/layout.phtml(18): Laminas\View\Renderer\PhpRenderer->__call('navigation', Array)
#3 /var/www/html/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php(505): include('/var/www/htm...')
#4 /var/www/html/vendor/laminas/laminas-view/src/View.php(206): Laminas\View\Renderer\PhpRenderer->render(NULL)
#5 /var/www/html/vendor/laminas/laminas-mvc/src/View/Http/Default in /var/www/html/vendor/laminas/laminas-servicemanager/src/AbstractPluginManager.php on line 143

任何想法,我应该改变什么?

zend-framework
  • 2 个回答
  • 899 Views
Martin Hope
Brad Morris
Asked: 2012-06-16 01:51:42 +0800 CST

使用 mod_rewrite 和 lighttpd 从重写中排除目录

  • 1

我正在将 apache2 服务器迁移到 Lighttpd,但是我在使用 Mod_Rewrite 时遇到了一些问题。

我有一个目录/api/,我需要将其排除在重写规则之外,如下所示:

url.rewrite-once = (
    ".*\?(.*)$" => "/index.php?$1",
    ".*\.(js|ico|gif|jpg|png|css)$" => "$0",
    "" => "/index.php"
)

我试图用

$HTTP["url"] !~ "^/api/" { }

然而,这没有任何效果,只是将每个 URL 排除在重写之外。有谁知道一种方法

a) 从重写中排除 /api/

b) 从重写中排除服务器上存在的每个实际目录

我已经看到 Drupal 的 Lua 脚本可以执行后者,但是我不精通 Lua,也不知道如何为 Zend Framework 应用程序配置它。

整个配置: http: //pastebin.com/ggjiTFLk

干杯

configuration lighttpd mod-rewrite zend-framework
  • 1 个回答
  • 1090 Views
Martin Hope
Neil Aitken
Asked: 2010-04-09 07:07:33 +0800 CST

IIS 5.1 上的 Ionics 重写过滤器设置

  • 1

我正在尝试在 XP Pro 上运行的 IIS 5.1 上配置 IIRF 2,以便我可以运行 Zend Framework。

我已经设法让过滤器在我使用 IIS 管理脚本设置的第二个网站上运行。

当我转到 iirfStatus 时,我得到了这个:

替代文字

问题是该站点的 .ini 路径指向 c:\windows\system32\Irif.ini 而不是站点根目录。如果我尝试在 IIS->Website Properties->Home Directory 下创建 IIS 应用程序,则 iirfStatus 将完全停止工作。

有什么想法可以正确设置 ini 路径,还是只能在正确的 IIS 服务器版本上解决这个问题?

windows-xp iis rewrite zend-framework
  • 1 个回答
  • 441 Views
Martin Hope
zaidfarekh
Asked: 2010-03-09 12:46:30 +0800 CST

什么是本网站的合适服务器

  • 0

我们在我们的网站上使用 zend 框架,学说,每天至少有 2000 个用户,请考虑我们更喜欢服务器有操作码缓存。以及任何可以提高 php 性能的可用技术。我们听说 zend 服务器为 php 提供了最佳性能。请推荐可以处理此类应用程序的托管服务器或 vps 计划。鉴于我们的应用程序具有某种社交网络,即使在网站使用最少的情况下,它也会应用大量 ajax 请求,例如,在 30 分钟内,我们可能会收到来自单个用户的多达 400 个请求。先感谢您

performance php hosting zend-framework
  • 3 个回答
  • 118 Views
Martin Hope
sanders
Asked: 2010-02-22 12:39:47 +0800 CST

Ubuntu 向 bash 添加命令

  • 0

我正在使用 Zend 框架。最近我安装了 ZF 的最新版本。我尝试从 ubuntu 的终端使用 zend 工具。当我做 ZF show version 时,我仍然看到版本 1.9.6。如何确保该ZF命令将使用最新版本?

我想我曾经将 ZF 添加到我的终端配置文件中,但我不知道如何更改它。

谁能帮我?

ubuntu bash zend-framework
  • 1 个回答
  • 585 Views
Martin Hope
Shane Stillwell
Asked: 2010-02-10 09:54:18 +0800 CST

使用 Zend Server 时如何使用不同版本的 Zend Framework

  • 2

我已经安装了 Zend Server,并且 Zend Framework 与它捆绑在一起。我注意到我的新应用程序使用 Zend Server 版本的 Zend Framework (1.10),而不是我将 /library/Zend 指向的那个 (1.9.6)。

如何覆盖此默认行为?恐怕如果我将来升级 Zend Server,它会自动更新 Zend Framework 并可能会破坏我的应用程序。

总之,我在服务器上有两个版本的 Zend Framework,默认一个与 Zend Server 捆绑在一起(/usr/local/zend/share/ZendFramework),另一个版本位于我的应用程序旁边(./library/Zend )。

zend-framework zend-server
  • 1 个回答
  • 752 Views
Martin Hope
amir
Asked: 2010-01-10 00:15:21 +0800 CST

在 xampp 上启用 apache mod rewrite 的问题

  • 0

我正在尝试为 xampp 在 apache 上启用 mod 重写,我已取消注释代码

LoadModule rewrite_module modules/mod_rewrite.so

我也有 AllowOverride All ,但它仍然无法正常工作,

我收到错误 400,上面写着

错误的请求!

您的浏览器(或代理)发送了此服务器无法理解的请求。

所以我尝试安装其中包含 apache 的 zend 服务器社区版,我做了以下所有操作并且 url 重写工作,但这次 web 应用程序中的公共文件夹隐藏在 apache 中,当我尝试复制内容时的公用文件夹并在根目录中访问它我收到错误500,它说

内部服务器错误

服务器遇到内部错误或配置错误,无法完成您的请求。

如果有人可以帮助我设置其中之一,我将不胜感激,我正在尝试使用 zend 框架。

谢谢

.htaccess

SetEnv APPLICATION_ENV development

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

php_flag short_open_tags on

阿帕奇错误日志:

请求 GET /webfolder/zf-tutorial/public/index/add HTTP/1.1 中的 URI 无效,引用者: http://localhost/webfolder/zf-tutorial/public/

更新:我将 web 应用程序移动到 apache 中的 htdocs 并且现在一切正常,我之前将根目录指向以下目录

Alias /webfolder/ "C:/Users/Amir/Documents/webfolder/" 
Alias /webfolder "C:/Users/Amir/Documents/webfolder" 

任何想法为什么它以前不起作用。谢谢

php apache-2.2 xampp zend-framework
  • 2 个回答
  • 4073 Views
Martin Hope
theband
Asked: 2009-06-11 02:33:23 +0800 CST

Zend 框架安装

  • 0

完成 Zend 安装后出现此错误。

服务器错误!

服务器遇到内部错误,无法完成您的请求。服务器过载或 CGI 脚本中存在错误。

如果您认为这是服务器错误,请联系网站管理员。

php zend-framework
  • 2 个回答
  • 600 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve