View Full Version : [ubuntu] PHP5 Config File
heyman12
September 22nd, 2008, 11:42 PM
I installed LAMP server and now I need to tell webmin where the PHP5 config file is.
Does anyone know?
(please forgive me, I am quite new to these systems)
mbeach
September 23rd, 2008, 12:19 PM
its likely in /etc/php5/apache2
wetmonkey
September 23rd, 2008, 12:20 PM
Use the whereis command to find where php5 is on the system. It will return several locations, just look through those until you find the right ini file.
$whereis php5
mbeach
September 23rd, 2008, 12:39 PM
you might get better results with:
locate php.ini
whereis "finds the binary, source and manual page files for a command"
in this case the op is looking for the php config file, normally called php.ini. It is typically stored in the sub-folders of /etc/php5
zenos2
May 20th, 2009, 04:06 PM
Another note, is that I found when setting up webmin to manage my PHP configuration, I had to delete the CGI and CLI lines from the "module setup" screen in order for it to let me manage the ini file.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.