PHP will end soon because of security issues? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

PHP will end soon because of security issues?

PHP has a lot of security issues that make it easy for any hacker to hack websites made by this language does anyone know something about that?

30th Apr 2018, 8:19 AM
Yehia Tarek
Yehia Tarek - avatar
12 Answers
+ 21
🤔I don't think so. PHP will live for a very long time.
30th Apr 2018, 8:36 AM
Igor Makarsky
Igor Makarsky - avatar
+ 10
bla..bla...ive read some articles saying usa's next president will be a robot.Articles writers have to write crap,they need money.Any language or software can be hacked,php is Facebook's backbone,facebook is not easy to hack,some stories will remain...fantasy
30th Apr 2018, 9:07 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 5
php accounts for over 80% of web traffic according to multiple metrics sites. Many of the biggest and most popular sites to banks and everything else you can imagine are built on php. Hackability is a function of lazy programming or inexperience. Any language can be penetrated. They ALL have holes and flaws. As Igor said Facebook is written in php after they stopped using ColdFusion. Try and hack Facebook. Good luck. Try and hack you bank website. php, especially 7, is a very robust language.
30th Apr 2018, 10:02 AM
Adam
Adam - avatar
+ 3
Isomer While I agree that PHP is secure, WordPress isn't. WordPress is notorious for bad security. Depending on the quality of the website, it can actually be quite simple to hack.
2nd May 2018, 12:04 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 2
Any language has issues. Any factual data showing Php is worst ? Community will probably act on this is this is the fact....
30th Apr 2018, 8:20 AM
VcC
VcC - avatar
+ 2
@Ben :Mostly it's your fault if your site get hacked. using shared hosting, using nulled premium theme and plugins, and not to update your wordpress version, plugins and theme.wordpress will always have security issues because it's so popular cms. read this ----> https://www.quora.com/Is-it-easy-to-hack-WordPress-websites
2nd May 2018, 4:22 AM
Isomer
Isomer - avatar
+ 1
Yehia Tarek can you elaborate more on the security issues that you think makes it easy to hack a PHP site?
1st May 2018, 5:51 AM
Philippe Cotte
Philippe Cotte - avatar
+ 1
SQL injection in PHP, as in other languages can be prevented by using specific coding techniques such as prepared statements and parameterized queries. Also, using a web application firewall can help prevent SQL injections.
1st May 2018, 12:34 PM
Philippe Cotte
Philippe Cotte - avatar
0
WordPress is a free and open-source content management system(CMS) based on PHP and MySQL. try to hack a wordpress site 😷 not gonna die soon. As adam said about php 7. newer version keep improving
30th Apr 2018, 10:50 AM
Isomer
Isomer - avatar
0
I think most common issue is SQL Injection or Session Hijacking. I don't know such information but hackers hack php website with standard bugs It only works if website don't use laravel framework . If any one know more information please to tell use
1st May 2018, 11:20 AM
Yehia Tarek
Yehia Tarek - avatar
0
I don't know how large company like Facebook or WordPress protect their self but I know about normal websites like universities websites for example
1st May 2018, 11:21 AM
Yehia Tarek
Yehia Tarek - avatar
- 1
SQL injection is really easy to take care of. It's called sanitizing your inputs. Not an issue unless you are careless or lazy. Session hijacking can't be fully stopped by ANY framework or language. If someone has enough information they can forge the identity. But you can make it very hard to do easily enough. There are XSS vulnerability settings you can turn on... changes in how you store a session.... https.... etc. Again... only lady or careless programmers don't do these things.
1st May 2018, 6:45 PM
Adam
Adam - avatar