How does one enable the -- disable-xxx function in linux-php?

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.