Symfony的-2.0阿帕奇厂商 [英] Symfony-2.0 vendors Apache

查看:140
本文介绍了Symfony的-2.0阿帕奇厂商的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装symfony的供应商和放大器;当我试图让与消息页面Apache服务重新启动...内存无法读取。

当我打开基本的测试页面,只是phpinfo()函数存在一切正常。
当我开始我的第一个步骤,从手动(前安装的厂商)都OK了。

我目前的配置:WinXP的SP3,的Apache2.2,PHP5.3.10,Symfony2.0.11,Postgres9.1,Git的猛砸,DEPS没有错误安装(不包括从第10次,但作为一个结果,列表如下),初始symfony的检查paseed(所有的OK),在php.ini中memory_limit的= 512M ...我不知道还有什么可能是有用的...

I'l AP preciate关于我的问题的任何建议。

DEPS文件的内容:

  [symfony的]
    混帐混帐=://github.com/symfony/symfony.git
    版本= V2.0.12[枝条]
    混帐= HTTP://github.com/fabpot/Twig.git
    版本V1.6.2 =[独白]
    混帐= HTTP://github.com/Seldaek/monolog.git
    版本1.0.2 =[学说常见]
    混帐混帐=://github.com/doctrine/common.git
    版本2.1.4 =[学说-DBAL]
    混帐混帐=://github.com/doctrine/dbal.git
    版本2.1.6 =[教义]
    混帐混帐=://github.com/doctrine/doctrine2.git
    版本2.1.6 =[swiftmailer]
    混帐混帐=://github.com/swiftmailer/swiftmailer.git
    版本= v4.1.5[assetic]
    混帐混帐=://github.com/kriswallsmith/assetic.git
    版本V1.0.3 =[小枝的扩展]
    混帐= HTTP://github.com/fabpot/Twig-extensions.git[元]
    混帐= HTTP://github.com/schmittjoh/metadata.git
    版本1.0.0 =[SensioFrameworkExtraBundle]
    混帐= HTTP://github.com/sensio/SensioFrameworkExtraBundle.git
    TARGET = /包/ SENSIO /包/ FrameworkExtraBundle
    版本=产地/ 2.0[JMSSecurityExtraBundle]
    混帐混帐=://github.com/schmittjoh/JMSSecurityExtraBundle.git
    TARGET = /包/ JMS / SecurityExtraBundle
    版本=产地/ 1.0.x的[SensioDistributionBundle]
    混帐= HTTP://github.com/sensio/SensioDistributionBundle.git
    TARGET = /包/ SENSIO /包/ DistributionBundle
    版本=产地/ 2.0[SensioGeneratorBundle]
    混帐= HTTP://github.com/sensio/SensioGeneratorBundle.git
    TARGET = /包/ SENSIO /包/ GeneratorBundle
    版本=产地/ 2.0[AsseticBundle]
    混帐= HTTP://github.com/symfony/AsseticBundle.git
    TARGET = /包/ Symfony的/包/ AsseticBundle
    版本V1.0.1 =

Apache的错误日志中的一小部分:

  [星期二3月20日17点五十分00秒2012] [声明]的Apache / 2.2.19(的Win32)PHP / 5.3.10配置 - 恢复正常运作
