Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [php7]

The tag has no usage guidance.

0
votes
0answers
11 views

Nginx running php-fpm and php process

My NginX server run into problem just now, when i checked there's am out of memory problem, so i fixed it by increasing memory_limit to 1G, but the error still persist, so i take a look at system ...
-1
votes
1answer
48 views

Installation conflicts with httpd on Amazon Linux AMI

When installing 'yum install -y php70 mysql56-server php70-mysqlnd' on an Amazon Linux AMI server, I'm receiving these conflicts: Error: httpd24-tools conflicts with httpd-tools-2.2.34-1.16.amzn1....
0
votes
0answers
12 views

Apache2 blank php pages on user directory but not in main directory

i'm making some tests on a fresh Trisquel installation, and i don't know what i'm doing wrong but the thing is this, i installed LAMP+phpmyadmin, i wrote a test.php on /var/www/html/ and it worked but ...
0
votes
1answer
17 views

How to connect PHP 5.6 to SQL db after compilation

I installed PHP 5.6 from source on Debian server 9 server. The OpenSSL version in Debian 9 is too new for PHP 5.6, so I had to compile an older version in /opt/openssl to use it with PHP 5.6. ( ...
1
vote
1answer
64 views

PHP Not Loaded on CentOS 7/Apache

I've installed PHP 7.2.11 on my CentOS 7 VPS along with Apache; however, I can't seem to load the PHP module into Apache so that my server can serve PHP content. Right now, if I go to a URL that ...
0
votes
0answers
23 views

post install script error 1 (php7.2-xml)

So I'm trying to install php7.2-xml on an Ubuntu 18.04 server using apt-get install php7.2-xml I keep getting an error: installed php7.2-xml package post-installation script subprocess returned ...
1
vote
1answer
659 views

Can't find php-zip extension for php 7.1 on CentOS 7

I am attempting to install Magento 2.2.5 on a new CentOS 7 server with PHP 7.1. I can't seem to find how to install and/or enable the php-zip extension. The issue I'm trying to resolve is this (via ...
1
vote
0answers
21 views

How to install tidy on Fedora [closed]

I've installed tidy and in phpinfo() I have tidy in list of modules with author, but no configuration section with options. I have file /etc/php.d/20-tidy.ini but it's not on the list of files in "...
0
votes
1answer
352 views

Does Apache2 auto install when installing PHP 7.2?

Anyone else experiencing this issue? When I installed PHP 7.2, it somehow auto installed Apache2 with it. This is a fresh Ubuntu 16.04 with only nginx installed on it to serve static files. add-apt-...
1
vote
0answers
350 views

Apache mod-security gives “Loaded PCRE do not match with compiled!”

I've got a webserver installed with Apache and PHP with mod-security. The problem is that mod-security seems to be incompatible with the PHP installation. I get the following result in the apache ...
0
votes
2answers
1k views

Installing php7 on alpine: missing libcrypto and libssl

I tried to setup a LEMP stack over Alpine GNU/Linux Distribution running on a VM WITHOUT docker. Then I tried to install the php7-mysqli over via community repositories with: sudo apk add php7-...
0
votes
0answers
34 views

How php loads it's modules?

I compiled php-7.2.4 from source on my Debian-9 machine, but did not configure anything related to php.ini and now all of the modules that i need are loaded when running php -m on terminal, but when ...
0
votes
1answer
902 views

Debian 9.4: cannot install php7.2-curl

Trying to install php7.2-curl library from a well-known repository deb.sury.org on Debian 9.4. But it gives the error: The following packages have unmet dependencies: php7.2-curl : Depends: libcurl4 ...
0
votes
1answer
452 views

How to run script as php user

I have a script which is called from php using the shell_exec command on a server running Ubuntu. The script runs properly when called from the command line via ssh, but not when called from php. I'...
0
votes
0answers
578 views

Unable to install PHPMyAdmin with PHP 7.1

I previously installed php56 in aws but i had to update to 7.1. When I do, I couldn't install phpmyadmin anymore. I tried to search on the net but all are said to remove php5.6 then to install 7.1. It ...
2
votes
1answer
895 views

How to make my system centos 7 use primarily ipv4 if it's available

I have CentOS 7 running on an AWS machine. I recently enabled IPv6, and everything was working fine – except for the fact that PHP connection requests (also curl from command line) always prefer to ...
1
vote
1answer
91 views

lag starting php 7.1.13 on CentOS 7.4.1708. how to fix?

PHP 7.1.13 on CentOS 7.4.1708 Inexplicable lag (2 to 10 seconds) just invoking php, even with empty script or just to get version info. I have never seen this before on any system and I'm not sure ...
0
votes
0answers
219 views

Which repository holds PHP7 for Linux Mint Maya (#36-Ubuntu)?

In the midst of installing WordPress, apt-get can't find PHP: ian@orwell ~ $ sudo apt-get install php7.0 php7.0-mysql libapache2-mod-php7.0 php7.0-cli php7.0-cgi php7.0-gd Reading package lists... ...
1
vote
3answers
868 views

Yum install php v5.4 packages while I have installed php 7

I have installed PHP version 7 on my centOs. Now I got an error says: undefined function mb_internal_encoding() So I decided to install php-mbstring (using yum install php-mbstring) but I face ...
1
vote
1answer
683 views

Services timed out at boot but could start manually what could be the problem?

I've installed apche2 and php7.1-fpm recently and added them to boot with systemctl enable apache2 systemctl enable php7.1-fpm After rebooting the system systemctl status shows the following: sudo ...
-1
votes
1answer
869 views

how to install php7.0-mbstring in debian 9.3

I can't install php7.0-mbstring: The following packages have unmet dependencies: php7.0-mbstring : Depends: php7.0-common (= 7.0.19-1) but 7.0.20-1~dotdeb+8.2 is to be installed E: Unable to ...
0
votes
2answers
564 views

I receive error while installing php 7 on redhat 7

I'm trying to install php 7 with below script: yum -y install php php-mysql php-pecl-zip php-xml php-mbstring php-gd but I receive below error: Error: Package: php-7.0.26-1.el7.remi.x86_64 (remi-...
0
votes
0answers
598 views

Can't install php7 and phpmyadmin in centos 6.9 - adding repository failed

I was trying to install php7 and phpmyadmin in centos 6.9. I have added epel-release and remi-release repository for centos 6 wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch....
0
votes
2answers
347 views

How can you restore the php ini files and .so files to their original configuration

I'm wokrking on upgrading my VM to PHP7 and I've run into a few issues such as: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo.so' - /usr/lib64/php/modules/pdo....
0
votes
1answer
383 views

cli php.ini and web phpinfo() not pointed

li php.ini and web phpinfo() not pointed After setting up LAMP in centos I tried php -i | grep "Loaded Configuration File" Loaded Configuration File => /usr/local/lib/php.ini But on web <?...
0
votes
1answer
65 views

How to send a request to Pgpool2 server from php script?

Actualy i'm trying to create a postgres replication system using pgpool2 and docker containers, I created 2 containers running postgres and another container for pgpool2, so when I tried to connect to ...
2
votes
2answers
2k views

How to replace Php7 install from dotdeb with php7 from Stretch

I used PHP7 from the dotdeb packages for my install of Debian 8 Jessie. Now, I want to upgrade to Debian 9 Stretch (which has php7) and I want my Php7 package to be from Stretch and no more from ...
0
votes
1answer
406 views

PHP include file to all directory files by default

I have a config.php file which I want to include to all php files in the directory. Is there a way to include a file by default (hence I won't need to write require 'config.php' in all files)? Nginx
1
vote
1answer
908 views

PHP-FPM7 SIGSEGV - core dumped

I'm having some issues with just a single site that keeps segfaulting php-fpm7. Can't seem to pinpoint the exact moment when this occurs, i browse around on the site and wait and after a while when ...
0
votes
1answer
1k views

How to install Zend Opcache and Memcached on centOS 7 with PHP7

I upgraded php7 but when I install yum install php-opcache and php-memcache, occurs error Error: php70u-common conflicts with php-common-5.6.31-1.el7.remi.x86_64 You could try using --skip-broken ...
5
votes
2answers
20k views

Installing PHP 5.3 on Debian Stretch (9)

I'm migrating a very old server (Debian etch) to Debian Stretch and every single app developed has PHP issues, it was expected. Some can be fixed, some can not (as several drupal 6 sites). In the ...
1
vote
1answer
3k views

Zabbix install PHP 7 PHP 5.6 conflict on Centos7

I am attempting to install Zabbix 3.2 on Centos7 running PHP7. Link to the walkthrough The command: yum -y install zabbix-get zabbix-server-mysql zabbix-web-mysql zabbix-agent The output: Loaded ...
1
vote
1answer
847 views

Can't get php 7.1 to work on apache 2.4 (FAMP)

Running FreeBSD 11, I am having trouble getting Apache 2.4 to work with PHP 7.1. Built apache24 from ports Built php71 from ports Added index.php to DirectoryIndex (httpd.conf): <IfModule ...
0
votes
2answers
2k views

How to install multiple versions of php on redhat

We have a legacy web application running php 5.4.10 and another application running the latest version of php ver 7.1 We would like to host both of these applications using apache on one instance of ...
0
votes
1answer
591 views

SCL in redhat 7 do not seem to work

I wanted to install PHP on a fresh install of Redhat 7. I looked at different options - remi, webtatic and SCL. I decided to go for SCL using- https://www.softwarecollections.org/en/scls/rhscl/rh-...
0
votes
0answers
351 views

Arch Linux - Acquire or Compile missing PHP extensions

I've installed my first Arch Linux setup, and loving it thus far, with the small exception of setting up my dev environment properly. My previous OS was Ubuntu 16.04 on which I ran Nginx, PHP5.6-FPM ...
0
votes
1answer
478 views

Can't install xmlwriter, gd and bcmath for PHP7.0 on Debian Jessie

I digging on stack exchainge whole morning and can't find right solution. I find a bunch of non existing repository and can't install xmlwriter, gd and bcmath for PHP 7.0. I have linux server based ...
2
votes
2answers
8k views

How to install extenion php_intl in centos7?

I want use php_intl.dll in /etc/opt/remi/php70/ini.php. So how to install this extension. I use centos7
1
vote
1answer
286 views

How to include multiple config dir in php-fpm?

I'm doing the configuration of php-fpm, and I'm experiencing some issues with the include= directive in php-fpm.conf file. Here is the default directive : include=/etc/php/7.0/fpm/pool.d/*.conf But ...
2
votes
2answers
8k views

How to Upgrade PHP from 5.4.16 to >= PHP 5.6.5 / PHP 7 on Centos 7?

I am using centos 7 and it came with php 5.4.16. Now i have to install moodle moodle 3.2 which requires at least PHP 5.6.5. I tried installing php from remi and IUS repositories but no luck. All i ...
1
vote
1answer
2k views

Apache2 Failed to start after installing php5 alonside php7 on Ubuntu 16.04

I am running Apache2 with php7 on Ubuntu 16.04. But alongside this, I had installed php5. After installation of php5 I executed sudo a2enmod php5.6 Then I restarted apache2 with sudo service apache2 ...
1
vote
1answer
822 views

Cacti stopped working after upgrade to Stretch

Just upgraded a cacti server to Stretch/Debian 9. Cacti was still working after the upgrade was finished. After cleaning up the leftover Debian 8 PHP 5 packages, that left only PHP 7.0 installed, ...
0
votes
1answer
500 views

Couldn't connect to Larvel homestead database with MYSQL workbench

I am unable to connect to laravel homestead via mysql workbench here is how i connected Homestead Connection http://simple.harry.zone/linux/homestead_connect.png but i am facing the below issue ...
0
votes
1answer
1k views

Problem in Videos playing

I am using Dell Inspiron 3542, when I tried to play videos, it is showing: mpeg-4 AAC decoder not installed. What is the solution? Using PHP 7 on CentOS 64bit.
4
votes
3answers
10k views

httpd (apache2) server doesn't parse *.php files but displays them as text with installed php-module

I'm trying to set up my httpd (apache2) server on archlinux. Everything works now except for the parsing of my php files. I followed this article: https://wiki.archlinux.org/index.php/...
2
votes
1answer
838 views

Expect PECL for PHP 7

I just upgraded to PHP 7.0.3, but there is no support for expect. Does anyone know if is it possible to bypass the installation issue? It says: root@portal:/home# pecl install expect-0.3.3.tgz pecl/...
1
vote
1answer
931 views

Are any upcoming distros offering PHP 7 by default? [closed]

I am wondering if anyone is aware of any upcoming *nix distro which will be including PHP 7 as the default version without using any 3rd party repository?