FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Non zlib installation
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Non zlib installation [message #5959] Sat, 28 September 2002 20:31 Go to next message
Anonymous   Switzerland
I can't believe it! I didn't find a version of FUDForum without zlib installation!
Not every webserver runs with zlib extensions activated and some php installations didn't include the zlib.so.

It shouldn't be a problem to make a normal tar archive of all files.

Thanks - Andy
Re: Non zlib installation [message #5961 is a reply to message #5959] Sat, 28 September 2002 21:06 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Not quite, because a non-compressed archive would get parsed by PHP.

FUDforum Core Developer
Re: Non zlib installation [message #5963 is a reply to message #5961] Sat, 28 September 2002 21:12 Go to previous messageGo to next message
Anonymous   Switzerland
I guess you got me wrong.

I thought of a normal tar ball including all the folders and files of the FUDForum.
All other forums, software come as tar-balls, why not FUDForum?

Then, after uploading, decompressing and untarring the file, you run a new install.php, prompting for configs and creating the tables and so on...

sorry for anonymous posts, activations doesn't work...

Greets - Andy (user: Valiant)
Re: Non zlib installation [message #5965 is a reply to message #5963] Sat, 28 September 2002 21:45 Go to previous messageGo to next message
valiant is currently offline  valiant   Switzerland
Messages: 80
Registered: September 2002
Location: Zurich
Karma: 0
Member
ah, now it works.
these posts are from me...
Re: Non zlib installation [message #5974 is a reply to message #5963] Sun, 29 September 2002 09:52 Go to previous messageGo to next message
valiant is currently offline  valiant   Switzerland
Messages: 80
Registered: September 2002
Location: Zurich
Karma: 0
Member
this "ah now it works" post refered to the activation and not to the zlib installation.

couldn't you create a tarball for the FUDForum?

thanks - andy
Re: Non zlib installation [message #5977 is a reply to message #5974] Sun, 29 September 2002 14:50 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Nope, because if I made a tarball php would try to parse it and screw up. I will look @ other possible solutions as alternatives to gzip compression.
I am suprised that people do not have this extension as it is compiled by default when installing PHP or in case of Windows php_gzip.dll is included in the default package.


FUDforum Core Developer
Re: Non zlib installation [message #5980 is a reply to message #5977] Sun, 29 September 2002 16:37 Go to previous messageGo to next message
valiant is currently offline  valiant   Switzerland
Messages: 80
Registered: September 2002
Location: Zurich
Karma: 0
Member
zlib is not on the webserver of my departments server (linux) at my university and on my own server at home (linux) where i compiled php myself the zlib.so isn't found (i know, my fault).

actually, i don't understand your problem Sad
what's wrong with a tarball? you create it, i untar it and finally there are all files and folders of FUDForum on my server at the right place.
what am i missing?

thanks again - andy
Re: Non zlib installation [message #5981 is a reply to message #5980] Sun, 29 September 2002 18:11 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The installer works by having the archive appeneded to the end of the file and during install process decompresses the archive and extracts the files. If a raw tar file was there it would get parsed by the PHP's engine when parsing the install script and cause problems. For that perpouse the file is compressed, which also makes it about 1/3 smaller and easier to transfer.
Previously the file was using base64_encoding, which while did the task make the file >3 megs in size, which causes all kinds of problems for people with memory limit.


FUDforum Core Developer
Re: Non zlib installation [message #5982 is a reply to message #5981] Sun, 29 September 2002 19:39 Go to previous messageGo to next message
valiant is currently offline  valiant   Switzerland
Messages: 80
Registered: September 2002
Location: Zurich
Karma: 0
Member
ah, there you have our misunderstanding!

i was thinking of a installation without the installer!

you create a tar archive of the whole FUDForum without an installer and compress the archive.
then i would download, decompress and unpack the tarball having finally all the files on my server.

then i could (manually) create the db and tables, edit the configs and voila, run the forum.

i just propose a normal installation without an installer. all other forums do the same. you download the compressed tarball, unpack everything and then you run the install.php which prompts for some configs and creates the db tables automatically.

i've never seen a php application which would install the way you have chosen. it seems to be the fasted way but you need a normal tarball for non-zlib running servers.


thanks - andy
Re: Non zlib installation [message #5984 is a reply to message #5982] Sun, 29 September 2002 22:19 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Just because other forums do this does not mean this is right. In other installations the user is taked with doing a fair bit of work themselves leaving MUCH room for error especially when dealing with a complex piece of software such as forum. Hence the installation script that takes care of it all. The reason for an archive inside the script is because of safe_mode issues for people who have that thing enabled.

If you want to decompressed sources there is the CVS for that use it Smile.

As for people without zlib, as I've said before I will make an alternate installation script they may download from the site.


FUDforum Core Developer
Re: Non zlib installation [message #5988 is a reply to message #5984] Mon, 30 September 2002 06:37 Go to previous messageGo to next message
valiant is currently offline  valiant   Switzerland
Messages: 80
Registered: September 2002
Location: Zurich
Karma: 0
Member
k, you're the developer, i can't change your mind...

what's the easiest way to download a stable version from the online cvs directory? wget?


thanks - andy
Re: Non zlib installation [message #5990 is a reply to message #5988] Mon, 30 September 2002 12:07 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
read the instructions listed in the CVS thread and no wget won't be able to do it. You need to use the CVS utility.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Ordered List at Groupmanager
Next Topic: Deleting Messages
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 04 22:41:16 GMT 2024

Total time taken to generate the page: 0.02313 seconds