Re: php.ini
Posted: Fri May 23, 2014 4:08 pm
Actually I found this out and if you're using the hosting options you need to edit this file:
/home/username/conf/web/apache2.conf
Find this:
Replace with:
Then Restart apache:
/home/username/conf/web/apache2.conf
Find this:
Code: Select all
<Directory /home/user/web/users.com/public_html>
AllowOverride All
Options +Includes -Indexes +ExecCGI
php_admin_value upload_tmp_dir /home/user/tmp
php_admin_value upload_max_filesize 2M
php_admin_value max_execution_time 120
php_admin_value post_max_size 2M
php_admin_value memory_limit 32M
php_admin_flag mysql.allow_persistent off
php_admin_flag safe_mode off
php_admin_value session.save_path /home/user/tmp
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f info@user$
</Directory>
Code: Select all
<Directory /home/user/web/users.com/public_html>
AllowOverride All
Options +Includes -Indexes +ExecCGI
php_admin_value upload_tmp_dir /home/user/tmp
php_admin_value upload_max_filesize 50M
php_admin_value max_execution_time 120
php_admin_value post_max_size 50M
php_admin_value memory_limit 64M
php_admin_flag mysql.allow_persistent off
php_admin_flag safe_mode off
php_admin_value session.save_path /home/user/tmp
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f info@user$
</Directory>
Code: Select all
service apache2 restart