Guys I don't know how to access my /etc/php.ini or how to edit it using SSH so I need help changing the site setting using a htaccess file. What is the code anyone know? Thanks, Brian
For access the /etc/ directory you need root privilege. Use some editor for edit the php.ini file. In command line use vi or vim editor, gedit etc.
I' really poor at SSH I used the htaccess way. # enable PHP error logging php_flag log_errors on php_value error_log /home/root/public_html/PHP_errors.log # prevent access to PHP error log <Files PHP_errors.log> Order allow,deny Deny from all Satisfy All </Files> Code (markup):
Hello, First you should find the path of php.ini file in the server using following command php -i | grep php.ini Code (markup): Once you get a path, you can use either vi or nano editor. I would suggest nano as it is user friendly for newbies. like nano <file name> Thanks
"I need help changing the site setting using a htaccess file." By Editing the php.ini, you are modifying the global php setting and not for any individual site. What exactly are you trying to attain?