I am having some difficulty using a Wordpress site on a server with the DA GUI installed. The problem is that when I try to update the plugins through WP, it asks me for ftp credentials. This issue can be caused by one of two things: incorrect permissions, which is not the issue (I fully checked this), or the fastCGI module for apache is missing. I have since verified that it is missing, using the apache show module command (it is not in the list). I have performed other tests as well, including using a phpinfo.php file to check if the module is running.
So, I found a DA forum post that tells how to fix this error, through the command line, for DA using custombuild 2.0: https://forum.directadmin.com/threads/howto-mod_fcgid-in-cb-2-0-switchable-to-suphp.45386/ . My server, which has been newly fully updated, is only running version 1 of CustomBuild. I used the commands to check this on the server.
So, when I tried to follow the instructions in that post, I kept getting errors. The errors that I was getting are as follows:
cd /usr/local/src
[root@server src]# wget http://mirrors.issp.co.th/apache/httpd/mod_fcgid/mod_fcgid-2.3.7.tar.bz2
--2022-01-12 15:18:38-- http://mirrors.issp.co.th/apache/httpd/mod_fcgid/mod_fcgid-2.3.7.tar.bz2
Resolving mirrors.issp.co.th (mirrors.issp.co.th)... failed: Name or service not known.
wget: unable to resolve host address ‘mirrors.issp.co.th’
[root@server src]# tar xjf mod_fcgid-2.3.7.tar.bz2
tar (child): mod_fcgid-2.3.7.tar.bz2: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
I have tried several different methods to install the missing module and allow it to run, and each of them fails in a similar way. This was a fresh install of what was the latest version of DA, so I am confused that it doesn't have the latest version of CB. T
I tried this on a forum recommending use of the command line for centos 8: https://www.linode.com/docs/guides/how-to-install-and-configure-fastcgi-and-php-fpm-on-centos-8/
which also failed, and here for updating on a server using almalinux8. https://neutroncloud.in/docs/how-to-install-php-fpm-for-nginx-on-almalinux/ upon getting to step 5, it says the file cannot be found. I am running AlmaLinux, but this problem was occurring before I converted from Centos 8.
Can someone please provide instruction for enabling or installing this plugin, through the command line or through the interface, to fix this issue? It needs to be the correct one for this version of CustomBuild. Or perhaps there is a way to toggle to a higher version of Custombuild? Any assistance is appreciated. Thanks!
So, I found a DA forum post that tells how to fix this error, through the command line, for DA using custombuild 2.0: https://forum.directadmin.com/threads/howto-mod_fcgid-in-cb-2-0-switchable-to-suphp.45386/ . My server, which has been newly fully updated, is only running version 1 of CustomBuild. I used the commands to check this on the server.
So, when I tried to follow the instructions in that post, I kept getting errors. The errors that I was getting are as follows:
cd /usr/local/src
[root@server src]# wget http://mirrors.issp.co.th/apache/httpd/mod_fcgid/mod_fcgid-2.3.7.tar.bz2
--2022-01-12 15:18:38-- http://mirrors.issp.co.th/apache/httpd/mod_fcgid/mod_fcgid-2.3.7.tar.bz2
Resolving mirrors.issp.co.th (mirrors.issp.co.th)... failed: Name or service not known.
wget: unable to resolve host address ‘mirrors.issp.co.th’
[root@server src]# tar xjf mod_fcgid-2.3.7.tar.bz2
tar (child): mod_fcgid-2.3.7.tar.bz2: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
I have tried several different methods to install the missing module and allow it to run, and each of them fails in a similar way. This was a fresh install of what was the latest version of DA, so I am confused that it doesn't have the latest version of CB. T
I tried this on a forum recommending use of the command line for centos 8: https://www.linode.com/docs/guides/how-to-install-and-configure-fastcgi-and-php-fpm-on-centos-8/
which also failed, and here for updating on a server using almalinux8. https://neutroncloud.in/docs/how-to-install-php-fpm-for-nginx-on-almalinux/ upon getting to step 5, it says the file cannot be found. I am running AlmaLinux, but this problem was occurring before I converted from Centos 8.
Can someone please provide instruction for enabling or installing this plugin, through the command line or through the interface, to fix this issue? It needs to be the correct one for this version of CustomBuild. Or perhaps there is a way to toggle to a higher version of Custombuild? Any assistance is appreciated. Thanks!