Welcome to WebmasterWorld Guest from 54.167.157.247

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP instances and Wordpress

Help me understand how PHP is used by Wordpress

   
3:45 pm on Aug 16, 2011 (gmt 0)

5+ Year Member



When multiple visitors browse a wordpress website does this mean that there are more than one PHP instances running on my server?
12:49 pm on Aug 18, 2011 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



No, PHP is not a server. PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. Your web server (Apache) may be running one or more instances.

WP was developed using the PHP language.
1:45 pm on Aug 18, 2011 (gmt 0)

5+ Year Member



Coopster: ok lets say I have two wordpress sites on the same server does each site runs its own php5.cgi they both have there own domain names but use the same Apache Web server.
7:02 pm on Aug 22, 2011 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



There is typically but one cgi handler so I would venture to guess the answer is no. You can always get on to your command line and run a "locate php5.cgi" or "whereis php5.cgi" command to see if others are anywhere on your system. And if so, you will also need to check the rest of your installation configuration to see where and which handler is handling your requests.

More info regarding your installation:
[php.net...]
[php.net...]