Questions tagged [php7]
The php7 tag has no summary.
77 questions
3
votes
1
answer
46
views
MariaDB won’t start after php-updater change – “Unknown/unsupported storage engine: InnoDB”
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 (...
-1
votes
1
answer
127
views
Upgrade PHP to New Version
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 ...
0
votes
1
answer
821
views
Alpine Linux PHP7 to PHP8 upgrade
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 ...
1
vote
4
answers
1k
views
Parallel execution of remote commands
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 ...
0
votes
1
answer
126
views
Constant concurrent connections drain my server storage
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 ...
0
votes
0
answers
124
views
Need help about PHP modules on RHEL 7.2- Apache shows code instead of executing it
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 ...
0
votes
1
answer
2k
views
Setting PHP extension_dir path in php.ini not working as i expected
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"
...
1
vote
1
answer
663
views
Ondrej repo on Ubuntu 18.04
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/...
1
vote
1
answer
117
views
Older php versions are getting auto installed
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 ...
0
votes
1
answer
6k
views
Problem with installing PHP 7.4 on Ubuntu 14.04 LTS
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 ...
0
votes
1
answer
279
views
Try to install php 73 but it installs php 74
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
...
0
votes
1
answer
1k
views
Why a PHP module is not loaded into PHP?
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, ...
1
vote
1
answer
703
views
fastcgi php nginx errorlog messed up
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 ...
0
votes
0
answers
623
views
Http requests hanging on new CentOS 7 + apache install. TTFB of 30 secs
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 ...
0
votes
1
answer
1k
views
Package Dependency when Upgrading to PHP7
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 ...
1
vote
1
answer
310
views
Install php 7.X (for new wiki) alongside php 5.3 (for old wiki) on CentOS 6
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 ...
0
votes
1
answer
3k
views
Showing "Cannot create SSL client. SSL is not enabled in this build" when connecting to Cosmos DB (MongoDB API)
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 ...
1
vote
2
answers
1k
views
php curl not getting installed on Debian 8 [duplicate]
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 ...
0
votes
1
answer
2k
views
Init script not picking up environment variable set in /etc/environment?
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 ...
0
votes
1
answer
333
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
2
answers
5k
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 ...
3
votes
0
answers
3k
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 ...
1
vote
2
answers
3k
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
0
answers
1k
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 ...
1
vote
1
answer
232
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 ...