Questions tagged [php7]

Use this tag for questions specific to PHP version 7.

350 questions
0
votes
2 answers

Adjust pm.start_servers, or pm.min/max_spare_servers

Due to an upcoming event, we're expecting high traffic (about 2000 simultaneous users) for several weeks on our Magento2 powered e-commerce website running on Ubuntu, NGINX and PHP7.1-fpm. Since our catalog is quite large we have upgraded our…
sierra
  • 3
  • 2
0
votes
1 answer

How to make compiled php work with apache?

I've compiled the php 7.4 for centos 7 server. I also have an apache installed 2.4. The problem is that I have no clue what to do next to make it work. Previously I had 2 sites working with the official package, so the configuration should be fine -…
Random Dude
  • 101
  • 1
  • 4
0
votes
1 answer

Amazon Linux: yumm install php73 > "No package php73 available"

On an Amazon EC2 Linux server, I've run: sudo su - yum -y update yum install -y php73 I receive the error No package php73 available. I've been able to install httpd, php, & php-mysql okay. Here is my yum repo list: [root@ip-172-31-1-175 httpd]#…
Steve
  • 365
  • 2
  • 7
  • 18
0
votes
1 answer

How to improve php-fpm for wordpress with the help of modules?

~]# php -m [PHP Modules] bz2 calendar Core ctype curl date dom exif fileinfo filter ftp gd gettext hash iconv json libxml mbstring memcache mysqli mysqlnd …
Wed
  • 15
  • 9
0
votes
1 answer

Enhance Server Security

I don't know if this is the right place for my question. I'm creating a web server with Apache and PHP, but I want to make it as secure as possible. A set of software to keep the server secure, is it recommended to use OSSEC, mod_evasive, and…
Tommy
  • 3
  • 2
-1
votes
1 answer

Why html output aborts before the php code execution?

I have a file named x.php in /var/www/html that looks like -_-

Table

John Goofy
  • 129
  • 5
-1
votes
1 answer

"curl: command not found" on Debian 10 with PHP 7.3 installed successfully?

I have a Debian 10 VPS where I'm configuring for use for an internal app. At the moment I'm installing a monitoring package for the server which requires me to use curl. Running the command returns the following error: -bash: curl: command not…
mickburkejnr
  • 187
  • 1
  • 2
  • 12
-1
votes
1 answer

Centos 7 curl HTTPS error (1)

The curl error # curl https://www.google.com curl: (1) Protocol "https" not supported or disabled in libcurl Background info I start listing my specs: CentOS Linux release 7.5.1804 (Core) # curl -V curl 7.61.1 (x86_64-pc-linux-gnu) libcurl/7.61.1…
Raikoug
  • 121
  • 1
  • 4
-1
votes
1 answer

Will apt-get upgrade modify symlinks? For example libphp7 symlinked instead of libphp5 under /etc/alternatives

I performed sudo apt-get upgrade. $ sudo apt-get upgrade After the upgrade, I noticed some php 5.7 files and folders in the etc directory For example: I saw /usr/bin/php7.1 and /etc/php/7.0, 7.1, 7.2, 7.3 I'm not sure why 7.1 files are installed…
-1
votes
1 answer

Redirect Incoming Request to Specific Servers Based on Incoming IP Address

Load Balancing: My question is related to this but provides very little info: How to redirect to different servers based on login username? I have three (3) cloud servers at the same data center. The three delivers similar content but only one…
DAVID AJAYI
  • 101
  • 1
-1
votes
3 answers

Finding a vulnerability in PHP website

I'm hosting a Wordpress site that got hacked. Not a big deal, usual malicious favicon_ea9b28.ico file containing PHP code. The problem is, in this case, that after I remove the bad scripts and clean other modified files, and after I update all the…
Lucio Crusca
  • 420
  • 3
  • 12
  • 33
-1
votes
1 answer

how to protect from hotlink in nginx

I need to protect from hotlinks in my php site.? how Can i achieve this ?? Iam using nginx as webserver .. If I try to view site.com/uploads/image.jpg without login I can able to see images in browser ,I need to prevent direct folder accessing…
vijoy
  • 1
  • 2
-1
votes
2 answers

Ubuntu - Some one is able to write on ubuntu/apache server

Someone is trying to hack my website, I have a website built on PHP (7)/MySQL in Laravel framework. The owner of the /var/www is www-data and folder permission is set 700 for all folders and file permissions are set to 600. Still, the hacker is able…
-1
votes
2 answers

Nginx + PHP7.0-fpm – PHP errors #500 go into the status code header and into the browser console. Error log is not written

I am using Nginx + php7.0-fpm. Some of my errors (500 code) go into the status code header. In the browser console I see, for example, such a message: POST https://example.com 500 (DateTime::__construct(): Failed to parse time string (2017-04-09 :)…
El cero
  • 101
  • 1
  • 3
-1
votes
1 answer

How much hard drive space to install MYSQL, PHP7 & nginx?

I'm provisioning a server, I want a rough estimate on how much HD space I would need. I want to install mysql, PHP7 and nginx, plus a handful of small websites. How much server space would I need to be able to do this?
panthro
  • 375
  • 1
  • 2
  • 8
1 2 3
23
24