Exaweb
Verified User
The new php.ini file is not DirectAdmins editor. To do this, simply add:
to the bottom of /usr/local/directadmin/data/templates/edit_files.txt
Or run this perl code to update the existing one (will remove the old php.ini):
Code:
/usr/local/etc/php5/cgi/php.ini=user=root&group=root&permission=644
Or run this perl code to update the existing one (will remove the old php.ini):
Code:
perl -pi -e 's#/usr/local/lib/php.ini.*#/usr/local/etc/php5/cgi/php.ini=user=root&group=root&permission=644#' /usr/local/directadmin/data/templates/edit_files.txt