Skip to main content

How to Upgrade Your RAM and SSD on Ubuntu: A Complete Guide 2025 - 2026 midway

Ubuntu system PHP setup

Tech Easy Solutions


1 php -v

2 apche2

3 mysql

4 sudo apt update

5 sudo apt install apache2

6 sudo apt install mysql-server

7 sudo mysql_secure_installation

8 sudo mysql

9 sudo apt install php libapache2-mod-php php-mysql

sudo apt-get install php-curl php-gd php-mbstring php-mcrypt php-xml php-xmlrpc

10 sudo nano /etc/apache2/mods-enabled/dir.conf


/etc/apache2/mods-enabled/dir.conf

<IfModule mod_dir.c>

DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm

</IfModule>



11 sudo systemctl restart apache2

12 sudo systemctl status apache2

13 apt search php- | less

14 apt show php-cli

15 php -v

16 sudo apt install php-cli

17 sudo apache2ctl configtest

18 sudo systemctl restart apache2

19 sudo nano /var/www/info.php

20 sudo nano /var/www/html/info.php

21 sudo apt update

22 sudo apt install php phpmyadmin php-mbstring php-gettext

23 sudo phpenmod mbstring

24 sudo systemctl restart apache2

25 sudo mysql

26 mysql -u root -p

## update root user password
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'ss008';


## change php max value


27 sudo nano /etc/php/7.2/apache2/php.ini

28 sudo systemctl restart apache2



Comments

Popular posts from this blog

Shopify fully custom contact section block on home page

Tech Easy Solutions Shopify fully custom contact section block on home page <section class="contact-information" >       <!--<div class="left-shape">         <img src="images/left-shape.png" class="img-fluid">       </div>-->       <div class="container c-container">         <div class="row">           <div class="col-lg-6 col-md-6 col-sm-12 col-12">             <div class=" contact-us">                         {% form 'contact' %}                       {% if form.posted_successfully? %}                        <center> <p class="note form-success">                   ...

How to delete Torrent power account

Sanjay Tech solutions 3 easy tips to delete torrent power account  Step 1 : login in to your account Step 2 : click on more profile settings Step 3 : you see red button with deactivate account click then enter your password Your account deactivate 

Fixing PHP 8.2 zip Extension Error on Ubuntu 25 for Laravel 10,11,12 Shopify Apps

Tech Easy Solutions           Solution : How to Fix PHP 8.2 zip Extension Error on Ubuntu 25 Since Ubuntu 25’s PPAs don’t yet support this extension directly, there are three approaches to fix this: server  / local Ubuntu   Compile the Zip Extension from Source (Recommended) Install development packages: $ sudo apt-get install php8.2-dev libzip-dev build-essential unzip Install the zip extension via PECL:  $ sudo pecl install zip Enable the extension:  $ echo "extension=zip.so" | sudo tee /etc/php/8.2/cli/conf.d/20-zip.ini $ echo "extension=zip.so" | sudo tee /etc/php/8.2/fpm/conf.d/20-zip.ini Restart PHP services : $ sudo systemctl restart php8.2-fpm Verify $ :  php -m | grep zip ____________________________________________________ Result :  Error tracer : Why This Error Happens When running a Laravel 12 Shopify project on Ubuntu 25, you might see an error like: php8 .2 - zip : Depends: libzip4t64 (>= 1....