How to start my server with PHP ?
#4

You need to immediately close that resource. It's the only way.

Код:
<?php

$aTemp = array();
proc_close(proc_open('cd path/to/samp03; nohup ./samp03svr &', array(), $aTemp));
Note there are better ways of doing it, not using any PHP execution functions.
Reply


Messages In This Thread
How to start my server with PHP ? - by A-K-S - 09.04.2010, 14:35
Re: How to start my server with PHP ? - by Burridge - 09.04.2010, 15:11
Re: How to start my server with PHP ? - by A-K-S - 09.04.2010, 15:21
Re: How to start my server with PHP ? - by Westie - 09.04.2010, 15:32
Re: How to start my server with PHP ? - by A-K-S - 09.04.2010, 15:51
Re: How to start my server with PHP ? - by A-K-S - 09.04.2010, 16:09
Re: How to start my server with PHP ? - by Woet - 09.04.2010, 16:12
Re: How to start my server with PHP ? - by A-K-S - 09.04.2010, 16:19
Re: How to start my server with PHP ? - by Woet - 09.04.2010, 16:58
Re: How to start my server with PHP ? - by Westie - 09.04.2010, 16:59

Forum Jump:


Users browsing this thread: 1 Guest(s)