Questions tagged [php7]

Questions related to the seventh release of PHP, a server-side scripting language designed for web development, which can also be used as a general-purpose programming language

PHP 7.0.0 was released on the 3rd of December, 2015 and comes with a new version of the Zend Engine, numerous improvements and new features.

287 questions
41
votes
3 answers

ERROR: Module php7.0 does not exist!

I have Ubuntu Server 16.04 installed with Webmin 1.831. I am getting this error when trying to run PHP ERROR: Module php7.0 does not exist libapache2-mod-php7.0 is installed.
14
votes
4 answers

How to activate PHP7.0 PDO in 16.04 LTS?

I upgraded from 14.04LTS to 16.04LTS; php5 to php7.0; MySQL to 5.7. Apache and PHP are working but when trying to access MySQL databases, I get the following: fatal error: could not find driver phpinfo() shows "no value" under PDO Drivers Enabled.…
6
votes
1 answer

PHP 7 and PHPDocumentor install

I've installed PHP7, pear and phpdocumentor. Everything look good during the install but when I run phpdoc I receive the following error. PHP Fatal error: Uncaught Doctrine\Common\Annotations\AnnotationException: You have to enable…
user1783540
  • 61
  • 1
  • 3
5
votes
2 answers

How to install php7.2 in Ubuntu 19.10

I have recently upgraded to Ubuntu 19.10 from 19.04. When I tried to install some package it asked me to remove many packages by autoremove. So I run the command and it removed the php7.2-fpm. Now I am unable to install php7.2-fpm. $ sudo apt-get…
3
votes
2 answers

how to install uploadprogress with php 7.0

I'm happily running my LAMP stack with php 7.0 except that I require uploadprogress.so and attempts to install it with PECL result in compile errors. What do I need to tell Ubuntu 14.04 to use the correct libraries etc to compile…
iainH
  • 798
2
votes
1 answer

Errors when installing php 7.0 package

When I execute: sudo apt-get install php7.0-mhash php7.0-openssl I get: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php7.0-mhash E: Couldn't find any package by regex…
Whaaaaat
  • 219
1
vote
1 answer

sqlsrv not working despite having a proper install

I have installed (again) the sqlsrv using pecl for Ubuntu 18 yet for some reason the driver is not found. This is the error I get could not find driver. Here are the steps I followed: $ sudo apt-get remove php-common $ sudo apt-get autoremove $…
Mike
  • 111
  • 1
  • 1
  • 6
0
votes
1 answer

SYMFONY3 PHP Warning: PHP Startup: Unable to load dynamic library php_intl.dll

I have installed SYMFONY 3 and I have this error : PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20131226/php_intl.dll' , I uncomment the php.intl extension in the php.ini file
0
votes
0 answers

Ubuntu Security Notification for Hypertext Preprocessor (PHP) Vulnerability found

Ubuntu 22.04.1, the current version of PHP7.4 is 1:7.4.33-1+ubuntu20.04.1+deb.sury.org+1, I upgraded to 1:7.4.33-5+ubuntu22.04.1+deb.sury.org+1 is still vulnerable. The bug disappeared when I installed it from the official website: sudo wget…
cruise6
  • 11
  • 1
0
votes
0 answers

I need to upgrade php v5.6 to version 7.4 . What are the procedural steps?

I am going to be upgrading from codeigniter 3.1 to codeigniter 4.0. I understand that I first need to upgrade php on my Ubuntu 18.03 to from v5.6.4 to version 7.4+. What are the steps I need to follow?
richie
  • 17
0
votes
1 answer

PHP7.3 upgrade from php5.6 and wordpress backend slow

Recently i upgraded my dedicated server from php-fmp 5.6 to 7.3 mysql from 5.5 to 5.7 Frontend is really fast...but backend is drammatically slow! If i run a long processo like a revision of some product (i use woocommerce), this process make busy…
0
votes
1 answer

cannot install php7.3-mysqli

I have installed PHP 7.3 on my Kubuntu 18.04.2 LTS, and in order to run some web applications with Mysql I believe I need php7.3-mysqli. When I run sudo apt install php7.3-mysqli apt insists on installing php7.3-mysql not mysqli. The applications…
Jim Cunning
  • 1
  • 1
  • 1
0
votes
1 answer

PHP 7.2 packages

Can you tell me until when, and under what commercial conditions, will the PHP 7.2 packages provided in Ubuntu 18.04 be maintained in terms of security? Does your security patch management schedule mirror that of the community? Thank you for your…
-1
votes
1 answer

Php file is downloaded when Php program is run in browser

When I try to run a php program in the browser the php file is downloaded instead of executed.
-1
votes
1 answer

can't install php-gd ext 7.0

when i tried to install php7.0-gd i found this error dfiadm@dc2-magneto-test:~$ sudo apt-get install php7.0-gd Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may…