For example, I want to open the php.ini file and the httpd.conf file of apache, but I forgot where to install these two files. How should I find and open these two files in this case?
淡淡烟草味2017-06-06 09:54:37
find / -name "php.ini"
find / -name "httpd.conf"
vi path/php.ini path/httpd.conf
给我你的怀抱2017-06-06 09:54:37
If you install the software using apt-get (apt), you can search the Internet for the default installation path of the software. Also pay attention to the Ubuntu version, which is not necessarily the same, and then just remember the path. Generally, configuration files are in the /etc/ directory.