skip to Main Content

How can I configure PHP 7.4 on Apache?

I am trying to configure PHP 7.4 and Apache 2.4 on my machine, but it is returning the following error: httpd.exe: Syntax error on line 542 of C:/XIDServer/Apache24/conf/httpd.conf: Can't locate API module structure 'php7_module' in file C:/XIDServer/php/php7.dll: No error The…

VIEW QUESTION

Simple rate limiting in .htaccess – Apache

Let's say I have a login form: <form action="index.php" method="post"><input type="password" name="pwd"><input type="submit" /> I know that a proper rate-limiting should be done with iptables or fail2ban, but without going so far, can we do something simple, just in the…

VIEW QUESTION

No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/run/php/php5.6-fpm.sock (*) failed – Apache

I have such virtual host settings <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/html <FilesMatch .php$> SetHandler "proxy:unix:/var/run/php/php5.6-fpm.sock|fcgi://localhost/" </FilesMatch> ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> phpinfo() shows that my site has a version of php 5.6. All right! Now I am trying…

VIEW QUESTION
Back To Top
Search