Nice one Sandeep, I tryed to fix TLS a few days ago, thanks to you is ok now.
Your the best.
Nice one Sandeep, I tryed to fix TLS a few days ago, thanks to you is ok now.
Your the best.
@sandeep It's the first account I was goint to migrate, there is nothing installed, what I did was Clear all cache from browser, Fresh install, everything goes OK, but when I try o access WP-ADMIN.PHP to get into wordpress backend the ERR_TOO_MANY_REDIRECTS comes out, not in the frontend.
Maybe I modify something before from the main isntall at CWP, something that is forcing apache to do this.
UPDATE
I wrote the above message lastnight, IT WAS NOT WORKING, this morning I clear everything once again on a fresh install, GUESS WHAT, is working.
SOLVE for now.
@sandeep Sorry Sandeep, I try that one with no luck, I also tryed some other alternatives to the redirect code with no luck, I really don't know what to do...!!
Is there a way CWP is overriding what I try to do to the .htaccess file in the local site with the redirect code?
Hi Sandeep once again, I've been tooning up the server and everything goes well, I don't know what I mess up but I came out twith the error of too many redirects, I've try that client side sugested fixes (flush dns, clear cache) and all that, but it does not work, I know it was something I did in the server but I don't know where to look for a fix.
the odd thing is that the wordpress site loads as expected, but when I try to access the backend of wordpress the error comes out.
Master SanDeep please show me the way...!!
Thanks in advance.
Thanks @josepp, that is just what I have been doing, ModSec learning curve, so far enabled COMODO and disabled ModSecurity from the local accounts, my working team is just two people, we have to finish migrating and then tune up ModSec site by site, what I do know is that ModSecurity will be in our lives from now on.
Hi @sandeep, I've got something else today, the server is running and working like a charm, but when I install ModSecurity and enable OWASP or COMODO rules, if I try to work in the site everything stops working properly... First 403, then Uploading files..., then database migration..., then wordpress...
What I did was to to white list some of the rules I was finding in ModSecurity log by its ID, for example:
SecRuleRemoveById 980130
SecRuleRemoveById 949110
SecRuleRemoveById 941100
SecRuleRemoveById 911100
SecRuleRemoveById 920350
SecRuleRemoveById 913100
SecRuleRemoveById 920280
I haven't even started to work full on the site, I'll I have been doing is setting it up and all these trouble......!!
My real question is how can I better handle ModSecurity, so all my sites don't get all these false positive?? is there a known false positive list, just to add and let it be?? Can I just white list IP's, my IP and the servers IP maybe??.
Thanks in advance.
PS (IT'S UNINSTALLED FOR NOW..!!)
@jesu-villawolf said in Fail to install PHP-FPM 7.1 - 7.4:
One more thiong @Sandeep is it ok to have a swap file for a CWP Web server? It worked for me in order to compile, but for the webserver??
Thanks in advance.
@sandeep Thanks for the implicit answer, you said it all, the file /var/log/php-selector-rebuild.log
This file had a line regarding "virtual memory exhausted: Cannot allocate memory", it seem that between the OS, CWP procecess and the PHP COMPILE, the memory was not enought. I forgot to tell you I have a basic AWS Instance from Lightsail 1GB Ram, 1 CPU and 40GB SSD.
What I did was to make a swap file to help out the memory, and this is how I did it...
swapon --show # Shows your swap
sudo dd if=/dev/zero of=/swap bs=1024 count=1M # Create a file with a size of 1G/swap
sudo chmod 600 /swap # Make file only accessible by root user, suggested only
sudo mkswap /swap # Will use the file /swap as your swap space
sudo swapon /swap # Enables the file /swap files for paging and swapping
sudo echo "/swap swap swap sw 0 0" >> /etc/fstab # Creates an entry for the new swap file to be persistant on boot
sudo reboot
swapon --show # Check your swap once again, it should be there
Well i really got it from here [https://www.programmersought.com/article/9813273613/](link url)
Here is the result:
Everything is working like a charm.
PS (I did all this in a test server, don't do it on a production server, it will freeze it for like 3 hours)
Thnaks once again @sandeep, I'll be back...!!
![Hello Sandeep,
I have been trying to install and enable PHP-FPM from version 7.1 to 7.4, but it has not been impossible, I have a fresh install with the CWPPro licence, how could you illustrate me how to do it, I already tried the guide to install 7.3 and 7.4 manually, but it wasn't possible either, I don't know if I'm missing a step before I try to configure them.
I'll appreciate your comments.]