Creating a custom php.ini file can be useful in certain circumstances such as allowing different functions on different accounts, or memory limits, etc.
Note: Make sure to replace USERNAME with the account's username.
Firstly, run this in SSH:
cp /usr/local/lib/php.ini /home/USERNAME/public_html
Next, run this in SSH (make sure you're in public_html):
chown USERNAME:USERNAME php.ini
Finally, edit the .htaccess file in public_html and add this line:
SetEnv PHPRC /home/USERNAME/public_html/php.ini
- 69 Users Found This Useful
Related Articles
How do I install ConfigServer Firewall on my server?
Security is something that has to be taken into consideration when running a server. This helps...
Random Root Password Generation
Why is my root password randomly generated? Good question! At Hudson Valley Host, we're...
How do I access SolusVM?
You can access SolusVM for your VPS account here: http://vps.hudsonvalleyhost.com:5353
cPanel Server Management
Tier 1 Management - $9 per monthUnlimited Server Admin WorkInitial Server OptimizationSecurity...
My windows VM keeps shutting down / How to activate trial License for windows 2008 KVM VPS.
If your windows VM keeps shutting down it is because the windows trial license is not activated....