Skip to main content

Questions tagged [php7]

Filter by
Sorted by
Tagged with
3 votes
1 answer
53 views

I am running Nextcloud on Debian 11. Recently, I tried upgrading using php-updater, and afterwards MariaDB stopped working properly. System details: Debian 11 MariaDB 11.3.2 Apache with mpm_prefork (...
Stefan Bollmann's user avatar
0 votes
0 answers
51 views

On my Linux Ubuntu system I run apache2 web server in the context of a PHP based web application. phpinfo() reports the following error_log /opt/unetlab/data/Logs/php_errors.txt I.e. error_log() is ...
CarloC's user avatar
  • 385
-1 votes
1 answer
128 views

My CentOS7 server has a very old version of PHP installed (v7.2.10). I am trying to upgrade to PHP8 but am having some major issues. My server has PHP Version Switcher installed and when I try to have ...
Bijan's user avatar
  • 101
2 votes
1 answer
2k views

I am in the process of migrating an Apache WordPress site from CentOS7 to AlmaLinux9. I installed standard LAMP stuff on the AlamLinux9 system, and restored the MySQL and copied over the html ...
TexasTim's user avatar
0 votes
1 answer
822 views

I run a web server on Alpine Linux. Previously I used PHP7, and I wanted to upgrade to PHP8. What is the proper way to do this? I tried with apk del php7 and then apk add php8, but it looks like this ...
T. Pluess's user avatar
  • 646
0 votes
1 answer
374 views

First and foremost, I blindly followed a tutorial to upgrade from PHP 7.3 to PHP 7.4, which called for yum remove "php*" -y Of course this just screwed up everything. It removed two very ...
Matthew Koster's user avatar
1 vote
4 answers
1k views

The setup: I have a PHP script (currently written for PHP5.5, but the server it runs from has 7.4) that processes files that contain lists of linux servers, then runs a bash or perl script via ssh on ...
solenoid's user avatar
  • 131
1 vote
1 answer
193 views

I'm developing a symfony application and in trying to remove index.php from the url, I used the following virtualhost configuration: <VirtualHost *:80> ServerAdmin webmaster@localhost ...
sisko's user avatar
  • 341
0 votes
1 answer
128 views

I apologize in advance if this question is in a wrong forum, this is my first question here! My client has hosting with Aliyun Cloud (Alibaba Cloud in China). I've deployed a microsite to their ...
Siniša's user avatar
  • 111
0 votes
2 answers
1k views

I'm using CentOS 7. I wanted to install PHP 7 so I used remi-php (latest PHP version of yum is 5.4). Since the HTTPD version of yum is too old, I compiled the latest HTTPD version from the source code....
Tần Quảng's user avatar
0 votes
0 answers
124 views

On my rhel 7.2 system, I finished installing Apache 2.4.46 and PHP 7.4.19. However, when I start apache and access to my own php file, it shows source code instead of executing it. I find some ...
TRONG NGUYEN's user avatar
0 votes
1 answer
924 views

I am trying a ticketing system called osTicket, to see if we can implement it if we like it. The problem is, user login only works in Firefox. Normal users cannot login in Chrome or Edge, but agents ...
1511's user avatar
  • 1
0 votes
1 answer
2k views

When i set the extension_dir in php.ini and use the full path like this, it works extension_dir = "/home/appie/Bureaublad/astroapp/phpdesktop-linux-72.1/ext" extension = "sweph.so" ...
Arjan's user avatar
  • 101
0 votes
1 answer
203 views

I'll start by stating I'm not a server admin by trade, so I've been struggling with this task. PHP 7.3.5 was already installed on RHEL7 running Apache. I have installed MySQL successfully and now I am ...
Dan's user avatar
  • 173
1 vote
1 answer
663 views

I'm following a guide for loading PHP 7.4 on Ubuntu 18.04 from the Ondrej Surý repo and noticed the CAVEAT about apache2 and nginx from the 1. If you are using php-gearman, you need to add ppa:ondrej/...
Server Fault's user avatar
1 vote
1 answer
3k views

I cannot figure out the way to connect MSSQL 2014 database on centos 8 using PhP 7.4. I found GitHub link and downloaded CentOS8-7.4.tar and extracted the php_sqlsrv_72_ts.so and php_pdo_sqlsrv_72_ts....
Ratan Thapa's user avatar
1 vote
1 answer
120 views

I use Sury for Debian 10. Somehow I noticed, it's trying to install older versions and new versions. Is their any way, I can do something so that, apt-get update or apt-get dist-upgrade, doesn't ...
Alex's user avatar
  • 11
0 votes
1 answer
84 views

I have a website that was working OK until this weekend. Today I noticed that a number of browsers lost the ability to scroll the content vertically. The only modifications done to the server or the ...
christerk's user avatar
0 votes
1 answer
6k views

I'm on Ubuntu 14.04 and PHP 7.0. I need to update PHP to PHP 7.4. I added ppa:ondrej/php repository. Still, it says Unable to locate package php7.4 when trying to update PHP. $ sudo add-apt-repository ...
Pradeep Sanjeewa's user avatar
0 votes
0 answers
76 views

I would like to configure an Apache webserver 2.4.37 to hide the fact that it is serving PHP files. For this, I renamed all .php files to .html and inserted the following directive: AddType ...
dr_'s user avatar
  • 32.4k
0 votes
1 answer
279 views

I had php 7.4.10 in my centos 7 server but I want to downgrade to php 7.3 I uninstalled the php 7.4 and tried this code. wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm ...
DavSev's user avatar
  • 203
2 votes
1 answer
3k views

I am upgrading a server from Debian 9 (stretch) to Debian 10 (buster), and am aware (and intend) that this results in PHP being upgraded from PHP 7.0 to PHP 7.3. php -v does indeed show that PHP 7.3 ...
dave559's user avatar
  • 451
0 votes
1 answer
1k views

Showing my case how to debug the problem, that a PHP module is not loaded into PHP. I use OpenSUSE v42.2 Linux OS, with Apache webserver, PHP v7.1, Mysql. Because it does not provide PHP v7.1 I need, ...
klor's user avatar
  • 436
0 votes
1 answer
390 views

I spawned a LXC container on our (Proxmox) hypervisor (we run multiple containers on it without any performance issue). I installed NGINX and PHP7.4 on it and host (currently) only 1 Wordpress website....
CodeNinja's user avatar
  • 231
1 vote
1 answer
705 views

I have a strange problem, the errorlog of my nginx server is somehow messed up: PHP errors seem to be all written in one line and repeating itself recursively. This way the llog grows a few GB within ...
rubo77's user avatar
  • 30.6k
1 vote
0 answers
55 views

I am new in Linux Mint. I installed Linux Mint 19.1. Now I would like to install PHP7.2 in Linux Mint. I found a way in this tutorial and another way in this tutorial. I got another way in this ...
Foysal's user avatar
  • 113
0 votes
0 answers
623 views

we've just migrated from CentOS 6.5 with PHP 5.3 to CentOS 7.7 with PHP 7.0 and are getting strange behaviors with some http requests Most of the time, pages & resources load super fast, and some ...
mboisvert-bravad's user avatar
0 votes
0 answers
309 views

I have a little Debian 9 server with Apache 2.4 installed. I need it to serve my home with a Nextcloud service, which requires PHP7.0. Then I also need to get it to serve a rather old service (http://...
MiniTux's user avatar
  • 81
0 votes
1 answer
1k views

Not sure if this is a correct place to post. I have recently upgraded to PHP 7 on one of our webservers, however, when I do the same for another webserver, I get the below dependency error. The ...
Avinesh Kumar's user avatar
0 votes
1 answer
1k views

I have a fresh RHEL 8 system. I thought I could install PHP 7.1 via the Software Collections. But this package is not available. Repository list: $ sudo dnf repolist Updating Subscription ...
robsch's user avatar
  • 169
1 vote
1 answer
311 views

I would like to replace the ancient Mediawiki (version 1.21.2,l PHP version 5.3.3, MySQL 5.1.73) used by my company with a brand new Mediawiki site running the latest version (requires php 7.0.13 or ...
Olumide's user avatar
  • 177
0 votes
0 answers
201 views

My server setup uses cloud azure VMSS. I have an issue when testing 200 users' requests that produce error 502 and non-HTTP response message connection timed out connect. Already followed some ...
Steven Audy's user avatar
0 votes
1 answer
3k views

I am facing the error "Cannot create SSL client. SSL is not enabled in this build" when connecting to CosmosDB using the MongoDB API. My PHP configuration suggests SSL support is included in my ...
Steven Audy's user avatar
-2 votes
1 answer
6k views

Commands I have tried : sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install php7.0 Getting error as Reading package lists... Done Building dependency tree ...
sowmya's user avatar
  • 21
1 vote
2 answers
1k views

I am using linux debian 8. I have webmin/virtualmin installed and 1 domain is running over the server. Php version is 7.1. But, i can not run curl on my server. i tried to install curl but it throws ...
Amit's user avatar
  • 7
0 votes
1 answer
213 views

How do you run Drupal's drush cron jobs when your server has a newer PHP version installed from Software Collections? The server is running Scientific Linux 7, which comes with PHP 5.4, but we need, ...
dave559's user avatar
  • 451
0 votes
1 answer
2k views

What is the right way to set a global environment variable, such that it is picked up all processes, including those started via init.d (service <service> start), on Ubuntu? Details: I first ...
Andre M's user avatar
  • 503
3 votes
3 answers
7k views

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....
Paul's user avatar
  • 41
0 votes
1 answer
335 views

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. ( ...
dubis's user avatar
  • 1,480
4 votes
1 answer
8k views

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 ...
Can Sürmeli's user avatar
1 vote
2 answers
5k views

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 ...
jamil's user avatar
  • 141
1 vote
1 answer
2k views

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-...
Raymond Rosenberg's user avatar
3 votes
0 answers
3k views

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 ...
Ugluk's user avatar
  • 141
5 votes
3 answers
9k views

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-...
Dimitrios Desyllas's user avatar
1 vote
2 answers
3k views

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 ...
ademchenko's user avatar
1 vote
1 answer
7k views

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'...
Bar Smith's user avatar
  • 113
0 votes
0 answers
1k views

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 ...
Nerdar's user avatar
  • 101
2 votes
1 answer
11k views

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 ...
Grego's user avatar
  • 121
1 vote
1 answer
235 views

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 ...
fbas's user avatar
  • 151
1 vote
3 answers
2k views

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 the ...
Leo's user avatar
  • 111