Phpversion: 5.4 because it is a development machine, the system image (Centos) is provided by the O & M team, and the development environment is uniform. It is estimated that they have sent phar to disable during compilation, when laravel is installed, the system prompts Class & #039; Phar & #039; notfound, which is also displayed in phpinfo & #039; -- disable-pha... php version: 5.4
Because it is a development machine, the system image (Centos) is provided by the O & M team, and the development environment is uniform. It is estimated that the phar is assigned to disable during compilation, which leads to a prompt when laravel is installed.
Class 'phar 'not found, '-- Disable-phar' is also displayed in phpinfo '!
Can you -- enable-phar without re-Compiling and installing php!
Reply content:
Php version: 5.4
Because it is a development machine, the system image (Centos) is provided by the O & M team, and the development environment is uniform. It is estimated that the phar is assigned to disable during compilation, which leads to a prompt when laravel is installed.Class 'phar 'not found, '-- Disable-phar' is also displayed in phpinfo '!
Can you -- enable-phar without re-Compiling and installing php!
Why not re-compile it? Just re-compile it. If you do not have the permission, ask O & M to give you the permission. If you refuse to give you the permission, ask him to compile it for you. If you choose to tighten the permission, you must satisfy the legitimate needs of relevant personnel.
If O & M does not give you permissions and does not help you re-compile, it will tell the boss that O & M affects your normal work and ask the boss to help you solve the problem. If you are the boss, you should let him compile it.