Questions tagged [php7]

Use this tag for questions specific to PHP version 7.

350 questions
0
votes
1 answer

setting S3 object to public automatically

I have an amazon workmail email address setup to automatically forward email to an s3 bucket. I then have a php file that grabs the raw email file from the s3 bucket and then delete it (every 2 minutes). Anyway my issue is I have the s3 bucket set…
Jay
  • 25
  • 7
0
votes
1 answer

Debian 9 / PHP 7.1.13 - Scripts occasionally not terminating

I've been experiencing a strange issue on Debian 9 with PHP 7.1.13. We have a number of PHP scripts setup to run via a crontab at various intervals between every 1 to 15 mins. Most of the time these run fine and terminate successfully, however…
Steve Childs
  • 101
  • 3
0
votes
1 answer

Unable to Install PHPMyAdmin on CentOS 6

I am attempting to update all my software on my CentOS 6 Server. I have updated from PHP 5.6 to PHP 7.2 and now trying to install PHPMyAdmin 4.8 but I am getting an error when running the yum command. yum --enablerepo=remi,remi-test install…
0
votes
0 answers

Can't upgrade PHP 5.5.32 to PHP 7.x on CentOS 7

recently I've got a VPS with CentOS 7 installed and some pre-installed packages such as LAMP stack. I removed httpd and installed nginx successfully but I have not been able to remove/update PHP from 5.5.32 to 7.x. I tried using the Remi Repo using…
Multitut
  • 101
  • 1
  • 1
  • 2
0
votes
1 answer

Apache + mod_fcgid does not spawn/persist processes

I have apache 2.2 running with mod_fcgid installed, but each request seems to spawn a new process instead of having a pool of workers. Phpinfo confirms fastcgi is working: But no worker processes, a new process is spawned per request: The built in…
0
votes
1 answer

How to solve CentOS7 and "yum install php-7.2.3 " dependency issues upgrading to PHP 7.2.3

Here is what 'yum install php-7.2.3' returns: [root@prv-apps conf.d]# yum install php-7.2.3 Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.vtti.vt.edu * epel: ftp.cse.buffalo.edu * extras:…
Vic
  • 31
  • 1
  • 2
  • 6
0
votes
0 answers

How to solve CentOS 7 dependency problems when upgrading to PHP 7.2.3

I am trying to upgrade PHP form 5.4.16 to 7.2.3 on a CentOS 7.4 server running HTTP 2.4.6. I get these dependency alerts on this command: yum install php70w php70w-fpm php70w-cli php70w-common php70w-xml php70w-soap php70w-xmlrpc php70w-mbstring…
Bill
  • 1
  • 1
0
votes
1 answer

Class 'ZipArchive' not found. how to configure zip on php apache

Following is the error message that i am receiving I searched through internet and did installed zip using sudo yum install php70-php-pecl-zip when i do yum list installed, it shows me that "zip.x86_64" is there but when i do phpinfo() it…
Muhammad
  • 103
  • 1
  • 1
  • 6
0
votes
0 answers

Hosting both a wordpress and laravel application via nginx

It's unfortunate, but I am forced to make a wordpress and laravel application not only coexist but be aware of each other's state. I have this functioning via a wordpress plugin, laravel package and Apache configuration, but now I need to translate…
jvnk
  • 123
  • 4
0
votes
4 answers

Unable to activate rhel-server-rhscl-7-rpms on RHEL7

I am trying to install PHP7.1 on my RHEL7 server and I am unable to get the repository where it exists to attach. From various redhat support articles I have been following don't seem to do the trick. [root@nj-way-intranet:~]# cat…
Jonathan
  • 151
  • 2
  • 2
  • 6
0
votes
0 answers

MySQL socket disappears

I am running Ubuntu 16.04 LTS, with MySQL server for MediaWiki 1.30.0 along with Apache2 and PHP7.0. The installation was successful for everything, I managed to get it all running. Then I start installing extensions for MediaWiki. Everything is…
0
votes
2 answers

NGINX + PHP-FPM virtual hosting redirects php request to wrong directory

My server has 2 sites setup using nginx. Below are the content in /etc/nginx/mysite1.conf server { listen 80; server_name test.mysite1.com; #access_log logs/host.access.log main; location / { root …
Sudh33ra
  • 179
  • 1
  • 2
  • 7
0
votes
0 answers

Setting opcache per site

Is it possible to set opcache options per site in Apache? I'm trying to disable it via local php.ini in site directory or site config file but it is always enabled. After every config change I restarted Apache and PHP fpm service to apply new…
QkiZ
  • 634
  • 2
  • 9
  • 22
0
votes
3 answers

RHEL 7.4 PHP Multi-versions

I have an RHEL 7.4 Server that currently hosting few web apps, one of these apps requires PHP Version <= v5.6 I'm going to add a new app that requires PHP version>=v7 Can I combine both these versions and have them running in parallel, and how?
megz
  • 13
  • 2
0
votes
0 answers

Nextcloud 12: blank page after downgrade from php 7.2

my Arch Linux machine running Nextcloud on a LAMP-Stack got updates for php 7.2.0 a few days ago. Unfortunately, Nextcloud does not support php 7.2.0, and won't do so until the next major release. So I had to downgrade my php 7.2.0-packages back to…
LukeLR
  • 329
  • 2
  • 3