Page 1 of 1

Where is php.ini ?

PostPosted: Tue Mar 12, 2013 1:42 am
by motorcookie
I've been looking in my directory for my php.ini to edit the maximum file upload, though I cannot find it.

Also, I heard you can edit .htaccess but I have an .htaccess.rar and when edited, my site goes down. Any help is appreciated.

Re: Where is php.ini ?

PostPosted: Fri Mar 15, 2013 4:41 am
by SamEA
Create a php file with the following code:
Code: Select all
<?php phpinfo(); ?>


Afterwards, access that file via your browser and look for "Loaded Configuration File". That should reveal the full path to your php.ini file.

Re: Where is php.ini ?

PostPosted: Fri Mar 15, 2013 5:14 am
by motorcookie
That did it, thanks! :D

Re: Where is php.ini ?

PostPosted: Tue Mar 19, 2013 2:41 am
by SamEA
Glad your issue was resolved!