Use this tag for questions specific to PHP version 7.
Questions tagged [php7]
350 questions
0
votes
1 answer
Ubuntu 14.04 php7.1 sqlite driver could not find to install
My Laravel application has test environment to run on sqlite database but it's says the driver is missing and I could not find any solution to install the driver. Would someone help? I have the following PDO exception:
$ php artisan migrate…

Tajuddin Khandaker
- 101
- 3
0
votes
1 answer
Messages going to Spam
My emails are going to spam no matter what I do.
Centos 7
Exim
PHP 7.2
Apache 2.4
Hostname and IP are not blacklisted.
Exim config
primary_hostname = mail.example.com
domainlist local_domains = @ : example.com
domainlist relay_to_domains =
hostlist …

Brian Curless
- 709
- 3
- 12
0
votes
1 answer
Setting up Shopware 6 fails with PHP XML error
Currently setting up Shopware 6 Community Edition ( https://www.shopware.com/de/download/ ) on my Ubuntu machine.
I followed these steps: https://docs.shopware.com/de/shopware-6-de/erste-schritte/shopware-6-installieren
I also have all the…

Marvin Klar
- 101
- 3
0
votes
1 answer
Ubuntu 14.04 upgrade php or mysql from ppa:ondrej fails after April 2019
I have a project in a VM with OS Ubuntu 14 LTS, php5.5 and mysql-server-5.5.
At the end of March I have cloned the Virtual Machine and successfully upgraded both of them from (ppa:ondrej/mysql-5.7) and (ppa:ondrej/php), and
I kept the commands in…

Dimitrios
- 119
- 3
0
votes
1 answer
Apache on Centos doesn't recognize gmp extension
I have this error in running a webapp on a Centos 7, PHP 7.2 server:
PHP Fatal error: Call to undefined function gmp_init() in ... a.php on line 2
If I call it from cmd line it works:
b:3
Code:
How…

Sunchaser
- 113
- 6
0
votes
1 answer
Apache 2.4 / PHP 7 with SSL : posting a larger file (+75MB) results upload_err_partial
I've set up an AWS EC2 server with the AWS linux AMI so that it runs Apache 2.4, PHP 7.2. When I upload files larger than +- 75mb (or about 30 seconds uploading time) PHP gives me an error 3 in $_FILES (UPLOAD_ERR_PARTIAL).
This ONLY happens with…

Stef Digicombo
- 11
- 1
0
votes
1 answer
How to enable php7.0 for apache2 on virtualhosts under ubuntu 16.04?
First of all, my example of a virtualhost is working without embedding php echo 'Hello World'; ?> in index.html.
Apache is on the same machine I am using. PHPis two times availble on this machine.
$ which php
/usr/bin/php
$ which php7.0…

John Goofy
- 129
- 5
0
votes
1 answer
Issues with Apache and Centos. Crashes at startup but cannot find startup script. apigility
I inherited a Centos 7 server which has apigility installed.
When I rebooted the server, the web service crashes.
In the log files all I see is
[core:notice] [pid 3864] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[mpm_prefork:notice] [pid…

user186057
- 36
- 2
0
votes
0 answers
Do I need to do some "cleanup" if an installation is terminated due to disconnection?
I was trying to install php7.3 to my ubuntu 16.04 machine. The SSH connection got dropped while the installation was running. I've been trying to search whether I need to do a "cleanup" before I go ahead and re-install it, but all I get from google…

newjie
- 1
0
votes
2 answers
How to set dynamic environment variables in a Laravel App on AppEngine
I’m trying to deploy a Laravel application on GAE. As mentioned in the docs, the environment variables are supposed to be added on app.yaml file. But as the source code is in GitHub and few people are collaborating on the project, it’s not…

Tareq
- 103
- 4
0
votes
0 answers
Apache2 rendering PHP only partially
I set up a lamp server on Ubuntu 16.04 and now I'm having this strange issue where PHP renders only partially. I also checked and the page works normally if use nginx or lighttpd.
Also, I created a phpinfo.php file and Apache is identifying PHP…

Ezequiel Barbosa
- 101
- 1
0
votes
2 answers
Apache / MariaDB Questions
this is my first post here, and I have searched for a good answer to this question with no luck so far. I am in the process of upgrading our web server (LAMP stack on CentOS 6) to new hardware and more recent software. I'll be migrating our sites to…

TheMalman
- 3
- 3
0
votes
1 answer
What's the differences between PHP versions from pkgs.org and remi
I need to install PHP 7.3 on my CentOS 7.5 which already has PHP 5.4 and 7.0.27 versions but I saw difference in installing commands and since I'm not a professional I need to ask before begin installing it about the differences
In virtualmin.com ..…

Hady Shaltout
- 161
- 2
- 9
0
votes
2 answers
PHP7 can't find executable even though PHP is working
I installed php7.1 using the iuscommunity repo. It works fine and I can run php files via apache normally e.g. http://example.com/test.php, however I cannot find the executable, if I run:
php -v
-bash: php: command not found
If I look at the php…

user69904
- 231
- 3
- 12
0
votes
1 answer
Roundcube 1.3.8 + Memcached + PHP 7.3
I'm testing out moving my Roundcube 1.3.8 install over to php 7.3. It's load balanced and I have been using memcache for session storage with php 5 without any issues:
$config['session_storage'] = 'memcache';
// Use these hosts for accessing…

Aaron A
- 239
- 2
- 14