From: Andy C. <bng...@gm...> - 2010-01-06 14:46:58
|
I realize that this is late in your messages, but I have bypassed some restrictions with GoDaddy. I have a Linux server that I use for various things. I have PHP on my Linux box configured with safe mode off. I was told by a tech at GoDaddy that if I place my php.ini file in my GoDaddy server root that it will use that file my default. Might not fix anything, but it might be worth a try. PEACE!!!!!!, Andy Carlson Carlson Technology http://www.carlson-tech.com (815) 200-9303 --------------------------------------------------- "Man's conquest of Nature turns out, in the moment of its consummation, to be Nature's conquest of Man." -- C.S. Lewis On Wed, Jan 6, 2010 at 8:36 AM, Tom Printy <tp...@ma...>wrote: > Hi All, > > Thanks for the replies. Looks like safe mode is turned off: > http://textconn.com/sms/info.php > > > My guess is that Sara is correct in that they disabled the shell_exec > call. > > I suppose I could try just the basic exec() command and see if that > works, however I bet they have the same limitations. > > > Thanks for the tips I will keep working on this. > > -Tom > > > > > > On Tue, 2010-01-05 at 20:44 -0800, matt donohue wrote: > > 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 > > > ------------------------------------------------------------------------------ > > 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 > |