Skip to main content

Questions tagged [php]

PHP is a widely-used general-purpose scripting language that is especially suited for Web development. Questions about programming in PHP are off-topic and should be asked on Stack Overflow.

0 votes
0 answers
24 views

PHPMailer E-Mails are getting Message Rejected Error [closed]

I have been using PHPMailer for several months to send email OTP verification and automated alerts from my website using a regular @gmail.com account. This setup has been working flawlessly until last ...
jadhav kumar's user avatar
0 votes
0 answers
40 views

How to adjust PHP FastCGI performance to the system resources (number of CPU cores mostly)?

We have a fairly weak server - 2 cores of Xeon Gold 6132. Until recently the server didn't have much traffic but now we added a web page that generates more traffic than usual. This is the number of ...
Stackerito's user avatar
0 votes
0 answers
69 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
1 answer
18 views

Ngnix returns 504 while processing another request with php-fpm

Here is a simplified version of the page that causes me great trouble: <?php passthru('dd if=/path/to/file bs=xx skip=xx count=xx | resource_intensive_command | dd bs=xx skip=xx count=xx'); ?> ...
Loïc's user avatar
  • 1
1 vote
1 answer
60 views

ISPconfig/Nginx/wordpress to nginx proxy manager | wordpress using permalinks/postname

I am migrating my wordpress site from Ispconfig/Apache to Ispconfig/Nginx and introducing Nginx proxy manager in the mix. The problem seems to be the following: htaccess is not enabled in nginx are ...
Arch's user avatar
  • 11
1 vote
0 answers
78 views

how to install memcached via pecl?

I'm trying to install memcached and am having some difficulty. Here's what I tried: apt-get update apt-get install memcached libmemcached-dev libzip-dev pecl install memcached pecl install memcached ...
neubert's user avatar
  • 7,212
0 votes
0 answers
36 views

Is there a way to prevent direct copy of URL with X-Accel?

I am currently serving private images using X-Accel. The images folder is behind the root, and I have the following block inside the nginx config: location /private_files { internal; root /var/...
Stackerito's user avatar
0 votes
1 answer
14 views

X-Accel return 404 but path and config seem to be correct

I have the following block in my nginx config: location /files { internal; root /var/www/website/storage/uploads; } In my Laravel app I am trying to redirect get-file URI to the private ...
Stackerito's user avatar
0 votes
0 answers
115 views

How to make a captive redirection portal for a SSID?

I have a PHP project running on one of my computers connected to my home network, I access the project from the same computer by localhost/myserver and by my other devices connected to the same ...
jadhav kumar's user avatar
0 votes
0 answers
48 views

Creating a Chrome bookmark to automate a web PHP search

I am an user in some forum, and I want to create a bookmark for searching my past messages. To do so, you can open an advanced search link whose address is as follows (identifiable words have been ...
Daneel Olivaw's user avatar
0 votes
0 answers
30 views

How can I prevent Thunderbird from deleting mail that is "too large", after I click to allow the download?

I exclusively use Thunderbird in POP mail mode. I'm mainly concerned with attachments sent from mail forms on my own websites, sent to email addresses which are also from my own domain. So I have ...
Randy's user avatar
  • 131
0 votes
0 answers
27 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
1 vote
2 answers
588 views

Trying to make BLOB to PDF in browser using PHP [closed]

I have BLOB information from my database and trying to display a PDF file in browser using this: echo "<object data='data:application/pdf;base64,".base64_encode($row['PDF_File'])."' ...
Hopm Mpoн's user avatar
2 votes
1 answer
43 views

Replace text surrounding a wildcard in Notepad++

So, many years ago when I started writing PHP code, I learned to format information sent from a form as such: $_POST[itemnamehere]; Whether that was right or wrong at the time, it worked. However, ...
teddytash's user avatar
0 votes
0 answers
175 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

15 30 50 per page
1
2 3 4 5
133