Saturday, November 26, 2022

Direct Admin Control Panel

fixing Starting httpd: Syntax error on line 35 of /usr/local/directadmin/data/users/mainr/httpd.conf: Invalid command ‘php_admin_flag’, perhaps...

Starting httpd: Syntax error on line 35 of /usr/local/directadmin/data/users/mainr/httpd.conf: Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration ./build rewrite_confs service httpd restart

fix diretadmin php compiling error gcc: /usr/lib/mysql/libmysqlclient_r.so: No such file or directory make:...

gcc: /usr/lib/mysql/libmysqlclient_r.so: No such file or directory make: *** Error 1 cd /usr/lib cp libmysqlclient.* /usr/lib/mysql/ cd /usr/lib/mysql/ then cd /usr/local/directadmin/custombuild ./build clean ./build update ./build php5-cli y if it didn't help try the following cd /usr/lib/ ln -s/usr/lib/libmysqlclient.so mysql/ ln -s/usr/lib/libmysqlclient.so.15 mysql/ ln...

Fixing You need to install the LWP perl module (libwww-perl) and then install csf

I had just installed Direct Admin control panel on my centos server It was my first time dealing with Direct Admin so after that I decided to install CSF to protect server againts common attacks...