[SOLVED] Uninstalling unwanted PHP and mariadb packages [WAS Re: How could the missing MySQL extension required by WordPress be installed?]

2023-11-11 Thread Susmita/Rajib
For all the debian-users who might fall into the same ditch into which
I had fallen, to alert them ...

I thank Mr. Cater for his advice at
https://lists.debian.org/debian-user/2023/11/msg00443.html. I raed his
advice and understood that while uninstalling I should follow a path
chronologically reverse to the one I had followed while installing all
those packages on the 10th Nov 2023.

So what I did was that I noted down his advice on a plain text editor,
then opted for "uninstall completely ..." the following packages:
php-common
apache2
apache2-bin
apache2-data
mariadb-client-10.5

Following my practice of safety, I kept a note of the packages I had
installed, as recorded in my first post of this thread, at:
https://lists.debian.org/debian-user/2023/11/msg00384.html
as follows:
[quote]
The nearest that are available in Debian Bullseye :
default-mysql-server
default-mysql-server-core
php-mysql
php7.4-mysql
apache2
php-db
along with their dependencies.

I installed them all. ...
[/quote]

Then I went to my list of synaptic installation history and from the
block categories described earlier in:
https://lists.debian.org/debian-user/2023/11/msg00411.html,
individually selected the still unselected packages. All of them,
listed on the History list of 10th November 2023.

With a little anxiety, I proceeded for a complete uninstallation.

