PHP

118K

Solutions

32K

Contributors

PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.

Share tech news, updates, or what's on your mind.

Sign up to Post

Two days remain to enroll in November’s PHP, mySQL, and CakePHP MVC framework Course of the Month!
0
Vote for the Most Valuable Expert
LVL 7
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Want to build powerful, database-driven websites? You can learn how in the November Course of the Month, with a focus on PHP, MySQL, and CakePHP MVC framework.
0
Enroll in this month’s featured course to get 19+ hours of PHP, MySQL, and CakePHP MVC framework training.
1
Solving the C10K problem with Linux + Apache + MariaDB + PHP + WordPress.

Just went through several days of tuning a new client's site running 50K-100K page requests/hour. Insane levels of traffic.

This surfaced problems in PHP + WP Super Cache. Bugs opened in both projects showing how to reproduce problem.

After all's said + done, site can now handle 10M visits in 9minutes. You read that number correctly. 1M+ reqs/sec sustained traffic out of WordPress.

So when someone tells you WordPress is slow, they're wrong.

What they should say is, something... somewhere... in the configuration of their entire LAMP Stack + WordPress setup is slow + likely fixing some minor setting somewhere will heal their site to run massive traffic.
0
native-ad-no-button.pngHave you seen November’s Course of the Month? Don’t miss your opportunity to add PHP and MySQL to your technical skill set.
2
Need a simple tech guys for a real estate project with web services with mls data  And wordpress
0
 
LVL 7

Expert Comment

by:Brian Matis
Hi Jeff! If you're looking to get help with a short-time, one-off project, I'd recommend checking out the Gigs feature here on Experts Exchange. If it's more of a long-term hire, then take a look at Careers. Best wishes!
1
Myth: WordPress is slow.

WordPress can support extreme speed, 1000-5000+ requests/second, sustained throughput, if...

1) The runtime LAMP Stack is tuned correctly, on an ongoing basis... meaning daily log analysis + retuning.

2) Code installed on site - Theme + Plugins - are all designed to scale.

Slowness occurs with hosting is used which isn't tuned for WordPress speed + themes/plugins are installed without vetting code for both PHP standards compliance + speed.

Almost every day I setup high speed WordPress sites for clients + speed problems only occur when one of the two guidelines above are violated.

So if anyone tells you WordPress is slow or you require some cruft technology to speed up WordPress, like NGINX or a CDN, you have a poser on your hands. Fire them + find someone who tools high speed WordPress sites + you'll be far better off than stacking cruft technology between your infrastructure + visitor browsers.
1
 
LVL 18

Expert Comment

by:Lucas Bishop
Shared hosting = the most common detriment to page load
0
 
LVL 35

Expert Comment

by:gr8gonzo
I'd generally disagree with that. It depends on the provider, but USUALLY a host isn't so under-powered that it is actually processing PHP at a slow speed. Bear in mind that a normal WordPress install's PHP will usually be processed in under a second. Even if you had a really underpowered or overloaded host, that might double at most (unless they're doing something REALLY wrong).

Plugins are usually where things go wrong. People install plugins that each slow down the page by 50 milliseconds here, or 250 milliseconds there, and it adds up when you install a dozen of them. Suddenly, you have 12 plugins that are cumulatively adding 4-5 seconds to the PHP processing time, even on a dedicated host. Themes CAN have similar impacts, although they're less likely to, since their impact is more on the static asset side (e.g. adding 15 images that have to be downloaded - even if the PHP code takes 1 second to process, it may take 5-10 seconds to download all the theme contents).

If you doubt the difference, use XDebug to generate a cachegrind on a shared host and a dedicated host and compare the differences.
0
Please, i need help on how to upload files (PDF) into different categories of a database of an E-library so that the uploaded books or files can display books or be searched, on their individual categories using MySQL and php ... Thanks
0
 
LVL 8

Expert Comment

by:Sean Plemons Kelly, CISSP
Try reposting this as a question. You will likely have more assistance from experts.
1
how can i export oracle 10g database in fronted need code level help how can i do it please help me
0
 
