Questions tagged [php]

PHP is a general-purpose scripting language that is especially suited for Web development. The online manual is an excellent resource for the language syntax and has an extensive list of the built-in and extension functions. Most extensions can be found in PECL.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

my site address and admin url is not showing “Failed to evaluate expression” Error

My website https://mokshbhoomi.com/ is not opening and the site address and URL are not showing in the deployment. Showing me on Failed to evaluate expression
0
votes
0answers
62 views

How does a webserver know which files to send in an HTTP/2 request?

As I understand HTTP/2 can send the website assets (images, scripts, css files, etc) over a single connection, as well as push them. I am interested in how this actually happens in practice. How does ...
0
votes
0answers
30 views

PHP 7.3 and 7.4 fail to compile on Debian 9.13 with error checking SSSE3 CPU feature

I'm working on updating a system from using PHP 7.2 to PHP 7.4, but I ran into a compiling error that I haven't seen before and I'm not entirely understanding why it isn't working. In file included ...
0
votes
1answer
24 views

Configure Nginx to serve up PHP from different locations/aliases?

I'm trying to configure nginx to serve up FreshRSS at https://myserver/rss/ rather than https://rss.myserver/. I've read the documentation and am trying to adapt the example nginx config. Currently I ...
0
votes
2answers
48 views

phpize Imagick build fails: missing functions

I am trying to install Imagick on my Debian 10 server running php 7.4 but it looks like some functions are missing from my system. I installed sudo apt install php7.4-dev PEAR Version: 1.10.12 PHP ...
-1
votes
0answers
11 views

why apache keep using php7.0 while config point to 7.4? [closed]

I have Apache 2.4 on MacOS Catalina. I look at the loaded modules: $ sudo apachectl -M | grep PHP php7_module (shared) I look at all httpd.conf files, the only LoadModule is: LoadModule php7_module /...
0
votes
1answer
19 views

AWS SES emails going to spam

I have a domain on name.com and the website is hosted on AWS Lightsail. I have set up SES service for the emails. I am doing a curl request to my domain to send an email from the email server which is ...
0
votes
1answer
28 views

Can i disable 'Debug Build' without re-compiling PHP?

I need to disable 'Debug Build' mode in my installation of PHP. Is this possible without re-compiling PHP? (Note I am not the original server admin). Thanks
0
votes
0answers
22 views

nginx configuration to run Nodejs Admin in subfolder with PHP on root?

I am unable to run my Nodejs admin panel in subfolder. My root directory is running PHP server and I to add Node admin with port 3000 in subdirectory. The below configuration is working but css and ...
0
votes
0answers
17 views

license.php file is automatically getting created on shared hosting server

On my shared host, license.php file is automatically getting created at root folder/directory of every domain. I have find and deleted this file multiple times from everywhere. Here is the code of the ...
0
votes
0answers
19 views

Sending large amount of emails with PHPmailer and SMPT guaranteeing the emails are delivered and preventing getting blacklisted

I have been using Phpmailer + SMPT + G-suite to send 2,000 emails per day, to the registered users of our website and this worked well for a while. Now that we have more registered users, this method ...
0
votes
1answer
19 views

php shell_exec returns different results compared to terminal

I try to run shell_exec("ls -l /dev"); to list all entries in /dev and I get this list: total 0 drwxr-xr-x 2 root root 180 Oct 10 11:19 char lrwxrwxrwx 1 root root 11 Oct 10 11:19 core -&...
0
votes
0answers
46 views

PHP .htaccess issue when use https always with cross-origin allow

I have created a .htaccess file for creating some rules. Redirect user if not using https or www Allow cross-origin for one another domain with that all subdomain Disable indexes My primary domain : ...
0
votes
0answers
14 views

How to restore the error.log functionality in Apache, bitnami Wappstack?

I am using the Bitnami Wappstack 7.4.10 in windows, with PHP 7.4 and Apache 2.4.46 . By accident I made a script that had an infinite loop that also produced an error in every iteration, so the log ...
-1
votes
1answer
42 views

php core script not getting called from Crontab

I am using core PHP and written a simple script that needs to be called automatically. For testing purpose I have just written a print statement as below, $host = 'localhost'; $user = 'admin'; $pass = ...

15 30 50 per page
1
2 3 4 5
497