Вопрос

I would like to create a one click installer script for cpanel users. I know of some applications for this issue, like installatron.com, softaculous.com etc. cpanel users just click and install a php script within the few seconds.

well, thats what i would like to do. How do they do this job within the few seconds? php scripts need mysql user name, password. and also auto installer must copy files to the user's ftp account. They gotta have some technics which I don't know.

Does anyone know how they work? I'd like to make a job plan. I really need your ideas and suggestions. I googled so much, however did not find any nice thing.

Это было полезно?

Решение

Copying files is not a problem. The software packages can already be downloaded and set ready for CPanel. Maybe they are even installed already, so all that's needed to do is do a little configuration. So the speed makes sense.

CPanel already knows lots of settings for the database so it can configure the application itself, as long as it knows how.

I think you'd best read CPanel's guide on integrating your own software, which I found by just googling for 'CPanel installation script'. And of course take a peek at the source of other installers.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top