Questions tagged [php7]
The php7 tag has no summary.
77 questions
3
votes
1
answer
41
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 (...
0
votes
0
answers
45
views
Apache2 PHP error_log() doesn't work when called in some PHP code
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 ...
-1
votes
1
answer
119
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 ...
2
votes
1
answer
2k
views
php_value settings in .htaccess
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 ...
0
votes
1
answer
815
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 ...
0
votes
1
answer
373
views
How to use Available Package instead of Installed Package when Yum spits out a required error
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 ...
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 ...
1
vote
1
answer
191
views
Apache virtualhost configuration issue
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
...
0
votes
1
answer
124
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
2
answers
1k
views
How to install PHP on CentOS has preinstalled Apache HTTPD?
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....
0
votes
0
answers
123
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
916
views
{OSTICKET} Normal users cannot login in Chrome or Edge, but agents can!
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 ...
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"
...
0
votes
1
answer
199
views
RHEL PHP 7.3.5 with mysqlnd and apache
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 ...
1
vote
1
answer
656
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/...