Skip to main content

All Questions

Tagged with
0 votes
1 answer
358 views

Install PHP 5.4 on Ubuntu 22.04 or Debian 12

We have an old PHP application that is used internally within the company. This application has a strict dependency on PHP 5.4 or lower. Currently, the application is hosted on a virtual machine ...
Adam Smith's user avatar
0 votes
0 answers
449 views

Cant Access Phpmyadmin on Ubuntu LTS 22.04 (HTTP Error Code 500)

I just installed phpmyadmin on my PC. I followed several instructions such as: sudo apt update sudo apt install phpmyadmin sudo ln -s /usr/share/phpmyadmin /var/www/your_domain/phpmyadmin I use NGINX ...
Dans988's user avatar
0 votes
2 answers
2k views

Install PHP 8.0 Yaml extension on Ubuntu 18.04

I wrote a simple php based on the fisrt example. https://www.php.net/manual/es/function.yaml-parse.php I got... Fatal error: Uncaught Error: Call to undefined function yaml_parse() in /var/www/html/p....
icalvete's user avatar
  • 101
2 votes
1 answer
991 views

How to understand which libapache2-mod-php am I using now?

Listing packages # apt list libapache2-mod-php* Listing... Done libapache2-mod-php5/trusty-updates,trusty-security,now 5.5.9+dfsg-1ubuntu4.29 amd64 [installed,automatic] libapache2-mod-php5.6/now 5.6....
realtebo's user avatar
  • 1,005
0 votes
1 answer
119 views

Ubuntu - Always use certain php version for certain directory

I have multiple PHPs (8.1 and 7.3). If I execute php -v then I get 7.3. I need to execute some command with PHP for magento 2 e.g. php bin/magento cache:flush, but I need to call it with php 8.1 for a ...
Black's user avatar
  • 2,138
2 votes
2 answers
26k views

How to enable the PHP DOM extension?

I have a server that has PHP 7.4.3 installed, but it doesn't load PHP-DOM. It's not listed in php -m or php -i, nor when I load PHP on a page. Here's what I tried so far: Ran sudo apt-get install php-...
lastnoob's user avatar
  • 121
0 votes
0 answers
521 views

PHP extension_dir changes after updates

I am advising a client who is catching up on updates, and has recently updated Ubuntu from 18.04LTs to v20.04LTS along with packages. They are using the PHP 7.2 (7.2.34-38+ubuntu18.04.1+deb.sury.org+1)...
John Brandenburg's user avatar
-1 votes
1 answer
122 views

File upload freezes with files >= 100MB

So I have a website where you can upload files, when you start an upload a progress bar pops up. If a file or group of files selected at once is less than 100MB the upload goes through and completes ...
Mato's user avatar
  • 9
0 votes
0 answers
31 views

File upload freezes with files above 100MB [duplicate]

So I have a website where you can upload files, when you start an upload a progress bar pops up. If a file or group of files selected at once is less than 100MB the upload goes through and completes ...
Mato's user avatar
  • 1
0 votes
1 answer
196 views

How to install Apache, MySQL, PHP and Composer via apt?

I have Ubuntu 22.04 and I wish to install Apache, MySQL, PHP and Composer altogether via apt. How to install Apache, MySQL, PHP and Composer via apt? Something like this? apt install curl lamp-server^ ...
kature's user avatar
  • 43
1 vote
0 answers
497 views

php7.3-soap install problem, Ubuntu 16.04.6 LTS (Xenial Xerus)

My system: Ubuntu 16.04.6 LTS (Xenial Xerus) I tried: sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudp apt-get install php7.3-soap Error: Reading package lists... Done Building ...
luckyluck31's user avatar
0 votes
1 answer
4k views

Change from update-alternatives command not taking effect

I tried to change my PHP CLI version with sudo update-alternatives --config php: There are 2 choices for the alternative php (providing /usr/bin/php). Selection Path Priority ...
Black's user avatar
  • 2,138
0 votes
1 answer
1k views

How to install a specific php version on ubuntu

I'm trying to install an older version of PHP 8.0 in my ubuntu the version is 8.0.14 I tried several ways ... sudo add-apt-repository --yes ppa:ondrej/php sudo apt install php8.0.14 I get this error ...
kadi-dz's user avatar
0 votes
0 answers
365 views

What is eating up my CPU?

I am facing a difficult situation. 100% CPU but I cannot see a singular process using much in top or htop. I run this command: :~$ ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10 %CPU PID USER ...
conanDrum's user avatar
  • 465
0 votes
1 answer
1k views

Visudo permission in file execute script

I'm trying to run a shell script via php but I'm getting a permission error, however I'm trying to add permission to my www-data user to use the sudo command without a password, but it's not working, ...
Crazy's user avatar
  • 103

15 30 50 per page
1
2 3 4 5