[星期二3月20日17时50分〇〇秒2012] [声明] Server内置:20 2011年5月17点39分35秒
[星期二3月20日17时50分〇〇秒2012] [声明]家长:创建子进程12844
[星期二3月20日17时50分〇〇秒2012] [调试] mpm_winnt.c(477):家长:发送记分牌给孩子
httpd.exe:无法可靠地确定了服务器的完全合格的域名,使用192.168.1.56对于ServerName
httpd.exe:无法可靠地确定了服务器的完全合格的域名,使用192.168.1.56对于ServerName
[星期二3月20日17时50分〇〇秒2012] [声明]儿童12844:子进程正在运行
[星期二3月20日17时50分〇〇秒2012] [资讯]家长:复制插座208并将其发送到子进程12844
[星期二3月20日17时50分〇〇秒2012] [调试] mpm_winnt.c(398):儿童12844:从父检索我们的记分牌。
[星期二3月20日17时50分〇〇秒2012] [调试] mpm_winnt.c(595):家长:发送1听众孩子12844
[星期二3月20日17时50分〇〇秒2012] [调试] mpm_winnt.c(554):儿童12844:1检索从听众父
[星期二3月20日17时50分〇〇秒2012] [声明]儿童12844:后天开始互斥。
[星期二3月20日17时50分〇〇秒2012] [声明]儿童12844:64开始工作线程。
[星期二3月20日17时50分〇〇秒2012] [声明]儿童12844:启动线程侦听端口80。
[星期二3月20日17点53分00秒2012] [声明]家长:子进程退出,状态3221225477 - 重新启动。
httpd.exe:无法可靠地确定了服务器的完全合格的域名,使用192.168.1.56对于ServerName
[星期二3月20日17点53分00秒2012] [声明]的Apache / 2.2.19(的Win32)PHP / 5.3.10配置 - 恢复正常运作
[星期二3月20日17点53分00秒2012] [声明] Server内置:5月20日17点39分35秒2011
[星期二3月20日17点53分00秒2012] [声明]家长:创建子进程14024
[星期二3月20日17点53分00秒2012] [调试] mpm_winnt.c(477):家长:发送记分牌给孩子
httpd.exe:无法可靠地确定了服务器的完全合格的域名,使用192.168.1.56对于ServerName
httpd.exe:无法可靠地确定了服务器的完全合格的域名,使用192.168.1.56对于ServerName
[星期二3月20日17点53分00秒2012] [声明]儿童14024:子进程正在运行
[星期二3月20日17点53分00秒2012] [资讯]家长:复制插座208并将其发送到子进程14024
[星期二3月20日17点53分00秒2012] [调试] mpm_winnt.c(398):儿童14024:从父检索我们的记分牌。
[星期二3月20日17点53分00秒2012] [调试] mpm_winnt.c(595):家长:发送1听众孩子14024
[星期二3月20日17点53分00秒2012] [调试] mpm_winnt.c(554):儿童14024:1检索从听众父
[星期二3月20日17点53分00秒2012] [声明]儿童14024:后天开始互斥。
[星期二3月20日17点53分00秒2012] [声明]儿童14024:64开始工作线程。
[星期二3月20日17点53分00秒2012] [声明]儿童14024:启动线程侦听端口80。


解决方案

