Run the phpinfo script
and check near the top of the first table there which php.ini is being used by your php engine. You'd then need to override the file in that location with yours.
P.S Don't forget to back up the old one first before overriding it.
Hey there r035198x,
I've done that already and it's definitely using the standard one. The thing is, apparently it's possible to keep the standard one in the normal place, but put a different one in your own web directory.
So, the main one is in /etc/php5/apache2 but my website is in /var/www/html/mysite. Obviously for security I can't get into /etc/php5/apache2 anyway, so I need to place my php.ini file into var/www/html/mysite, which I can do (and have done).
But my question is how do I then tell php to use the php.ini file in var/www/html/mysite, whenever pages in the mysite directory are being loaded?