i wrote s simple bash script that will check php-mail.log of users and will send an email if it exceed specific size.
it will help to find spammer scripts and delete or warn users to stop bots from using server resources.
Please feel free to improve this script and share it here if you like...
i found that in every user hosting account , there is an awstats/icon folder with 2mb size , and some static files.
this folder shuld be a symbolic link , for resource it use on disk space , and backup/restore time.
my old hdd crashed and we install a new OS on new HDD
we have all data on old hdd
how can we transfer all users from old HDD ?
we have access to /usr/local/directradmin data
also where db user/pass for users stored ?
Thank u all
recently i upgraded server with yum
my backups now start to run in ~6:30 pm and server load become high , but i seted up cron backup to run at ~3:30 am !
server time zone is +3:30
where i should check to solve this ?
i have default DA template with this lines :
php_admin_value open_basedir |OPEN_BASEDIR_PATH|
suPHP_UserGroup |USER| |GROUP|
but user httpd.conf has not php_admin_value...
a user shuldn't save all database users info .. so he should be able to login to phpmyadmin trough his control panel without entering his user/pass (like cpanel)
it can be done by storing db users info on DA database.
we change to
in conf file and restart DA,
when we set domain as default in domain user control panel symbolc link was not created because directory with that name exist. we shuld delete dir manuly for this to work
please correct it.
how to install fastcgi for a php5 only server?
i buld php and apache with custombuild and compile php with fastcgi option,
i also install fastcgi to apache,
but i dont know what config shuld i do to activate it
this is very helfull in this forum.
i read on forum that suphp is an option , so how to disable it ?
and here i see a line wrote ""--enable-fastcgi"" ,
is it possible to have fastcgi witouth suphp ? please answer this today because i have to install such a server.