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

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -