mmarif4u Posted July 14, 2008 Share Posted July 14, 2008 This is very common error,faced by most people. I also faced it b4. I have a dedicated server.where i put a project to run and test. Today i just put the ip address in the bar,and it gives me the file to download. It was strange for me. I did not setup that server,some one b4 me setup it. Any idea,is there some prob in PHP,or in Apache. Link to comment https://forums.phpfreaks.com/topic/114625-solved-server-giving-php-file-to-download/ Share on other sites More sharing options...
JasonLewis Posted July 14, 2008 Share Posted July 14, 2008 So you went to view a PHP file and it requested you download it? PHP is probably not installed correctly. Link to comment https://forums.phpfreaks.com/topic/114625-solved-server-giving-php-file-to-download/#findComment-589336 Share on other sites More sharing options...
mmarif4u Posted July 14, 2008 Author Share Posted July 14, 2008 Yup,you are right. I think also that some thing is wrong in php.Strange thing is that till to yesterday from last one year it was working fine.today just got that thing. Check apache conf file,is ok.check phpinfo.php to test,giving me to download the file. Dont know,what happened. Link to comment https://forums.phpfreaks.com/topic/114625-solved-server-giving-php-file-to-download/#findComment-589339 Share on other sites More sharing options...
mmarif4u Posted July 14, 2008 Author Share Posted July 14, 2008 Figured out. Some one was hacking it from last 3 weeks and yesterday he succeed by logging in as nobody to server. And try to install lighttp server,some thing like apache2 server and trying to upload his files through vsftp. He tried alot of attempts,but not succeed .he used root mostly. But stupid dont know,how we make root secure than normal user. Bastered!!! Link to comment https://forums.phpfreaks.com/topic/114625-solved-server-giving-php-file-to-download/#findComment-589415 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.