|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2019-12-19 08:47 UTC] patrick dot fazzi at ped dot technology
Description: ------------ I am testing the new preloading feature but it still doesn't work. If i run the built in web server with the following command: php -dopcache.preload="/projects/PED/NutriBees/var/cache/prod/srcApp_KernelProdContainer.preload.php" -dopcache.enable=1 -S localhost:8090 I get this output: [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Symfony\Bundle\FrameworkBundle\DependencyInjection\CompatibilityServiceSubscriberInterface in /projects/PED/NutriBees/vendor/symfony/framework-bundle/DependencyInjection/CompatibilityServiceSubscriberInterface.php on line 28 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator in /projects/PED/NutriBees/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/SymfonyFileLocator.php on line 28 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver in /projects/PED/NutriBees/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php on line 28 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\Mapping\Driver\FileLocator in /projects/PED/NutriBees/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/FileLocator.php on line 28 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\Mapping\Driver\FileDriver in /projects/PED/NutriBees/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php on line 28 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain in /projects/PED/NutriBees/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php on line 28 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\Event\LifecycleEventArgs in /projects/PED/NutriBees/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Event/LifecycleEventArgs.php on line 28 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\Event\LoadClassMetadataEventArgs in /projects/PED/NutriBees/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Event/LoadClassMetadataEventArgs.php on line 28 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\Event\ManagerEventArgs in /projects/PED/NutriBees/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Event/ManagerEventArgs.php on line 28 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class class@anonymous in /projects/PED/NutriBees/vendor/symfony/service-contracts/ServiceLocatorTrait.php on line 119 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class class@anonymous in /projects/PED/NutriBees/vendor/symfony/service-contracts/ServiceLocatorTrait.php on line 113 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class class@anonymous in /projects/PED/NutriBees/vendor/symfony/cache-contracts/CacheTrait.php on line 44 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Symfony\Contracts\EventDispatcher\EventDispatcherInterface in /projects/PED/NutriBees/vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php on line 20 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\Mapping\ClassMetadata in /projects/PED/NutriBees/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/ClassMetadata.php on line 28 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\Mapping\Driver\MappingDriver in /projects/PED/NutriBees/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriver.php on line 28 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\ObjectManager in /projects/PED/NutriBees/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/ObjectManager.php on line 28 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\ObjectRepository in /projects/PED/NutriBees/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/ObjectRepository.php on line 28 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class class@anonymous in /projects/PED/NutriBees/vendor/symfony/http-kernel/Kernel.php on line 540 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class League\Uri\Schemes\Ws in /projects/PED/NutriBees/vendor/league/uri-schemes/src/Schemes/deprecated.php on line 98 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class League\Uri\Schemes\UriException in /projects/PED/NutriBees/vendor/league/uri-schemes/src/Schemes/deprecated.php on line 88 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class League\Uri\Schemes\Uri in /projects/PED/NutriBees/vendor/league/uri-schemes/src/Schemes/deprecated.php on line 78 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class League\Uri\Schemes\Http in /projects/PED/NutriBees/vendor/league/uri-schemes/src/Schemes/deprecated.php on line 68 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class League\Uri\Schemes\Ftp in /projects/PED/NutriBees/vendor/league/uri-schemes/src/Schemes/deprecated.php on line 58 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class League\Uri\Schemes\File in /projects/PED/NutriBees/vendor/league/uri-schemes/src/Schemes/deprecated.php on line 48 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class League\Uri\Schemes\Data in /projects/PED/NutriBees/vendor/league/uri-schemes/src/Schemes/deprecated.php on line 38 [Thu Dec 19 09:44:04 2019] PHP Warning: Can't preload already declared class League\Uri\Schemes\AbstractUri in /projects/PED/NutriBees/vendor/league/uri-schemes/src/Schemes/deprecated.php on line 28 zend_mm_heap corrupted PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 13:00:01 2025 UTC |
Sorry, I was wrong. I was running PHP 7.4.2RC1 with Opcache 7.4.1 ➜ 7.4.2RC1 ./bin/php -v PHP 7.4.2RC1 (cli) (built: Jan 11 2020 19:52:52) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.1, Copyright (c), by Zend TechnologiesI have the same issue: [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning: Can't preload already declared class Symfony\Bundle\FrameworkBundle\DependencyInjection\CompatibilityServiceSubscriberInterface in /project/vendor/symfony/framework-bundle/DependencyInjection/CompatibilityServiceSubscriberInterface.php on line 28 [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning: Can't preload unlinked class class@anonymous: Unknown interface Psr\Container\ContainerExceptionInterface in /project/vendor/symfony/service-contracts/ServiceLocatorTrait.php on line 119 [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning: Can't preload unlinked class class@anonymous: Unknown interface Psr\Container\NotFoundExceptionInterface in /project/vendor/symfony/service-contracts/ServiceLocatorTrait.php on line 113 [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\ObjectManager in /project/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/ObjectManager.php on line 13 [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\AbstractManagerRegistry in /project/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php on line 13 [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\ManagerRegistry in /project/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/ManagerRegistry.php on line 13 [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning: Can't preload already declared class Doctrine\Common\Persistence\ConnectionRegistry in /project/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/ConnectionRegistry.php on line 13 [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning: Can't preload already declared class Symfony\Contracts\EventDispatcher\EventDispatcherInterface in /project/vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php on line 41 [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning: Can't preload unlinked class class@anonymous: Unknown parent Symfony\Component\Config\ConfigCache in /project/vendor/symfony/http-kernel/Kernel.php on line 540 php -v PHP 7.4.2 (cli) (built: Jan 23 2020 11:21:13) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.2, Copyright (c), by Zend Technologies with Xdebug v2.9.1, Copyright (c) 2002-2020, by Derick Rethans