Skip to main content

All Questions

Tagged with
0 votes
0 answers
70 views

How to block IPs behind a web server?

I have a service in my page (hosted behind an Oracle server) that is being attacked by specific IPs. I see this in the Apache logs: 201.17.83.xxx, 201.17.83.xxx 10.0.1.xxx - - [14/Jun/2024:10:46:58 -...
Luis A. Florit's user avatar
0 votes
0 answers
28 views

No input file specified with apache configuration php-fpm redhat

I have a php 8 installation (php-fpm) with apache on a redhat server. The apache configuration contains this rule for php files in the virtualhost: ProxyPassMatch ^(..php.)$ fcgi://X.X.X.X The php-...
el sparrow's user avatar
0 votes
0 answers
179 views

PHP-FPM on Apache log issue

I am having trouble finding the cause of my php-fpm process logging its error output to the same location as the script result. I have an Apache server which passes requests to the php-fpm process ...
user10709800's user avatar
0 votes
1 answer
120 views

How recover php-fpm conf.d files?

I'm trying to upgrade PHP with php-fpm from 8.1 to 8.2. By mistake, I've deleted the files inside /etc/php/8.2/fpm/conf.d I've tried to restart php8.2-fpm and Apache2 server, re-install php-fpm, but ...
Giuseppe's user avatar
  • 103
0 votes
0 answers
54 views

mod_remoteip not showing true IP of the visitor

I am trying to get the real IP behind Cloudflare. I did as I found on Google, installed mod_remoteip then configure it as following: LoadModule remoteip_module modules/mod_remoteip.so RemoteIPHeader X-...
Zeyd Lprn's user avatar
0 votes
1 answer
212 views

Why is 'mime.types' required in Apaches' 'conf' directory?

I have been running Apache for around 5 years now and am going through a streamlining of my site scripts. In this process I removed all directories and files I didn't know a use of. In my server root ...
user10709800's user avatar
0 votes
1 answer
79 views

Using MacPorts build of PHP causes Apache to SEGV

I have successfully added PHP to the built-in Apache on Mac OS Ventura (on Intel), however it's an old build of PHP 7. My problem is that when I try to use the latest version as built using MacPorts ...
Philip Kearns's user avatar
0 votes
2 answers
7k views

PHP file_put_contents: Failed to open stream: Permission denied

I want to store images using PHP, so I am using the following code: $encodedCard = isset($_POST["card"])? $_POST["card"] : null; $name = isset($_POST["fn"]) ? $...
Maulik Pratap Singhal's user avatar
0 votes
0 answers
115 views

How is Windows 11 Apache php 8 Apache manual setup different from the php 7 on windows 10

I have read previous post on the setup of Apache php MySQL manual installation and the all seems to follow the same steps. Please what would be the constant k in all the different different versions ...
 C Okonta's user avatar
-1 votes
1 answer
813 views

Apache having problems with PHP

This on W10. I've been trying to replace a dysfunctional Apache-PHP setup. I installed (i.e. decompressed) Apache2.4.57 under D:\apps. I have a php version at D:\apps\php\php7.4.33. httpd.conf ends ...
mike rodent's user avatar
0 votes
0 answers
45 views

PHP website getting hacked - dir names changed

I'm new to PHP and Apache. I come from Node.js/Java backends and I'm new to this tech stack (PHP, CGI, Apache etc). My site currently uses ckeditor to handle user uploads and has high traffic. Often, ...
Leonardo Santos's user avatar
0 votes
0 answers
173 views

Install php-mod and php-fpm (different versions) on the same server

One of our clients has a server which is running PHP 5.3.3 (in our understanding it is mod_php, apache, Centos 6). Is it possible to install ANOTHER php version (say PHP 8.0) in say php-fpm for a ...
Ken Lee's user avatar
  • 101
0 votes
0 answers
121 views

Why can't I use localhost to open a file I moved, even though the permissions are the same and I changed DocumentRoot in Apache configuration

I am learning to use Apache on macOS Monterey. I have a simple test file test.php: <?php echo "Test"; I put this file in my home directory (/Users/my_username) and update my Apache ...
harry.kuril's user avatar
0 votes
1 answer
1k views

PHP doesn't work with my Apache

While starting the httpd service this error happens: archlinux httpd[20575]: httpd: Syntax error on line 543 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf/mods-enabled/php....
MatiasGdo's user avatar
0 votes
1 answer
221 views

How do I know if I'm being hacked?

I'm building a small site on a LAMP server and hadn't logged in for a few days. I logged in today to make some changes and after checking the error log I can see that I've had the following error ...
Instream's user avatar

15 30 50 per page
1
2 3 4 5
31