shell - can't seem to access php.ini -


i'm using shell login ubuntu server. want enable curl in php.ini

i used command whereis php.ini shows /usr/bin/php location php.ini.

however everytime try cd php says 'php not directory' how can edit php.ini?

or need create 1 somewhere else?

/usr/bin/php executable interpreter php.

you need locate existing php.ini file:

$ find / -name php.ini 

you expect find somewhere in /etc, might find quicker:

$ find /etc -name php.ini 

Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -