Use this tag for questions specific to PHP version 7.
Questions tagged [php7]
350 questions
2
votes
1 answer
PHP7 + OpenSSL-1.0.2h on CentOS 7 [Nginx 1.11.1]
Since yesterday, I've applied OpenSSL-1.0.2h to my Nginx server, which I both recompiled from source. For the OpenSSL part, I've followed this guide: https://syslint.com/blog/tutorial/how-to-upgrade-openssl-on-centos-7-or-rhel-7/. It was relatively…

Rowan Kaag
- 21
- 3
2
votes
3 answers
Drupal 8 Nginx error No such file or directory for any routes
I'm running Drupal 8.1.2 on a Docker image of Nginx + PHP7 + PHP 7 FPM and it's linked to another Docker image of PostgreSQL both of them based from Alpine Linux.
After successfully running Drupal installation (on core/install.php url) and setting…

Daniel Andrei Mincă
- 193
- 1
- 9
2
votes
3 answers
How to install Apache with PHP 7.0 on Ubuntu 16.04 using puppetlabs-apache
I want to install Apache with PHP 7.0 on Ubuntu 16.04 using Puppet Labs Apache module.
Following the documentation the module supports Ubuntu 16.04.
There is a ticket related with PHP 7.0 support and there is an accepted merge request which should…

Victor Smirnov
- 123
- 2
- 6
2
votes
1 answer
Uncaught Error: Class 'Monolog\Logger' not found
I use PHP 7.0 on Apache 2.4.20 and Ubuntu 16.04 LTS. I have followed this guide to have upload functionality and would like to know what I can do to fix the following error that I receive:
PHP Fatal error: Uncaught Error: Class 'Monolog\Logger' not…
user243975
2
votes
2 answers
Compiling PHP7 with MySQL error
I'm setting up an alt-install for PHP7 on CentOS 6.7 with the configure options that were used for the original PHP version:
./configure --disable-fileinfo --disable-opcache --disable-posix --enable-bcmath --enable-calendar --enable-exif…

Neekoy
- 269
- 1
- 6
- 14
2
votes
1 answer
How to detect php -oracle using ubuntu nginx php7-fpm
I am running a Ubuntu-nginx-php7-fpm machine and phpinfo() does not detect the oracle extension.
How can i tell to nginx or php that the oracle-php extension is installed?
The machine is a clone from another where oracle php7-fpm works.
When…

Ângelo Rigo
- 123
- 1
- 8
2
votes
2 answers
Running phpMyAdmin and php-7 at the same time?
After upgrading php5 to php7, I get this error when I want to apt-get install phpmyadmin
The following packages have unmet dependencies:
phpmyadmin : Depends: libapache2-mod-php5 but it is not going to be installed or
…

bytecode77
- 253
- 4
- 11
2
votes
0 answers
mod_fcgid: can't apply process slot for - error repeats every 6 hour
On server, I run Apache via FastCGI using PHP 7.4.13:
/etc/httpd/conf.d/ is configured as this:
# Use FastCGI to process .fcg .fcgi & .fpl scripts
AddHandler fcgid-script fcg fcgi fpl
# Sane place to put sockets and shared memory file
FcgidIPCDir…

Martin Perry
- 129
- 3
2
votes
0 answers
Nextcloud internal server error after server upgrade
I upgraded my server today from Debian 9 to Debian 10 and installed PHP 7.3 with all modules needed for NC but when I try to open the website I get "internal server error. More details can be found in the server log" but there is nothing helpful…

webhead
- 21
- 1
2
votes
1 answer
Apache2 Error --- .htaccess: No comments are allowed here
Tonight I upgraded my VPS from Ubuntu 16.04 LTS to Ubuntu 18.04 LTS. Everything worked as expected, had a little cleanup on php aisle 5.6 and some stocking shelves on php aisle 7.4. Apache restarted without a whimper after all my config and mod…

wruckie
- 678
- 6
- 22
1
vote
1 answer
Enabling opcache.restrict_api for security reasons
This article says that having opcache_get_status() enabled is a security risk. To turn it off, one has to configure opcache.restrict_api, but I couldn't find an example of how.
This person had the restriction in effect when configured as…

ᴍᴇʜᴏᴠ
- 577
- 1
- 6
- 20
1
vote
1 answer
How can I solve "No input file specified" error on IIS for URLs with a slash and content after the PHP file?
I am running a PHP 7.3 application on IIS using the FastCGI handler to execute the files. When requesting URLs which end on *.php in the browser, everything works fine.
However, some paths of the application look like this:…

Chris
- 181
- 2
- 9
1
vote
1 answer
How is server root defined in this context?
I asked a question over at Information Security and received an interesting response which in part included the following:
move them off the server root
So in the context of moving uploaded files "off the server root" I'm not currently sure how to…

John
- 134
- 10
1
vote
1 answer
How to make httpd24 (scl) use php >= 7.2 (RHEL 6.10)?
I am fairly new to working with RHEL and I was wondering if it was possible to have an httpd24 instanced installed as a software collection
httpd24.x86_64 1.1-18.el6 @rhel-x86_64-server-6-rhscl-1 work with a PHP version other than the one…

DamianJ
- 11
- 3
1
vote
1 answer
How to installing PHP71 on RHEL 7 that requires HTTPD24 with HTTPD
We have a RHEL 7 server that is offline and only connected to RedHat repo via a satelite.
When i try to manual install the PHP71 from the rpm files, it hits an error that say Requires HTTPD24_HTTPD
The server already have the HTTPD package from the…

ipohfly
- 115
- 6