它是更多钞票使用symfony的2.0 WAMP服务器可靠? [英] Is it posible to use symfony 2.0 with WAMP server reliably?

查看:186
本文介绍了它是更多钞票使用symfony的2.0 WAMP服务器可靠?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的设置:


  • Windows XP SP2的

  • WAMP 2.2(PHP 5.3.9,阿帕奇2.2.21和MySQL 5.5.20)

  • Symfony的2.0

我碰到一个问题,就是基本上是这样的:

I run into a problem which is basically this:

Symfony的,2.0的Apache厂商

一切似乎是罚款:


  • 运行mysqltest.php OK连接到数据库。

  • 本地主机/网络/ config.php文件是OK(只是建议设立国际和APC)

  • PHP应用程序/ bin中学说:模式:打造成功创建架构

但是,当我尝试:


  • 本地主机/网络/ app.php

  • 本地主机/网络/ app_dev.php

Apache的崩溃(窗口弹出说着有关的php5ts.dll),并在日志中唯一有意义的事情说:

Apache crashes (windows popup saying something about php5ts.dll) and the only meaningful thing on the log says:


  • [周五4月27日5时03分54秒2012] [声明]儿童3528:启动线程侦听端口80

  • [周五4月27日5时07分00秒2012] [声明]家长:子进程退出,状态3221225477 - 重新启动

  • [周五4月27日5时07分01秒2012] [声明]的Apache / 2.2.21(的Win32)PHP / 5.3.9配置 - 恢复正常运作

要我引用previously问题的解决方案是使用PHP 5.4,那么,在规定
我怎么向PDO用PHP 5.4 WAMP工作?
除了5.4不受WAMP被正式支持,许多分机不上5.4工作(APC,PDO也许?)。

The solution to the question I referenced previously is to use php 5.4, well, as stated in How do I get PDO to work on WAMP with PHP 5.4? besides 5.4 not being officially supported by WAMP, many extensions don't work on 5.4 (APC, PDO maybe?).

早期PHP版本也排除了。官方WAMP插件仅适用于PHP 5.3.0和5.3.1的存在,而Symfony2中至少需要5.3.2。

Older versions of php are also ruled out. Official WAMP addons exist only for php 5.3.0 and 5.3.1, while symfony2 requires at least 5.3.2.

我也试过这个在Windows Server 2003的计算机上,具有相同的结果。
这是考虑我甚至考虑在Linux VM符合我一贯的symfony设置扔在服务器上那么多时间。

I also tried this on a Windows Server 2003 machine, with the same results. This is taking so much time I'm even considering throwing in a Linux VM on the server with my usual symfony setup.

所以,我需要知道它是否是更多钞票有一个稳定的Symfony2 / WAMP2.2环境,这并不意味着失去扩展和Symfony2的功能,如教义。

So I need to know whether it's posible to have a stable symfony2/WAMP2.2 environment which does not imply losing extensions and symfony2 functionality such as doctrine.

任何意见都欢迎。

推荐答案

我无法管理,使wampserver的工作。

I could not manage to make wampserver work.

我也尝试 XAMPP 1.7.7(PHP 5.3.8)其他发行以及又一遍地遇到同样的问题。

I have also tried XAMPP 1.7.7 (php 5.3.8) and other distributions as well and ran into the same issue over and over.

显然,我一直在receiveing​​错误消息是没有作用的,因为建议这里,它只是一个东西坠毁的消息。

Apparently the error message I have been receiveing is not useful at all, as suggested here, it's just a "something crashed" message.

我找不到任何其他的信息传达中的任何设备的日志,所以我不能告诉阉这是一个错误Symfony2中,一个PHP错误或Apache的一个错误。

I couldn't find any other message out of the logs in any of the installations, so I can't tell wether this is a symfony2 bug, a php bug or an apache bug.

不管怎样,错误消息我得到是完全没用的,我所能做的是远离Windows移动。在虚拟机我安装一个LAMP(Linux)的环境,并从WINDOS主机运行它,它已经好几个月,我至今没有过任何问题。

Anyway, the error message I got being completely useless, all I could do is moving away from Windows. I setup a LAMP(Linux) environment in virtual machine and run it from a Windos host, it's been some months and I haven't had any issues so far.

这篇关于它是更多钞票使用symfony的2.0 WAMP服务器可靠?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