Symfony-2.0 вендоров Apache - PullRequest
1 голос
/ 20 марта 2012

Я установил поставщиков Symfony, и когда я пытаюсь получить страницу, служба Apache перезапускается с сообщением «... Память не читается».

Когда я открываю базовую тестовую страницу просто с помощью phpinfo (), все в порядке. И когда я начал свои первые шаги с руководства (до установки поставщиков), все прошло нормально.

Моя текущая конфигурация: WinXP SP3, Apache2.2, PHP5.3.10, Symfony2.0.11, Postgres9.1, Git Bash, deps установлен без ошибок (не с первых 10 раз, но в результате список приведен ниже), начальный paseed проверка symfony (все "ОК"), в php.ini memory_limit = 512M ... я не знаю, что еще может быть полезным ...

Буду признателен за любые советы по моей проблеме.

содержимое файла deps:

[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:

[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.

1 Ответ

0 голосов
/ 21 марта 2012

Я решил это!Мой рецепт: загрузка php5.4 (пакет zip) и копирование файлов с помощью owerwrite в папку php.Единственный минус: не удалось найти php_apc.dll для текущей версии php: (

Спасибо Halfer за ответы!

...