From: matt d. <mm_...@ya...> - 2010-01-06 04:45:00
|
You can check your php.ini file and if it's running safe mode no dice. echo phpinfo(); ini_set("safe_mode",0) works for some php installs (see manual). Or- ditch GoDaddy and get a real hosting solution that has root. It costs the same. Matt ________________________________ From: Sara Trice <sa...@sa...> To: Chicago PHP User Group <chi...@li...> Sent: Tue, January 5, 2010 5:54:26 PM Subject: Re: [chiPHPug-discuss] (no subject) I'm 99% sure shell_exec() is disabled on GoDaddy because ... well, it's a cheap webhost, and rather than secure their servers, they eliminate problems by not offering features. -Sara On Tue, Jan 5, 2010 at 5:35 PM, Tom Printy <tp...@ma...> wrote: > Hey Guys/Gals, > > I have some software that I am working with that is running on GoDaddy. > I am attempting to have PHP call another script to run in the > background. However I am running into so troubles and I was wondering if > anyone else has had any success with this. Here is what I am doing: > > shell_exec("nohup /home/content/t/e/x/textconn/html/sms/sendmessages.pl > 2> /dev/null &"); > > The php scipt seems to hang at this point and the browser then times > out. > > Any advice? > > Thanks > -Tom Printy > www.edisonave.com > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > > ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ chiPHPug-discuss mailing list chi...@li... https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss |