First trip between rocks and icebergs aboard the Submarine of Inexperience (taken from the logbook).
I found in the galley of the submarine the vinyl
"Journey of the Centre of The Earth" by Rick Wakeman.
So I thought it was perfect for the first trip into the unknown:
the installation of LiveCodeServer on various servers!
The spirit of
Arne Saknussemm hovers in the cockpit!
And so the submarine runs in his first and most difficult maneuver to overcome a difficult obstacle:
the first installation.
To be prepared to overcome the obstacle I state that
I read ALL the material available in the galley, and then I sent in BINARY the version 7.0.6 of LCServer.
Then I created a simple test page and sent it to the server via ftp.
Result: not working!
The Submarine of Inexperience began to tremble!
Golive, trustworthy my first assistant, stop the engines!
I sip a cup of juice of seaweed and I start to reflect.
Let's start from the beginning.
I have several server "shared" (as most of the poor beginners) where you can not do nothing but manage manageable through
htaccess. (all server with LINUX OS).
I followed the pattern of the operating LCS
"as installed with htaccess" we have in the galley.
I followed
slavishly. But it has not worked.
I remember long ago I had solved the problem by accident! (Juice of seaweed is good for memory)

.
The servers that use it only works if I disable htaccess on the first line! (#Options ExecCGI)
Not that this should work for everyone, but it is an interesting trick (I guess it depends on how it is configured on the Apache server).
So on the first server available to me, with which I say more familiar, I've been successful.

LCS works and the proof is the test page.
The rock is exceeded! The submarine of inexperience traveling to a new server, a new adventure!
I try then with a second "new" server, a server that I do not know. I only know that this is "shared" and I only own the file htaccessto manage it.
This time too slavishly follow the manual of LCS eating a biscuit fossil.
And there is the sound of twisted metal! Stop the machine! This is not a rocky server, is an iceberg!
LCS does not work on this server. I try to serve me the trick to disable the line HTTACCESS. Nothing, not working.
Then I have an epiphany

.
Perhaps the server is 64-bit, and I've sent the
32-bit. But how do you know that the server is
64-bit? The provider does not tells me, so I try to find out.
I try to figure out how to write the
PHP test file, since I know that is installed by default (is installed virtually everywhere) and I do run on the server. [
phpinfo()]
In the first table of the PHP test page is actually written
"x86_64", which makes me hope it's
64-bit!
So I try on the web (
we have web sonar technology 
) and I find that in fact under the symbol "x86_64" the server should be 64-bit.
I then try to send LCS 64-bit via binary ftp,
but LCS still does not work !!!
Recheck all over again, and I try, on the bare control panel of the server provider, if there is an error log of the server! I find it!
Now I can get feedback from the server!
With the 64-bit version of LCS the iceberg server tells me:
----
End of script output before headers: livecode-community-server
suexec policy violation
----
or returns mysterious sonar signals as
---
exiting on signal 11
---
For the 32-bit version instead:
----
End of script output before headers: livecode-community-server
livecode-community-server: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file
----
I try and I research on the web to understand these types of errors, but I find it
enlightening forum link...
I understand that LCS does not work because in the server is missing a file system!
I write to the server provider and they kindly propose to change my server.
The submarine of inexperience is safe, he has passed the iceberg!
It 'was tough, but we made it...
For this reason I ask
Admiral Gaskin and the members of the
LC Fleet Experienced, humbly and respectfully:
You can write a PHP file that sent to a server do a test and say:
"Ok on this machine you can run Live Code X? Congratulations now you can abandon PHP! "
or
"No, sorry, this machine can not run Live Code Server X because they lack these files: so.so and up.dll and us.pl and IO.zxspectrum"
It would be a great help also for the server providers that in this way will know which dll install inside the server to run LCS...
It would be a help to all the little IXBot (ineXperiencedBot, - bots as submarine, of course not robots -) that circulate in the seas with servers icebergs heavy million tons!!!
I hope to be helpful affectively to all absolute beginners of LCS!
Now I dive for new and exciting adventures ...
of the Submarine of Inexperience!
(In future trips I'll bring a grammar of English)
Mariasole
( ^..^)ノ