php.ini is the configuration file used by the PHP preprocessor to setup the default settings and certain security restrictions.
Questions tagged [php.ini]
272 questions
0
votes
1 answer
default session file Permits
i need to edit the default permits of the session file
i know it's high security risk,
The default permits is :600
[root@server sessions]# stat sess_06pqdthgi49oq7jnlvuvsr95q1
File: `sess_06pqdthgi49oq7jnlvuvsr95q1'
Size: 0 Blocks:…

Alaa Gamal
- 11
- 2
0
votes
3 answers
Apache 2.4 and PHP 5.4 getting connection reset errors in the browser
In the weekend I upgraded my development web server to Apache 2.4 and PHP 5.4. In my web application which was previously working great on Apache 2.2 and PHP 5.3 it now starts getting these messages saying the "connection was reset" in Firefox. See…

zuallauz
- 143
- 1
- 10
0
votes
1 answer
Packages are installed on server but not displaying in phpinfo()
I have installed imagemagick and ffmpeg on my CentOs 5.5 Godaddy VPS.
I have added extension in php.ini also.
I can able to see the installed packages in /usr/local/bin.
But when I print phpinfo(), I am not able to see those. Not event I can use…

onkar
- 113
- 1
- 3
0
votes
1 answer
php.ini is not loading on my local machine mac os x
I have a localhost running on my mac osx machine, everything works fine apart from I get this error when running some applications:
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings.
So I read up…

Charles Bryant
- 101
- 1
0
votes
2 answers
How can I make the Apache/PHP setup on my VPS show PHP errors and warnings?
I've got a VPS using Suse Linux 10.3.
Apache 2 / PHP 5.2.6 was set up automatically.
When I look at this valid PHP file in a browser, it displays correctly:
However, when I look at this invalid PHP file, I expect it to…

Edward Tanguay
- 1,209
- 4
- 22
- 31
0
votes
1 answer
php error reporting
I have a problem i have a simple lamp server and i want it to display php errors. (apache2) so i go into my php.ini file and error_reporting = E_ALL | E_STRICT
The web says this should do the trick but even still i get a blank page when my php file…

sn0ep
- 113
- 3
0
votes
1 answer
why "php -i|grep php.ini" is not finding the correct path to php.ini?
I know that my php.ini is located at /etc/php.ini but when i run php -i|grep php.ini I get this output
Configuration File (php.ini) Path => /usr/local/lib
there's nothing in that directory and i know where my php.ini is located, so why am i getting…

user
- 849
- 3
- 13
- 18
0
votes
1 answer
SMTP implementation on EC2 using Pear Mail package (PHP)
I am working on sending out SMTP relay email's using Gmail as my server using Pear Mail package in PHP. I have installed Pear package using YUM. Also I have located the path for pear_dir and included the same in the php.ini file.
How ever when I…

Anshuman
- 1
- 1
0
votes
2 answers
PHP as FastCGI: Custom php.ini not working
I'm running PHP as FastCGI (I needed multiple versions of PHP).
.htaccess
AddHandler php5-fastcgi .php
Action php5-fastcgi…

John S.
- 1
- 2
0
votes
1 answer
PHP error logging to file, with display_errors OFF
In my PHP.ini, I have it set to log errors to a file, and display_errors is OFF.
However, my errors are NEVER being logged... anyone know what common issues are, or what could be preventing them from being logged?
There's definitely no…

Shackrock
- 208
- 6
- 16
0
votes
1 answer
How do you share php.ini for a webfarm?
we have a IIS 7.5 webfarm (3 servers ATM) running php. Using web deploy we keep the servers in sync, but this only applies to the files used by the sites and the configuration of the IIS.
Is there a way to get the php.ini to be synced between all…

SKG
- 5
- 3
0
votes
1 answer
How to make apache display "only" PHP errors?
Trying without succes to make apache display on screen errors on our development server.
Basically I understand that my:
error_reporting = E_ERROR & E_RECOVERABLE_ERROR & E_STRICT
Has no effect over:
display_errors = On
As this will also insist…

luison
- 282
- 1
- 7
- 22
0
votes
1 answer
php GD2 lib uncommented, but still doesn't work!
i have installed Apache/2.2.17 (Win64) PHP/5.2.8-x64 . i need GD2 lib... so i went to php.ini, uncomment php_gd2.dll and restarded server. nothing! gd lib doesn't work! help!

marverix
- 131
- 1
- 5
0
votes
2 answers
local php.ini file does not load in IIS 7
I have PHP 5.3.5 installed on IIS 7 which I installed through WebPI (Web Platform Installer). I would like to have some global settings controlled on a site by site basis but I am unable to have the changes take. For example, by default…

Marlon
- 535
- 2
- 10
- 14
0
votes
1 answer
Install APC on Solaris
I Apache and PHP 5.3 installed from Blastware. I run
pecl install apc
and everything went ok. apc.so is in the extension library. I declared the extension in php.ini and enabled it with 'apc.enabled=1'.
Apc it is still not loaded, not showing in…

rtacconi
- 745
- 4
- 14
- 28