首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Symfony-2.0供应商Apache

Symfony-2.0供应商Apache
EN

Stack Overflow用户
提问于 2012-03-20 22:44:24
回答 1查看 366关注 0票数 1

我已经安装了symfony vendors &当我试图重新启动Apache服务页面时,会显示消息"...Memory‘t be read“。

当我只用phpinfo()打开基本测试页面时,一切都正常。当我从手册(在供应商安装之前)开始我的第一步时,一切都很顺利。

我当前的配置: WinXP SP3,Apache2.2,PHP5.3.10,Symfony2.0.11,Postgres9.1,Git Bash,deps安装没有错误(不是从前10次开始,但结果是,列表如下),初始symfony检查通过(所有"OK"),在php.ini memory_limit = 512M...我不知道还有什么是有用的..。

如果您对我的问题有任何建议,我将不胜感激。

deps文件内容:

代码语言:javascript
复制
[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 

apache错误日志的一小部分:

代码语言:javascript
复制
[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.
EN

回答 1

Stack Overflow用户

发布于 2012-03-21 16:25:36

我已经解决了!我的秘诀是:下载php5.4 (zip压缩包)并使用owerwrite将文件复制到php文件夹。只有一个减号:找不到当前php版本的php_apc.dll :(

感谢halfer的回复!

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9788980

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档