Shell-php environment configuration problems

Source: Internet
Author: User
The following are the issues I have encountered: I moved the wordpress script on linux to the local device. The installation error is found. The specific problem is not very clear. Calling the Extended Function in mb_string in some places reports the chromeProvisionalheadersareshown error. The local win... here is the problem. I will describe it in several parts:
  1. I moved the wordpress script on linux to the local device. The installation error is found. The specific problem is still unclear. Calling the extended functions in mb_string in some places reports the chrome Provisional headers are shown error;

  2. The laravel framework project in the local window can run normally. An error is reported when the phpinfo function is used. The chrome Provisional headers are shown error ., The php-m command shows the extended output of mb_string;

  3. Extension_loaded ('php _ mbstring') Outputs false to change the extension and does not load it. Curious, I tried the dl function and found that there is no dl function, php. in the ini file, we found enable_dl = Off. I set enable_dl = On. if no effect is found, I will use php. all INI files are deleted, and a letter is randomly typed on them, and the system can still be restarted;

  4. The problem may be caused by the php. ini file. Because I have installed Multiple php versions, I don't want to determine the directory of the php. ini configuration file like phpinfo;

  5. This is also a php_mb_string extension problem. The php_substring file I have debugged has been opened.

Reply content: The following is the problem. I will describe it in several points:
  1. I moved the wordpress script on linux to the local device. The installation error is found. The specific problem is still unclear. Calling the extended functions in mb_string in some places reports the chrome Provisional headers are shown error;

  2. The laravel framework project in the local window can run normally. An error is reported when the phpinfo function is used. The chrome Provisional headers are shown error ., The php-m command shows the extended output of mb_string;

  3. Extension_loaded ('php _ mbstring') Outputs false to change the extension and does not load it. Curious, I tried the dl function and found that there is no dl function, php. in the ini file, we found enable_dl = Off. I set enable_dl = On. if no effect is found, I will use php. all INI files are deleted, and a letter is randomly typed on them, and the system can still be restarted;

  4. The problem may be caused by the php. ini file. Because I have installed Multiple php versions, I don't want to determine the directory of the php. ini configuration file like phpinfo;

  5. This is also a php_mb_string extension problem. The php_substring file I have debugged has been opened.

It is not recommended to directly integrate the development environment on your computer.
Install vagrant + virtualbox in minutes to solve these meaningless problems.

Here, I will give a response. First of all, I think your question is not clear enough. I have modified your question for you to better understand and analyze it clearly.
Below, I have some questions: Are you building a separate WAMP environment or using an integrated installation environment? If it is an integrated installation environment, I think the php you changed. the ini configuration file may not be the php configuration file called during the actual runtime, and the error message you mentioned is never seen before. I hope you can paste the graph. Let's make a detailed analysis and answer.

This problem should occur when multiple PHP versions are installed, and the php configuration file corresponding to each version is not clear, so the above error will occur and the php configuration file can still be deleted, we recommend that you carefully check the configuration file corresponding to each version of php and the settings in the configuration file.

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.