LVL 3

Administrative Comment

by:Allie Watts
Hey Farhad! You made a post instead of a question. In order to get more responses from experts and members of the community on your question, create a question with this content in it! Best of luck getting this issue resolved!
2
3
 
LVL 54

Author Comment

by:Scott Fell, EE MVE
I don't think I shared it for how to catch a bullshitter, but more for the good points to think about in how we work.  A lot of this may be standard operating procedures in their daily lives and others may not.  

My big takeaway is understanding the problem objectively and asking the right questions before forging ahead,.  What problem is this going to solve, what are the costs (not just $$ but time/people),

Some good points for day to day work process.
3
 
LVL 11

Expert Comment

by:Jeffrey Dake
I totally agree, there are some good points in there about questions we should ask ourselves before we continue developing. I have seen plenty of "refactors" that made the code more reusable but there were no plans to reuse the code. By the time another developer got the chance to reuse it, the original assumptions were no longer valid and another refactor was needed.

As developers we should always be trying to balance how we solve problems with the benefits of how we solve them.
3
Industry Leaders: We Want Your Opinion!
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

$password = substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 1) . substr(md5(time()), 1);
$pass=md5($password);
echo $pass;
echo "convert to string md5 data";
0
 
LVL 66

Expert Comment

by:Jim Horn
... and ...
0
 
LVL 1

Expert Comment

by:Akhil Vinay Mandava
MD5 is  an older version why don't you use newer version in md5 security is less and we cannot implement at all time.
0
PHP developer
0
 

Author Comment

by:Nikunj Savaliya
I am looking for work
0
 
LVL 17

Expert Comment

by:Kyle Santos
Hi Nikunj,

Check these out:

How can I make money through Experts Exchange Gigs?
https://www.experts-exchange.com/articles/28552/How-can-I-make-money-through-Experts-Exchange-Gigs.html

Live Support Pages
http://support.experts-exchange.com/customer/portal/articles/2287979

Gigs Support Pages
http://support.experts-exchange.com/customer/portal/articles/2290148

How do I get notified about Gigs related to me?
http://support.experts-exchange.com/customer/portal/articles/2501580

Also, make sure you go to your profile page and select your availability.
https://www.experts-exchange.com/members/Nikunj-Savaliya.html

Set all applicable fields to 'Accepting' then go to your Top Skills section of your profile page and add PHP.
0
Shout out to Julian Hansen and Slick182 for an Excellent Explanation on what a PHP class is https://www.experts-exchange.com/questions/29041131/Tell-me-if-I'm-explaining-this-correctly.html

Pure knowledge of the subject matter allows for an easy to understand explanation and solution.
4
5
I find myself defending PHP on a consistent basis and often think about the reason for all of the hate? PHP was the first language I learned in order to get into web development. Granted, the syntax isn't my favorite, but I find a lot of the prejudice is aimed the lack of structure and canned architecture which has been addressed by some great frameworks such as Laravel. Other complaints I hear are about the lack of OO in PHP which is simply untrue anymore.

However, I must admit, that even though I am an advocate of the language I do not use it for new web projects anymore (opting instead for Javascript / Express / SQL stacks), so maybe my affinity is simply misapplied nostalgia.
6
 
LVL 111

Expert Comment

by:Ray Paseur
I've just discovered this new blog-looking thingie on the E-E home page.  Looks like fun!  

Here is my favorite article about PHP.  You can agree with all of it and still get quick results with PHP, hence its popularity.
https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

In unrelated matters, here's what you get if you search E-E for Gene Richardson.  Why, oh why?
no_sign_of_gene.png
2
 
LVL 1

Expert Comment

by:Bill Torchia
I have worked with PHP as the core language at a past job. We did not use a frame work because they did not exist when the company started. From that experience my opinion of PHP is that is a great language that has gotten a bad rep because of bad practices. You will see a lot of the same problems that people complain about in PHP in other, older, languages.
2

PHP

118K

Solutions

32K

Contributors

PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.