tallberg Posted February 3, 2007 Share Posted February 3, 2007 Some thing has gone wrong in with my server. Im using plesk. I turned php off then back on again and now when i type in the domain name i get a box poping up asking me if i want to down load the a file. The message in the box is you have chosen to open which is a: application/x-httpd-php What have i done? Quote Link to comment https://forums.phpfreaks.com/topic/36903-server-stuff-gone-wrong/ Share on other sites More sharing options...
phil88 Posted February 3, 2007 Share Posted February 3, 2007 Try restarting apache (or whatever server it is you use). Quote Link to comment https://forums.phpfreaks.com/topic/36903-server-stuff-gone-wrong/#findComment-176051 Share on other sites More sharing options...
tallberg Posted February 3, 2007 Author Share Posted February 3, 2007 Its a remote server. i dont know how. I just noticed that if i type in http://mydomain.com it come up. But if i type http://www.mydomain.com it does that thing ask my to down load a file? Thanks for replying. Quote Link to comment https://forums.phpfreaks.com/topic/36903-server-stuff-gone-wrong/#findComment-176053 Share on other sites More sharing options...
phil88 Posted February 3, 2007 Share Posted February 3, 2007 To me it does sound like apache needs restarting. Contact your host, or, if you have shell access, try running; apache2ctl restart Quote Link to comment https://forums.phpfreaks.com/topic/36903-server-stuff-gone-wrong/#findComment-176056 Share on other sites More sharing options...
tallberg Posted February 3, 2007 Author Share Posted February 3, 2007 Dont have shell access. Do you know how i can turn off php safe mode? Quote Link to comment https://forums.phpfreaks.com/topic/36903-server-stuff-gone-wrong/#findComment-176063 Share on other sites More sharing options...
Orio Posted February 3, 2007 Share Posted February 3, 2007 Change the php.ini. Find the safe mode part, and change it to off. Orio. Quote Link to comment https://forums.phpfreaks.com/topic/36903-server-stuff-gone-wrong/#findComment-176066 Share on other sites More sharing options...
tallberg Posted February 3, 2007 Author Share Posted February 3, 2007 how do you find the ini on a remote server? Quote Link to comment https://forums.phpfreaks.com/topic/36903-server-stuff-gone-wrong/#findComment-176067 Share on other sites More sharing options...
phil88 Posted February 3, 2007 Share Posted February 3, 2007 Chances are, you can't. You'd have to speak to your host and ask them to change it. Quote Link to comment https://forums.phpfreaks.com/topic/36903-server-stuff-gone-wrong/#findComment-176081 Share on other sites More sharing options...
tallberg Posted February 3, 2007 Author Share Posted February 3, 2007 How would it normally be done? Quote Link to comment https://forums.phpfreaks.com/topic/36903-server-stuff-gone-wrong/#findComment-176089 Share on other sites More sharing options...
phil88 Posted February 3, 2007 Share Posted February 3, 2007 from the shell; locate php.ini then cd to the location of the file then use vim or nano or whatever text editor you want to edit it. Quote Link to comment https://forums.phpfreaks.com/topic/36903-server-stuff-gone-wrong/#findComment-176105 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.