PDA

View Full Version : Setup on VPS


d1m
22nd May 2006, 23:35
Hi all.

I have an installation on the VPS server. There is not so much memory and swap, so during the compilation of PHP making fails with "No memory left" message. Setup-script then deletes all installation folder. I've modify compile-script, and have compile some of sources by own hands, and only in this way I installed it.
Is there another easiest way to avoid immediate aborting if something doesn't compiles good? Or an way to retry compilation without deleting already built objects?

PS: sorry for my bad English.

falko
22nd May 2006, 23:52
Is there another easiest way to avoid immediate aborting if something doesn't compiles good? Or an way to retry compilation without deleting already built objects?

PS: sorry for my bad English.
You'd have to modify the setup scripts, especially setup2 and compile_aps/compile.

d1m
22nd May 2006, 23:55
Will be some avoiding of such cleaning in next releases? I think I'm not only one who faced such issue.

falko
23rd May 2006, 00:58
No. The directory will always be deleted to avoid that people try to install again from the same directory which doesn't work because the files in that directory change during installation.

But why don't you create a tar.gz of the folder with your changes before you start the installation? That way you can unpack that tar.gz if the installation fails and don't have to modify the same files again.