我已经解决了!我的秘方是:下载php5.4(ZIP包)及复制文件与owerwrite到PHP文件夹中。只有一个缺点:不能为当前的PHP版本找到php_apc.dll:(

感谢 halfer 作为响应!

I've installed symfony vendors & when I'm trying to get page Apache service restarts with message "...Memory can't be read".

When i'm opening basic test page with just phpinfo() there everything is ok. And when i've started my first steps from manual (before vendors installation) everything gone ok.

My current config: WinXP SP3, Apache2.2, PHP5.3.10, Symfony2.0.11, Postgres9.1, Git Bash, deps installed without errors(not from first 10 times but as a result, list is below), initial symfony check paseed (all "OK"), in php.ini memory_limit = 512M... i dunno what else can be useful...

I'l appreciate any advice about my problem.

content of deps file:

[symfony]
    git=git://github.com/symfony/symfony.git
    version=v2.0.12

[twig]
    git=http://github.com/fabpot/Twig.git
    version=v1.6.2

[monolog]
    git=http://github.com/Seldaek/monolog.git
    version=1.0.2

[doctrine-common]
    git=git://github.com/doctrine/common.git
    version=2.1.4

[doctrine-dbal]
    git=git://github.com/doctrine/dbal.git
    version=2.1.6

[doctrine]
    git=git://github.com/doctrine/doctrine2.git
    version=2.1.6

[swiftmailer]
    git=git://github.com/swiftmailer/swiftmailer.git
    version=v4.1.5

[assetic]
    git=git://github.com/kriswallsmith/assetic.git
    version=v1.0.3

[twig-extensions]
    git=http://github.com/fabpot/Twig-extensions.git

[metadata]
    git=http://github.com/schmittjoh/metadata.git
    version=1.0.0

[SensioFrameworkExtraBundle]
    git=http://github.com/sensio/SensioFrameworkExtraBundle.git
    target=/bundles/Sensio/Bundle/FrameworkExtraBundle
    version=origin/2.0

[JMSSecurityExtraBundle]
    git=git://github.com/schmittjoh/JMSSecurityExtraBundle.git
    target=/bundles/JMS/SecurityExtraBundle
    version=origin/1.0.x

[SensioDistributionBundle]
    git=http://github.com/sensio/SensioDistributionBundle.git
    target=/bundles/Sensio/Bundle/DistributionBundle
    version=origin/2.0

[SensioGeneratorBundle]
    git=http://github.com/sensio/SensioGeneratorBundle.git
    target=/bundles/Sensio/Bundle/GeneratorBundle
    version=origin/2.0

[AsseticBundle]
    git=http://github.com/symfony/AsseticBundle.git
    target=/bundles/Symfony/Bundle/AsseticBundle
    version=v1.0.1 

a small part of apache error log:

[Tue Mar 20 17:50:00 2012] [notice] Apache/2.2.19 (Win32) PHP/5.3.10 configured -- resuming normal operations
[Tue Mar 20 17:50:00 2012] [notice] Server built: May 20 2011 17:39:35
[Tue Mar 20 17:50:00 2012] [notice] Parent: Created child process 12844
[Tue Mar 20 17:50:00 2012] [debug] mpm_winnt.c(477): Parent: Sent the scoreboard to the child
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.56 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.56 for ServerName
[Tue Mar 20 17:50:00 2012] [notice] Child 12844: Child process is running
[Tue Mar 20 17:50:00 2012] [info] Parent: Duplicating socket 208 and sending it to child process 12844
[Tue Mar 20 17:50:00 2012] [debug] mpm_winnt.c(398): Child 12844: Retrieved our scoreboard from the parent.
[Tue Mar 20 17:50:00 2012] [debug] mpm_winnt.c(595): Parent: Sent 1 listeners to child 12844
[Tue Mar 20 17:50:00 2012] [debug] mpm_winnt.c(554): Child 12844: retrieved 1 listeners from parent
[Tue Mar 20 17:50:00 2012] [notice] Child 12844: Acquired the start mutex.
[Tue Mar 20 17:50:00 2012] [notice] Child 12844: Starting 64 worker threads.
[Tue Mar 20 17:50:00 2012] [notice] Child 12844: Starting thread to listen on port 80.
[Tue Mar 20 17:53:00 2012] [notice] Parent: child process exited with status 3221225477 -- Restarting.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.56 for ServerName
[Tue Mar 20 17:53:00 2012] [notice] Apache/2.2.19 (Win32) PHP/5.3.10 configured -- resuming normal operations
[Tue Mar 20 17:53:00 2012] [notice] Server built: May 20 2011 17:39:35
[Tue Mar 20 17:53:00 2012] [notice] Parent: Created child process 14024
[Tue Mar 20 17:53:00 2012] [debug] mpm_winnt.c(477): Parent: Sent the scoreboard to the child
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.56 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.56 for ServerName
[Tue Mar 20 17:53:00 2012] [notice] Child 14024: Child process is running
[Tue Mar 20 17:53:00 2012] [info] Parent: Duplicating socket 208 and sending it to child process 14024
[Tue Mar 20 17:53:00 2012] [debug] mpm_winnt.c(398): Child 14024: Retrieved our scoreboard from the parent.
[Tue Mar 20 17:53:00 2012] [debug] mpm_winnt.c(595): Parent: Sent 1 listeners to child 14024
[Tue Mar 20 17:53:00 2012] [debug] mpm_winnt.c(554): Child 14024: retrieved 1 listeners from parent
[Tue Mar 20 17:53:00 2012] [notice] Child 14024: Acquired the start mutex.
[Tue Mar 20 17:53:00 2012] [notice] Child 14024: Starting 64 worker threads.
[Tue Mar 20 17:53:00 2012] [notice] Child 14024: Starting thread to listen on port 80.

解决方案

I've solved it! My recipe is: downloading php5.4 (zip pack) & copying files with owerwrite to php folder. Only one minus: couldn't find php_apc.dll for current php version :(

Thanks halfer for responds!

这篇关于Symfony的-2.0阿帕奇厂商的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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