The Uninstallation completed without an error message (synaptic
reported in the "Changes Applied" window: "Successfully applied all
changes...") as follows:

[output]
(Reading database ... 270111 files and directories currently installed.)
Removing apache2 (2.4.56-1~deb11u2) ...
Removing apache2-bin (2.4.56-1~deb11u2) ...
dpkg: warning: while removing apache2-bin, directory
'/var/lib/apache2' not empty so not removed
Removing apache2-data (2.4.56-1~deb11u2) ...
Removing apache2-utils (2.4.56-1~deb11u2) ...
Removing default-mysql-server (1.0.7) ...
Removing default-mysql-server-core (1.0.7) ...
Removing mariadb-server-10.5 (1:10.5.21-0+deb11u1) ...
Removing galera-4 (26.4.11-0+deb11u1) ...
Removing libaprutil1-ldap:amd64 (1.6.1-5+deb11u1) ...
Removing libaprutil1-dbd-sqlite3:amd64 (1.6.1-5+deb11u1) ...
Removing libaprutil1:amd64 (1.6.1-5+deb11u1) ...
Removing libapr1:amd64 (1.7.0-6+deb11u2) ...
Removing libcgi-fast-perl (1:2.15-1) ...
Removing libhtml-template-perl (2.97-1.1) ...
Removing libcgi-pm-perl (4.51-1) ...
Removing mariadb-client-10.5 (1:10.5.21-0+deb11u1) ...
Removing libconfig-inifiles-perl (3.03-1) ...
Removing libdbd-mariadb-perl (1.21-3) ...
Removing libfcgi-bin (2.4.2-2) ...
Removing libfcgi-perl:amd64 (0.79+ds-2) ...
Removing libfcgi0ldbl:amd64 (2.4.2-2) ...
Removing liblua5.3-0:amd64 (5.3.3-1.1+deb11u1) ...
Removing mailutils (1:3.10-3+b1) ...
Removing libmailutils7:amd64 (1:3.10-3+b1) ...
Removing mariadb-client-core-10.5 (1:10.5.21-0+deb11u1) ...
Removing libmariadb3:amd64 (1:10.5.18-0+deb11u1) ...
Removing libterm-readkey-perl (2.38-1+b2) ...
Removing mariadb-server-core-10.5 (1:10.5.21-0+deb11u1) ...
Removing mariadb-common (1:10.5.21-0+deb11u1) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide
/etc/mysql/my.cnf (my.cnf) in auto mode
Removing php-db (1.10.0-1) ...
Removing php-pear (1:1.10.12+submodules+notgz+20210212-1) ...
Removing php-cli (2:7.4+76) ...
update-alternatives: using /usr/bin/php7.4 to provide /usr/bin/php
(php) in auto mode
update-alternatives: using /usr/bin/phar7.4 to provide /usr/bin/phar
(phar) in auto mode
update-alternatives: using /usr/bin/phar.phar7.4 to provide
/usr/bin/phar.phar (phar.phar) in auto mode
Removing php-xml (2:7.4+76) ...
Removing php7.4-xml (7.4.33-1+deb11u4) ...
Removing php7.4-cli (7.4.33-1+deb11u4) ...
Removing php7.4-readline (7.4.33-1+deb11u4) ...
Removing php-mysql (2:7.4+76) ...
Removing php7.4-opcache (7.4.33-1+deb11u4) ...
Removing php7.4-json (7.4.33-1+deb11u4) ...
Removing php7.4-mysql (7.4.33-1+deb11u4) ...
Removing socat (1.7.4.1-3) ...
Removing php7.4-common (7.4.33-1+deb11u4) ...
Removing php-common (2:76) ...
Warning: Stopping phpsessionclean.service, but it can still be activated by:
  phpsessionclean.timer
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for menu (2.1.48) ...
Processing triggers for libc-bin (2.31-13+deb11u5) ...
(Reading database ... 268625 files and directories currently installed.)
Purging configuration files for php-common (2:76) ...
Purging configuration files for apache2 (2.4.56-1~deb11u2) ...
Purging configuration files for mariadb-common (1:10.5.21-0+deb11u1) ...
Purging configuration files for mariadb-client-10.5 (1:10.5.21-0+deb11u1) ...
Processing triggers for menu (2.1.48) ...
[/output]

So a SUMMARY becomes due:
To note down the bulk packages while installing, follow a path
chronologically reverse to the one followed during installing, then
from the "History of installed, upgraded and removed packages" also
select the associated packages installed along with the bulk packages
and remove them together at one shot.

So thank you 

Uninstalling unwanted PHP and mariadb packages [WAS Re: How could the missing MySQL extension required by WordPress be installed?]

2023-11-11 Thread Susmita/Rajib
From: "Andrew M.A. Cater" 
Date: Sat, 11 Nov 2023 16:39:01 +
Message-id: <[] zu-ujrqewxkor...@einval.com>
In-reply-to: <[]
CAEG4cZXquvxryjdFLCgHBiteyx8mFm=e+kjcusxnhhj0+zp...@mail.gmail.com>,
https://lists.debian.org/debian-user/2023/11/msg00415.html

On Sun, 12 Nov 2023 at 07:42, Susmita/Rajib  wrote:
>
> On Sat, Nov 11, 2023 at 05:44:29PM +0530, Susmita/Rajib wrote:
> > Apologise for the typos and incorrect sentence constructions in my
[ ... ]
> > Possible?
> >
>
> I'd suggest you remove
>
> php-common
> apache2
> apache2-bin
> apache2-data
> mariadb-client-10.5
>
> and then an apt autoremove.
>
> Then perhaps an apt-purge apache2 .. and so on.
> Then go back and remove any outlying packages that have not already been
> removed until you have no more left.
[ ... ]

Ok. Thank you Mr. Cater, for your guidance.

[ ... ]
> For the future - for any reader of this list, not just Rajib:
>
> If you don't know quite what you're installing and a single package installs
> lots of other packages, stop and consider before you install. Meta-packages
> like desktops pull in lots of dependencies, but so, as you've seen does
> PHP
>
> If you're really not sure: read lots then ask. If you say

I sincerely apologise, Mr. Cater.
I am not posting an excuse, but sometimes, the excitement of the
prospect of a new perspective and more wisdom becomes too overpowering
to restrain myself from undue risk-taking. A millennium of lost
opportunities, trampled hopes and prospects, the lack of a beautiful
and fulfilling community life and a prosperous society enhances the
excitement exponentially. In this regard we share our common pain with
the Israelis, suffering from multiple-centuries of genocide even many
times more than the 2nd World War Holocaust. Our foodgrains were
repeatedly diverted, causing many man-made famines for more than a
century, killing and displacing my ancestors and made us more
susceptible to diabetes and heart diseases. But as the Israelis also
endorse, the only people that didn't persecute them were us.

My conscience cries for the sufferings of a grand continuous
civilisation and her peoples, Mr. Cater.

Prof. C K Raju's articles entice with the prospect of identifying the
real perpetrators of such inhuman atrocities with more evidence. So
the excitement couldn't be contained.

> "I want to do X. I think that means I need to install Y and configure Z.
> >From reading ABC pages, I _think_ that means that I need to do the
> following but I'm not sure because page C says to do this and I don't
> understand. I'm running Debian 12.2 updated this week. "
>
>  - it becomes a lot easier to understand what you want.

Yes, I have followed the general sensible guidelines. But in
excitement I couldn't restrain myself from experimenting. I didn't
consider the problem to be so irritating. So I didn't consider that I
would have to ask for support later. I sincerely apologise, Mr. Cater.

[ ... ]
> If you explain _exactly_ what error messages you get and how you get them
> that helps significantly. If you've done a web search and found a possible
> answer or that other people have had a similar problem, add that in.
>
> "I'm getting error message DEF from running this command. From the net,
> it looks as if other people have been having similar problems on older
> versions of Debian but not recently - am I reading this correctly"
>
> It shows that you have made an attempt to problem solve for yourself and
> people will be more willing to help and explain their suggestions.
[ ... ]

By good coincidence, I follow this sensible recording of experiences.
But thank you for reminding and consolidating the idea behind the
actions in a clearer language.

> If the advice you get solves a problem - post that back to the list
> in the thread and change the message subject slightly to make it
> clear that this is an answer. For example:
>
> [SOLVED] Package foo fails to install in Debian 12.2. [Was: Cannot install
>  foo]
[ ... ]

There is one problem with this approach, as stated earlier. For the
Mailing list, any change of subject from my Gmail webmail email-server
makes such an email detached from the main thread and treats it as a
different subject. Had Mailman also had an email editor for posting
messages, that would have been a better option.

However, I understand the difficulties and the legalities associated
with this added functionality and acknowledge the associated problems,
since FSF has to bear with the Deep State more, bringing an added
peril to itself. We already know the fate of Assange, Snowden and
myriads of unknown others.

In countries where the Law owes its existence to Xtian Morality
legitimising flat earth, land grab, usurpation, genocides, may the
real Hive Mind of the Holographic Universe, the Brahm, save us from
the faux construct.

The people who choose to empower us, despite facing all perils, have
our fullest admiration and wellwishes.

Between the two 

Uninstalling unwanted PHP and mariadb packages [WAS Re: How could the missing MySQL extension required by WordPress be installed?]

2023-11-11 Thread Andrew M.A. Cater
On Sat, Nov 11, 2023 at 05:44:29PM +0530, Susmita/Rajib wrote:
> Apologise for the typos and incorrect sentence constructions in my
> earlier post. But I am sure that Mr.  would be able to bypass the
> errors to extract the information intended for him.
> 
> My synaptic has a Log file for the installed packages yesterday:
> 
> 
> 
> Commit Log for Fri Nov 10 21:04:10 2023
> 
> Upgraded the following packages:
> mariadb-common (1:10.5.18-0+deb11u1) to 1:10.5.21-0+deb11u1
> 
> Installed the following packages:
> default-mysql-server (1.0.7)
> galera-4 (26.4.11-0+deb11u1)
> libcgi-fast-perl (1:2.15-1)
> libcgi-pm-perl (4.51-1)
> libconfig-inifiles-perl (3.03-1)
> libdbd-mariadb-perl (1.21-3)
> libdbi-perl (1.643-3+b1)
> libfcgi-bin (2.4.2-2)
> libfcgi-perl (0.79+ds-2)
> libfcgi0ldbl (2.4.2-2)
> libhtml-template-perl (2.97-1.1)
> libterm-readkey-perl (2.38-1+b2)
> mariadb-client-10.5 (1:10.5.21-0+deb11u1)
> mariadb-client-core-10.5 (1:10.5.21-0+deb11u1)
> mariadb-server-10.5 (1:10.5.21-0+deb11u1)
> mariadb-server-core-10.5 (1:10.5.21-0+deb11u1)
> socat (1.7.4.1-3)
> 
> 
> 
> Commit Log for Fri Nov 10 21:13:50 2023
> 
> Installed the following packages:
> default-mysql-server-core (1.0.7)
> 
> 
> 
> Commit Log for Fri Nov 10 21:25:16 2023
> 
> Installed the following packages:
> php-common (2:76)
> php-mysql (2:7.4+76)
> php7.4-common (7.4.33-1+deb11u4)
> php7.4-mysql (7.4.33-1+deb11u4)
> 
> 
> 
> Commit Log for Fri Nov 10 21:37:54 2023
> 
> Installed the following packages:
> apache2 (2.4.56-1~deb11u2)
> apache2-bin (2.4.56-1~deb11u2)
> apache2-data (2.4.56-1~deb11u2)
> apache2-utils (2.4.56-1~deb11u2)
> libapr1 (1.7.0-6+deb11u2)
> libaprutil1 (1.6.1-5+deb11u1)
> libaprutil1-dbd-sqlite3 (1.6.1-5+deb11u1)
> libaprutil1-ldap (1.6.1-5+deb11u1)
> liblua5.3-0 (5.3.3-1.1+deb11u1)
> 
> 
> 
> Commit Log for Fri Nov 10 21:44:41 2023
> 
> Installed the following packages:
> php-cli (2:7.4+76)
> php-db (1.10.0-1)
> php-pear (1:1.10.12+submodules+notgz+20210212-1)
> php-xml (2:7.4+76)
> php7.4-cli (7.4.33-1+deb11u4)
> php7.4-json (7.4.33-1+deb11u4)
> php7.4-opcache (7.4.33-1+deb11u4)
> php7.4-readline (7.4.33-1+deb11u4)
> php7.4-xml (7.4.33-1+deb11u4)
> 
> 
> So what do I need to do to clean-uninstall them all?
> 
> Possible?
>

I'd suggest you remove 

php-common
apache2 
apache2-bin
apache2-data
mariadb-client-10.5

and then an apt autoremove.

Then perhaps an apt-purge apache2 .. and so on.
Then go back and remove any outlying packages that have not already been
removed until you have no more left.

For the future - for any reader of this list, not just Rajib:

If you don't know quite what you're installing and a single package installs
lots of other packages, stop and consider before you install. Meta-packages
like desktops pull in lots of dependencies, but so, as you've seen does
PHP

If you're really not sure: read lots then ask. If you say 

"I want to do X. I think that means I need to install Y and configure Z.
>From reading ABC pages, I _think_ that means that I need to do the 
following but I'm not sure because page C says to do this and I don't
understand. I'm running Debian 12.2 updated this week. "

 - it becomes a lot easier to understand what you want.

If you explain _exactly_ what error messages you get and how you get them
that helps significantly. If you've done a web search and found a possible
answer or that other people have had a similar problem, add that in. 

"I'm getting error message DEF from running this command. From the net,
it looks as if other people have been having similar problems on older
versions of Debian but not recently - am I reading this correctly" 

It shows that you have made an attempt to problem solve for yourself and
people will be more willing to help and explain their suggestions.
If the advice you get solves a problem - post that back to the list
in the thread and change the message subject slightly to make it
clear that this is an answer. For example:

[SOLVED] Package foo fails to install in Debian 12.2. [Was: Cannot install
 foo]

It is always possible that no-one else has ever seen anything similar. The
advice you get from people here may always be a best guess as to a solution.
The more clearly you can give information, the easier the problem solving
becomes.

If you have to ask lots of questions around the same subject, consider
stopping and writing a summary post to write down what you've learned
and solutions you have tried so far.

SUMMARY - Package bar still failing to install after several tries

"I have been given solution A in a post in this thread on November 1st.
I did this but then got error message B - see post on November 3rd
 so I did C on November 4th. The problem I have now is that the
error message is DE" 

Hope this helps,

Andy

[amaca...@debian.org]



Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-11 Thread Andy Smith
Hello,

On Fri, Nov 10, 2023 at 09:51:41PM +0530, Susmita/Rajib wrote:
> Dear illustrious leaders and the senior members, Debian-user ML,

Did you want any assistance from people who aren't illustrious
leaders and senior members?

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-11 Thread Susmita/Rajib
Apologise for the typos and incorrect sentence constructions in my
earlier post. But I am sure that Mr.  would be able to bypass the
errors to extract the information intended for him.

My synaptic has a Log file for the installed packages yesterday:



Commit Log for Fri Nov 10 21:04:10 2023

Upgraded the following packages:
mariadb-common (1:10.5.18-0+deb11u1) to 1:10.5.21-0+deb11u1

Installed the following packages:
default-mysql-server (1.0.7)
galera-4 (26.4.11-0+deb11u1)
libcgi-fast-perl (1:2.15-1)
libcgi-pm-perl (4.51-1)
libconfig-inifiles-perl (3.03-1)
libdbd-mariadb-perl (1.21-3)
libdbi-perl (1.643-3+b1)
libfcgi-bin (2.4.2-2)
libfcgi-perl (0.79+ds-2)
libfcgi0ldbl (2.4.2-2)
libhtml-template-perl (2.97-1.1)
libterm-readkey-perl (2.38-1+b2)
mariadb-client-10.5 (1:10.5.21-0+deb11u1)
mariadb-client-core-10.5 (1:10.5.21-0+deb11u1)
mariadb-server-10.5 (1:10.5.21-0+deb11u1)
mariadb-server-core-10.5 (1:10.5.21-0+deb11u1)
socat (1.7.4.1-3)



Commit Log for Fri Nov 10 21:13:50 2023

Installed the following packages:
default-mysql-server-core (1.0.7)



Commit Log for Fri Nov 10 21:25:16 2023

Installed the following packages:
php-common (2:76)
php-mysql (2:7.4+76)
php7.4-common (7.4.33-1+deb11u4)
php7.4-mysql (7.4.33-1+deb11u4)



Commit Log for Fri Nov 10 21:37:54 2023

Installed the following packages:
apache2 (2.4.56-1~deb11u2)
apache2-bin (2.4.56-1~deb11u2)
apache2-data (2.4.56-1~deb11u2)
apache2-utils (2.4.56-1~deb11u2)
libapr1 (1.7.0-6+deb11u2)
libaprutil1 (1.6.1-5+deb11u1)
libaprutil1-dbd-sqlite3 (1.6.1-5+deb11u1)
libaprutil1-ldap (1.6.1-5+deb11u1)
liblua5.3-0 (5.3.3-1.1+deb11u1)



Commit Log for Fri Nov 10 21:44:41 2023

Installed the following packages:
php-cli (2:7.4+76)
php-db (1.10.0-1)
php-pear (1:1.10.12+submodules+notgz+20210212-1)
php-xml (2:7.4+76)
php7.4-cli (7.4.33-1+deb11u4)
php7.4-json (7.4.33-1+deb11u4)
php7.4-opcache (7.4.33-1+deb11u4)
php7.4-readline (7.4.33-1+deb11u4)
php7.4-xml (7.4.33-1+deb11u4)


So what do I need to do to clean-uninstall them all?

Possible?



Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-11 Thread Susmita/Rajib
Two messages from debian-user-howorth-org-uk
(1)
From: debian-u...@howorth.org.uk
Date: Sat, 11 Nov 2023 11:10:22 +
Message-id: <[] 2023111022.58bb3...@acer-suse.lan>

On Sat, 11 Nov 2023 at 17:09, Susmita/Rajib  wrote:
>
> Marco  wrote:
> > Am 11.11.2023 06:58 schrieb Susmita/Rajib:
> >
[ ... ]
> > > Active Links => 0
> >
> > Can you now try to create your own php script that makes use of that
> > to test it?
> >
>
> No, no, no. He shouldn't be installing PHP on his machine! It's a
> security nightmare he's opening himself up to and it won't solve his
> problem anyway!


(2)
From: debian-u...@howorth.org.uk
Date: Sat, 11 Nov 2023 11:08:36 +
Message-id: <[] 2023110836.3ffa4...@acer-suse.lan>

> "Susmita/Rajib"  wrote:
> > Dear illustrious leaders and the senior members, Debian-user ML,
> >
> > I liked the following two papers of Prof. Shri C K Raju:
> > ajol-file-journals_601_articles_221195_submission_proof_221195-7072-545591-1-10-20220325.pdf
> > https://www.ajol.info/index.php/ajct/article/download/221195/210502
> > ajol-file-journals_601_articles_222634_submission_proof_222634-7072-544552-1-10-20220309.pdf
> > https://www.ajol.info/index.php/ajct/article/download/222634/210050

[ ... ]

> > I followed both the first solution and the approved solution.
>
> Hmm, you seem to be chasing fairies. PHP is a server-side technology,
> so I don't think the error message is telling you that you have
> something wrong. It's telling you that http://ckraju.net has something
> wrong. It's not very helpful but if you want to look at the blog, you
> need to contact him and ask him to fix his website.


Thank you Mr. debian-user for replying to my thread.

Fortunately, I have heard from Prof. Raju himself and the gist of that
conversation is contained in the post:
https://lists.debian.org/debian-user/2023/11/msg00405.html

It would be nice of you to go through this above pos and suggest an
improvement in my post to Prof. Raju.

I apologise that you was writing and editing my email when you posted,
and I didn't update the archive page to know that you have posted.

Now, I will have to uninstall the components that I installed trying
to solve the issue that couldn't be solved in the way attempted.

Please feel free to post your suggestions.

There isn't unfortunately a roll-back feature for debian a feature
known to me with which I could take a snapshot of the system before
installing new packages, so that if anything went wrong, I could
uninstall the packages installed to get back to the previous snapshot.

Best wishes,
Rajib
Etc.



Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-11 Thread debian-user
Marco  wrote:
> Am 11.11.2023 06:58 schrieb Susmita/Rajib:
> 
> > mysqli
> > 
> > MysqlI Support => enabled
> > Client API library version => mysqlnd 7.4.33
> > Active Persistent Links => 0
> > Inactive Persistent Links => 0
> > Active Links => 0  
> 
> Can you now try to create your own php script that makes use of that
> to test it?
> 

No, no, no. He shouldn't be installing PHP on his machine! It's a
security nightmare he's opening himself up to and it won't solve his
problem anyway!



Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-11 Thread debian-user
"Susmita/Rajib"  wrote:
> Dear illustrious leaders and the senior members, Debian-user ML,
> 
> I liked the following two papers of Prof. Shri C K Raju:
> ajol-file-journals_601_articles_221195_submission_proof_221195-7072-545591-1-10-20220325.pdf
> https://www.ajol.info/index.php/ajct/article/download/221195/210502
> ajol-file-journals_601_articles_222634_submission_proof_222634-7072-544552-1-10-20220309.pdf
> https://www.ajol.info/index.php/ajct/article/download/222634/210050
> 
> and I tried to read Prof. Shri C K Raju's  blog pages, say the one at
> http://ckraju.net/blog/?p=189
> 
> I received a Firefox-esr notice:
> "Your PHP installation appears to be missing the MySQL extension which
> is required by WordPress."
> 
> Searching the internet, I reached the Stack Overflow page with the
> partial title:
> Your PHP installation appears to be missing the MySQL extension which
> is required by WordPress
> at:
> https://stackoverflow.com/questions/17694568/php-your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-r#22779915
> 
> I followed both the first solution and the approved solution.

Hmm, you seem to be chasing fairies. PHP is a server-side technology,
so I don't think the error message is telling you that you have
something wrong. It's telling you that http://ckraju.net has something
wrong. It's not very helpful but if you want to look at the blog, you
need to contact him and ask him to fix his website.



Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-11 Thread Susmita/Rajib
From: Marco 
Date: Sat, 11 Nov 2023 08:37:12 +0100
Message-id: <[] 2023083712.6badf0b7@x40>

On Sat, 11 Nov 2023 at 15:31, Susmita/Rajib  wrote:
>
> Am 11.11.2023 06:58 schrieb Susmita/Rajib:
>
> > mysqli
> >
> > MysqlI Support => enabled
> > Client API library version => mysqlnd 7.4.33
> > Active Persistent Links => 0
> > Inactive Persistent Links => 0
> > Active Links => 0
>
> Can you now try to create your own php script that makes use of that to
> test it?

Dear Mr. M, thank you for replying to my email. Unfortunately, I am
incapable of designing a such php script. Beyond my cognitive level. I
am just a user with very rudimentary programming skills.

In the meanwhile, I also contacted Prof. Shri C K Raju. He informed me that:
"...
The blog is not working since the php has to be updated, and that
would make other php elements malfunction."
"Some of the blog entries are restored at
https://ganita.net/to-decolonise-math-stand-up-to-its-false-history-and-bad-philosophy/
..."

I suggested:
"...This could be addressed differently. If the blogs are in plain html,
they could be downloaded with a website downloader. In linux users
generally employ webhttrack website copier. Have the articles stored
in a permanent medium such as an optical DVD-RW or a HDD. Then
restructure the entire website differently so that the blogs could be
kept intact across software upgrades with a static html file under the
index.html hierarchy. ..."

However, Mr. M, please feel free to suggest your advice with appropriate inputs.

Best wishes,
Rajib



Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-10 Thread Marco
Am 11.11.2023 06:58 schrieb Susmita/Rajib:

> mysqli
> 
> MysqlI Support => enabled
> Client API library version => mysqlnd 7.4.33
> Active Persistent Links => 0
> Inactive Persistent Links => 0
> Active Links => 0

Can you now try to create your own php script that makes use of that to
test it?



Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-10 Thread Susmita/Rajib
From: "Marco M." 
Date: Fri, 10 Nov 2023 20:10:02 +0100
Message-id: <[] 20231110201002.606c1...@ryz.home.arpa>
>
> Am 10.11.2023 um 23:48:35 Uhr schrieb Susmita/Rajib:
>
> > But the result remains the same.
>
> Can you use the php info function to get information about the php
> stuff that is being loaded?

Sure.

$ php --info
phpinfo()
PHP Version => 7.4.33

System => Linux debianLaptopuser 5.10.0-20-amd64 #1 SMP Debian
5.10.158-2 (2022-12-13) x86_64
Build Date => Jun  9 2023 16:51:37
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php/7.4/cli
Loaded Configuration File => /etc/php/7.4/cli/php.ini
Scan this dir for additional .ini files => /etc/php/7.4/cli/conf.d
Additional .ini files parsed => /etc/php/7.4/cli/conf.d/10-mysqlnd.ini,
/etc/php/7.4/cli/conf.d/10-opcache.ini,
/etc/php/7.4/cli/conf.d/10-pdo.ini,
/etc/php/7.4/cli/conf.d/15-xml.ini,
/etc/php/7.4/cli/conf.d/20-calendar.ini,
/etc/php/7.4/cli/conf.d/20-ctype.ini,
/etc/php/7.4/cli/conf.d/20-dom.ini,
/etc/php/7.4/cli/conf.d/20-exif.ini,
/etc/php/7.4/cli/conf.d/20-ffi.ini,
/etc/php/7.4/cli/conf.d/20-fileinfo.ini,
/etc/php/7.4/cli/conf.d/20-ftp.ini,
/etc/php/7.4/cli/conf.d/20-gettext.ini,
/etc/php/7.4/cli/conf.d/20-iconv.ini,
/etc/php/7.4/cli/conf.d/20-json.ini,
/etc/php/7.4/cli/conf.d/20-mysqli.ini,
/etc/php/7.4/cli/conf.d/20-pdo_mysql.ini,
/etc/php/7.4/cli/conf.d/20-phar.ini,
/etc/php/7.4/cli/conf.d/20-posix.ini,
/etc/php/7.4/cli/conf.d/20-readline.ini,
/etc/php/7.4/cli/conf.d/20-shmop.ini,
/etc/php/7.4/cli/conf.d/20-simplexml.ini,
/etc/php/7.4/cli/conf.d/20-sockets.ini,
/etc/php/7.4/cli/conf.d/20-sysvmsg.ini,
/etc/php/7.4/cli/conf.d/20-sysvsem.ini,
/etc/php/7.4/cli/conf.d/20-sysvshm.ini,
/etc/php/7.4/cli/conf.d/20-tokenizer.ini,
/etc/php/7.4/cli/conf.d/20-xmlreader.ini,
/etc/php/7.4/cli/conf.d/20-xmlwriter.ini,
/etc/php/7.4/cli/conf.d/20-xsl.ini

PHP API => 20190902
PHP Extension => 20190902
Zend Extension => 320190902
Zend Extension Build => API320190902,NTS
PHP Extension Build => API20190902,NTS
Debug Build => no
Thread Safety => disabled
Zend Signal Handling => enabled
Zend Memory Manager => enabled
Zend Multibyte Support => disabled
IPv6 Support => enabled
DTrace Support => available, disabled

Registered PHP Streams => https, ftps, compress.zlib, php, file, glob,
data, http, ftp, phar
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, tls,
tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters => zlib.*, string.rot13, string.toupper,
string.tolower, string.strip_tags, convert.*, consumed, dechunk,
convert.iconv.*

This program makes use of the Zend Scripting Language Engine:
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies


 ___


Configuration

calendar

Calendar support => enabled

Core

PHP Version => 7.4.33

Directive => Local Value => Master Value
allow_url_fopen => On => On
allow_url_include => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => UTF-8 => UTF-8
default_mimetype => text/html => text/html
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => Off => Off
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => Off => Off
enable_post_data_reading => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => 22527 => 22527
expose_php => On => On
extension_dir => /usr/lib/php/20190902 => /usr/lib/php/20190902
file_uploads => On => On
hard_timeout => 2 => 2
highlight.comment => #FF8000 =>
#FF8000
highlight.default => #BB =>
#BB
highlight.html => #00 => #00
highlight.keyword => #007700 =>
#007700
highlight.string => #DD =>
#DD
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/usr/share/php => .:/usr/share/php
input_encoding => no value => no value
internal_encoding => no value => no value
log_errors => On => On
log_errors_max_len => 1024 => 1024
mail.add_x_header => Off => Off
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
max_multipart_body_parts => -1 => -1
memory_limit => -1 => -1
open_basedir => no value => no value
output_buffering => 0 => 0
output_encoding => no value => no value
output_handler => no value => no value
post_max_size => 8M => 8M
precision 

Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-10 Thread Marco M.
Am 10.11.2023 um 23:48:35 Uhr schrieb Susmita/Rajib:

> But the result remains the same.

Can you use the php info function to get information about the php
stuff that is being loaded?



Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-10 Thread Susmita/Rajib
From: "Marco M." 
Date: Fri, 10 Nov 2023 17:40:56 +0100
Message-id: <[] 20231110174056.3760b...@ryz.home.arpa>

[ ... ]
>
> That is the old Sysvinit method.
> Use systemd tools instead
>
> systemctl status mysql

Thank you, Mr. M. Checked.
>From superuser:
● mariadb.service - MariaDB 10.5.21 database server
 Loaded: loaded (/lib/systemd/system/mariadb.service; enabled;
vendor preset: enabled)
 Active: active (running) since Fri 2023-11-10 21:05:24 IST; 2h 26min ago
   Docs: man:mariadbd(8)
 https://mariadb.com/kb/en/library/systemd/
   Main PID: 79681 (mariadbd)
 Status: "Taking your SQL requests now..."
  Tasks: 8 (limit: 4565)
 Memory: 59.7M
CPU: 2.445s
 CGroup: /system.slice/mariadb.service
 └─79681 /usr/sbin/mariadbd

Nov 10 21:05:24 debLaptop mariadbd[79681]: 2023-11-10 21:05:24 0
[Note] Reading of all Master_info entries succeeded
Nov 10 21:05:24 debLaptop mariadbd[79681]: 2023-11-10 21:05:24 0
[Note] Added new Master_info '' to hash table
Nov 10 21:05:24 debLaptop mariadbd[79681]: 2023-11-10 21:05:24 0
[Note] /usr/sbin/mariadbd: ready for connections.
Nov 10 21:05:24 debLaptop mariadbd[79681]: Version:
'10.5.21-MariaDB-0+deb11u1'  socket: '/run/mysqld/mysqld.sock'  port:
3306  Debian 11
Nov 10 21:05:24 debLaptop systemd[1]: Started MariaDB 10.5.21 database server.
Nov 10 21:05:24 debLaptop /etc/mysql/debian-start[79704]: Looking for
'mariadb' as: /usr/bin/mariadb
Nov 10 21:05:24 debLaptop /etc/mysql/debian-start[79704]: Looking for
'mariadb-check' as: /usr/bin/mariadb-check
Nov 10 21:05:24 debLaptop /etc/mysql/debian-start[79704]: This
installation of MariaDB is already upgraded to 10.5.21-MariaDB.
Nov 10 21:05:24 debLaptop /etc/mysql/debian-start[79704]: There is no
need to run mysql_upgrade again for 10.5.21-MariaDB.
Nov 10 21:05:24 debLaptop /etc/mysql/debian-start[79704]: You can use
--force if you still want to run mysql_upgrade

As a normal user:
$ systemctl status mysql
● mariadb.service - MariaDB 10.5.21 database server
 Loaded: loaded (/lib/systemd/system/mariadb.service; enabled;
vendor preset: enabled)
 Active: active (running) since Fri 2023-11-10 21:05:24 IST; 2h 42min ago
   Docs: man:mariadbd(8)
 https://mariadb.com/kb/en/library/systemd/
   Main PID: 79681 (mariadbd)
 Status: "Taking your SQL requests now..."
  Tasks: 8 (limit: 4565)
 Memory: 59.3M
CPU: 2.589s
 CGroup: /system.slice/mariadb.service
 └─79681 /usr/sbin/mariadbd

But the result remains the same.



Re: How could the missing MySQL extension required by WordPress be installed?

2023-11-10 Thread Marco M.
Am 10.11.2023 um 21:51:41 Uhr schrieb Susmita/Rajib:

> I installed them all. Then I tried to follow the instructions:
> # sudo /etc/init.d/mysql status
> sudo: /etc/init.d/mysql: command not found

That is the old Sysvinit method.
Use systemd tools instead

systemctl status mysql