Which httpd.conf and php.ini files does plesk use

Posted by Saif Bechan on Server Fault See other posts from Server Fault or by Saif Bechan
Published on 2010-03-26T19:38:34Z Indexed on 2010/03/26 19:43 UTC
Read the original article Hit count: 626

Filed under:
|
|
|

If i disable the include_path in /etc/php.ini, i can still see that there is an include path loaded from somewhere. I want to know where this file is.

If i use phpinfo(); on my domain i get that there is a include path /usr/share/pear:/usr/share/php, even though in the php.ini i used:

;inlucde_path=".:"

In the section for aditional php.ini files this is the list:

/etc/php.d/curl.ini, 
/etc/php.d/dbase.ini, 
/etc/php.d/dom.ini, 
/etc/php.d/gd.ini, 
/etc/php.d/imap.ini, 
/etc/php.d/json.ini, 
/etc/php.d/mbstring.ini, 
/etc/php.d/mysql.ini, 
/etc/php.d/mysqli.ini, 
/etc/php.d/pdo.ini, 
/etc/php.d/pdo_mysql.ini, 
/etc/php.d/pdo_sqlite.ini, 
/etc/php.d/wddx.ini, 
/etc/php.d/xmlreader.ini, 
/etc/php.d/xmlwriter.ini, 
/etc/php.d/xsl.ini, 
/etc/php.d/zip.ini 

I have checked all these files but i can nowhere find a reference to pear.

This said the /etc/httpd/conf/httpd.conf file is questioning to me too. If i check this file i can see the following values are defined.

DocumentRoot "/var/www/html"

<Directory />
    Order Deny,Allow
    Deny from all
    Options None
    AllowOverride None
</Directory>

<Directory "/var/www/html">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

The strange thing is that i don't even use this directory, so where does plesk get his httpd.conf file from. I want to check if everything is ok, because my vhost.conf is not working.

I don't know if i should change these values or not, and where i can find the values plesk uses. i hope someone can help me with this.

© Server Fault or respective owner

Related posts about plesk

Related posts about vhost.conf