• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Where is the php.ini and httpd.conf?

JonasK

New Pleskian
Where are the php.ini and httpd.conf located?

Hey,

I need to edit the php.ini and httpd.conf...

Where are this files located?

(httpd.conf: mod_rewrite, mod_headers, mod_expires, mod_deflate
php.ini: php_curl, php_openssl, php_soap, php_gd)

Using Windows 2008 Server with Plesk (1und1 vServer)

Greetings Nestade
 
Last edited:
Plesk for Windows don't use Apache for client's web sites, IIS used instead.

php.ini files placed in
C:\Windows\php.ini - for PHP 4
%plesk_dir%\Additional\PleskPHP5\php.ini - for PHP 5.2.x
%plesk_dir%\Additional\PleskPHP53\php.ini - for PHP 5.3.x
 
If it was timeout issue

If it was FastCGI process exceeded configured activity timeout issue and you cannot find a setting for it in IIS even through Plesk Control Panel including php.ini go to command prompt run %windir%\system32\inetsrv

appcmd set config /section:system.webServer/fastCGI /[fullPath='C:\Program%20Files%20(x86)\Parallels\Plesk\Additional\PleskPHP53\php-cgi.exe'].activityTimeout:1800 if you want it to be set at thirty minutes (1800 seconds) other than the default settings.

Note: After you have applied the setting restart the server or IIS.

Additional Notes: If your system is 32 bit rename C:\Program%20Files%20(x86)\ to C:\Program%20Files\ and if you use PHP 5.2.x rename PleskPHP53 to PleskPHP5
 
Last edited:
Hi,
I have PHP 5.3.10 installed on 2008 64bit. I have parallel plesk 11 as well. I am trying to load driver for SQL into php.ini.
Unfortunately when I look for php.ini, I see several instance of this file:
c:\inetpub\php
c:\progam file \parallels\plesk\additional\PleskPHP5
c:\progam file \parallels\plesk\additional\PleskPHP53
c:\progam file \parallels\plesk\additional\PleskPHP54
c:\progam file \parallels\admin.

I tried to locate the main php.ini with no luck. It is a bit confusing at this point. and when I go to localhost and run phpinfo() I see:
Configuration File (php.ini) Path: C:\Windows
BUT there is no php.ini in this dir.
So I am not sure how can i access this phpinfo so i can modify the SQL driver or correct the path.
Can anyone help me with this?
Thanks
 
Back
Top