简体   繁体   中英

Error while installing composer Syntax error in php.ini file

I want install composer. But when I am typing install composer , it is showing that PHP:

syntax error, unexpected END_OF_LINE, expecting '=' in C:\\xamppNAV\\php\\php.ini on line 2

And I looked through the php.ini file, there is nothing on line 2

How can i solve this and install composer?

PS. You can see my php.ini code in picture below:

php.ini中

Remove v from line 1.

Line 1 should look like this:

[PHP]

You should remember to restart your server after such changes.

Check here for reference .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM