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
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
230 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
161 views

Issue addressing MODBUS via RS485 and PHP on Windows

I have a USB to RS485 adapter connected to an RS485 relay board which I am able to correctly address using some software called sscom. Via sscom I can enable/disable the relays on the relay board. So ...
omega1's user avatar
  • 347
1 vote
0 answers
62 views

firewall vs Soap (electronic billing API)

This is a complex question since it includes configuration and programming at the same time, but neither Sophos support nor the electronic billing service (consumer API) have given me an answer. ...
Francisco IA Lover's user avatar
0 votes
1 answer
110 views

Ubuntu Server 14.04 upgraded 18.04 causing PHP7.2-fpm service to time out

I have a DigitalOcean droplet which experienced a variety of issues after a dist-upgrade. Most recently I tried reinstalling php7.2fpm and was greeted with this output: invoke-rc.d: initscript php7.2-...
conartist6's user avatar
0 votes
1 answer
879 views

How can I give to RoundCube the login credentials through HTTP so the user will not require to enter them?

Well, I have a dedicated hosting server service and it has a Plesk panel for its administration, as many will know Plesk comes with RoundCube as the default service for webmail access. My issue is ...
TheBot's user avatar
  • 1
0 votes
1 answer
81 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
1 vote
1 answer
2k views

OOM killing my PHP FPM after upgrading LTS Ubuntu version

Yesterday I performed a release upgrade which included the upgrade from PHP 7.4 to 8.2. At first, I thought that the problem could come from the PHP version (because was php8.2-fpm the service that ...
SirLouen's user avatar
0 votes
0 answers
103 views

nginx rewrite overlapped with Swagger body

Here's my nginx.conf: server { charset utf-8; client_max_body_size 512M; listen 80; listen 443 ssl http2 default_server; server_name app; set $base_root /app; root $...
Toqa Abbas's user avatar
0 votes
1 answer
55 views

Laravel to operate device HHC-N8I8O

I have purchased this device HHC-N8I8O. I want to know if we can give direct commands from laravel to turn on or off a relay? i have got the manual and some software, it works from software with ip ...
Shakeel Ahmed'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
67 views

Add new folder to yii2 with nginx

I got yii2 advanced template , but need to change the structure as below : app --backend --common --v1 --config --main.php --controller --SiteController.php --web --index.php ...
Toqa Abbas's user avatar
0 votes
0 answers
59 views

RoundCube not displaying mails with attachments over certain size

The setup is fairly simple, it's Windows Server 2019, with hMailServer as a mailserver, and IIS hosting RoundCube, and of course, PHP. Sending mails work fine, but when the attachment gets over like ...
Zett's user avatar
  • 111
1 vote
1 answer
35 views

Geany 1.36,PHP variable highlight dollar sign on double-click

In Geany, when you double-click on a php variable $example, it highlights the word 'example' without highlighting the dollar sign ($). How do I make geany highlight the dollar sign too?
Jeff Luyet's user avatar
0 votes
0 answers
269 views

Trouble with PHPMailer and iCloud SMTP Authentication

I'm currently facing an issue with PHPMailer while trying to send emails using iCloud SMTP for my WordPress blog. I have followed the steps to configure PHPMailer with app-specific passwords provided ...
Maciek Rek's user avatar

15 30 50 per page