私はsymfonyフレームワークに基づいてサイトを持っていますが、上的環境を開発し、私は例外を除いて、ランダムなクラッシュを持っている:(不正な文字付き)symfonyのランダムにクラッシュ - DebugClassLoader.php
Warning: class_implements(): Class ���� does not exist and could not be loaded
または
Warning: class_implements(): Class H�d ���� does not exist and could not be loaded
または
ContextErrorException in DebugClassLoader.php line 203:
Warning: class_implements(): Class multipart/form-data does not exist and could not be loaded
(PHPはGET symfonyの形態及び要求をされ使用されていません)
または
OutOfMemoryException in DebugClassLoader.php line 203:
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1141972672 bytes)
(メモリーの上限は128メガバイトに設定されているが、要求のために約6メガバイトを必要とされている)
このすべて異なる例外は(テスト目的のために)同じパラメータを持つ1つのURLにスローされたので、彼らウェブ全体をランダムに投げている。
このバグは生産中ではありません。環境のみを開発しています。
環境を開発するのはWindows 7マシンで、XAMPP/apacheを使用しています。
私はrestap apacheを押してF5を押しても問題ありません。
私はすべてのキャッシュをクリアしようとしていましたが、成功しませんでした。
アイデア?
EDIT:アクティブOPCache後
問題が解決しない...
私はCLI
からコマンドphp bin/symfony_requirements
を実行した場合 > PHP is using the following php.ini file: C:\xampp7.0.9\php\php.ini > Checking Symfony requirements: ...........................WW....... [OK] Your system is ready to run Symfony projects Optional recommendations to improve your setup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * intl extension should be available > Install and enable the intl extension (used for validators). * a PHP accelerator should be installed > Install and/or enable a PHP accelerator (highly recommended). Note The command console could use a different php.ini file ~~~~ than the one used with your web server. To be on the safe side, please check the requirements from your web server using the web/config.php script.
APCを使用していますか? – COil
私はあなたの質問を更新しました - あなたが写真で見ることができるように - いいえ、私はAPCを使用していません。 –
窓が窓から来ていると思ってください。しかし、少なくともアクセラレータを有効にする必要があります。 CLIでプロジェクトのルートに 'php bin/symfony_requirements'を起動し、エラーが報告されているかどうかを確認してください。 – COil