To find php.in, run following in command prompt

Code:
php -i| grep php.ini
Or lool at

http://yourdomain.ext/phpinfo.php

You need root access on the server to edit it yourself.