Hi Guen,
you completely missed to specify which operating system is installed on your server.
I'll assume it will probably be some version of Debian (apt-get)
what do you exactly indent when you say "I can't find libspatialite.so or
mod_spatialite.so on my server after apt-get install libsqlite3-mod-spatialite" ?
apt-get will usually install mod_spatialite.so on /usr/lib/x86_64-linux-gnu
that is a standard system directory for installing packaged libraries and
modules and is usually covered by platform system-wide rules for searching
and loading dynamic libraries and modules.
you can easily check if mod_spatialite.so has been really installed or not
by executing this simple command on the shell:
ls -l /usr/lib/x86_64-linux-gnu/mod_spatialite*
that said: PHP will probably forbid to load a generic extension for
security reasons if it's not installed within some "special" location
defined in the php.ini configuration script.
you can find more detailed instructions on the tutorial in the paragraph
"Configuring PHP"
note: the tutorial was written about 5 year ago. I completely ignore
if the PHP configuration of more recent versions has changed someway
in the meanwhile.
bye Sandro