#1 (permalink)  
Old 06-12-2004, 09:14 PM
Registered User
 
Join Date: Jul 2003
Posts: 50
xaze
HTTPD and PHP

I have two question:

1. Why are there so many config files (httpd.conf, httpd.conf.suexec, etc..) in /usr/local/apache/conf?

2. Where is the php config file kept at on the typical server? I need to change the php execution time and I cannot find it for the life of me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-12-2004, 09:15 PM
Registered User
 
Join Date: Jul 2003
Posts: 50
xaze
Re: HTTPD and PHP

Also, if I have a PHP intensive site that has lots of traffic (on its own server), should I disable the suexec thing? Will that speed it up?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-12-2004, 09:58 PM
Registered User
 
Join Date: Feb 2003
Posts: 301
compunet2
Suexec only effects cgi / perl applications, not php. php-suexec is separate, and is compiled in your apache config, but is not installed by default. If you installed the php-suexec and its a dedicated server, then there is probably no need to have it installed.... I dont know for sure, but I would imaging removing the php-suexec may speed up the php apps.

Location for your php config depends on your install (if you have zend or not), etc.
Here is a test script that will show the location of your php config (as well as other php info):

http://www.htmlite.com/php003.php

Last edited by compunet2; 06-12-2004 at 10:03 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:22 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc