• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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