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
1
vote
0 answers
PHP-SOAP extension is not loaded
I am trying to install Opencats.For that it is required to enable soap.I have enabled Soap.
soap
Soap Client => enabled
Soap Server => enabled
soap.wsdl_cache => 1 => 1
soap.wsdl_cache_dir => /tmp => /tmp
soap.wsdl_cache_enabled => 1 =>…

Jeevan Roy dsouza
- 111
- 1
- 5
1
vote
1 answer
Problems with my.cnf and php.ini - Using mysql tuner
My server was running fine until a recent update in Plesk and now it has been slow. My server tech had to rebuild the Apache configuration file and ever since the sites have been slow.
The server is the XL8 dedicated box from 1and1. it has 16gb of…

Rich Devman
- 11
- 4
1
vote
1 answer
How do i set a open_basedir with php using fastcgi/apache2 on linux?
I tried to add this line to my virtual hosts in Apache, but failed:
php_admin_value open_basedir "/var/www/users/test"
My installation:
root# apt-get install apache2 apache2-suexec libapache2-mod-fcgid php5-cgi
Any ideas?
Something I noticed in…

centurian
- 421
- 3
- 7
1
vote
1 answer
Which function should be disabled/enabled in php.ini for web hosting servers?
I have a VPS (Ubuntu 12.04) and I'm testing it for hosting services. Currently the VPS is running only one website for testing, so which function should be disabled/enabled in php.ini so that I can make it more secure?
Hosting Panel = Zpanel
OS …

Qasim
- 113
- 4
1
vote
0 answers
Can't load my php.ini on localhost
I have a server and a local version of it on my hard drive.
I am trying to access the local version through localhost.
Entering localhost works, I enter the base html file and all that.
The problem is that I can't load my server's php.ini file. The…

john-jones
- 85
- 14
1
vote
0 answers
PHP.ini custom settings through htaccess
I'm confused by this ini list in the PHP Manual: http://www.php.net/manual/en/ini.list.php
I want to set some custom php.ini values through htaccess, but which one of these commands is not going to work?
php_value upload_max_filesize 1M
php_value…

CMCDragonkai
- 335
- 1
- 5
- 12
1
vote
1 answer
Error after installing mysqlnd_ms
I am working on Amazon EC2 using the Amazon Linux AMI which is based on CentOS. I have installed php54 and php54-mysqlnd.
Then I do a sudo pecl install myslqnd_ms. This installs fine. I add the extension into the php.ini file. Then I start httpd,…

blaine
- 43
- 1
- 7
1
vote
2 answers
Custom php ini files for IIS7
I have a Windows 2008 Web edition server setup with IIS7.5 and PHP 5.4.6 FastCGI installed. I would like to make use of the user INI files as described here:
http://php.net/manual/en/configuration.file.per-user.php
I have PHP installed at C:\PHP and…

Jaap
- 21
- 2
1
vote
1 answer
Working with different PHP version at the same time, php_value extension_dir not working?
I need both PHP 5.4.7 and 5.3.17 running on Windows 7 x64 with Apache 2.2.23. This is my virtual host configuration:
DocumentRoot "C:/WAMP/Apache/htdocs/php54"
ServerName php54.local
PHPIniDir "C:/WAMP/PHP54"
…

gremo
- 339
- 1
- 4
- 20
1
vote
2 answers
Phpize, Cannot find config.m4, Centos6, SAPRFC Install
I'm trying to install a PHP module, which requires phpize and I'm being met with a warning, even though it exists and is installed.
Cannot find config.m4.Make sure that you run '/usr/bin/phpize' in the top level source directory of the module
So,…

RCNeil
- 615
- 3
- 9
- 17
1
vote
1 answer
Best way to handle PHP sessions across Apache vhost wildcard domains
I'm currently running a site that allows users to use custom domains (i.e. so instead of mysite.com/myaccount, they could have myaccount.com). They just change the A record of their domain and we then use a wildcard vhost on Apache to catch the…

joshholat
- 193
- 1
- 6
- 12
1
vote
3 answers
php.ini date.timezone usefulness?
I'm not sure if this is a question for serverfault or stackoverflow but it seems like it has a lot to do with server config.
We have a server in chicago and the server's clock is on chicago time. But since the business is located in California, it…

Buttle Butkus
- 1,741
- 8
- 33
- 45
1
vote
1 answer
installing zend debugger, ubuntu 12.04
I'm trying to install zend debugger in my ubuntu desktop with php 5.3 which I installed from ubuntu repositories.
I have copied debugger plugin 5.3.x from zend.com to /usr/lib/php5/20090626+lfs and added the code below to php.ini file located at…

yaser
- 95
- 2
- 8
1
vote
5 answers
User Specific Php.ini When php is ran as a module?
I have a php setting that can only be changed in the ini file. I can't change this setting in the global php.ini due to conflicts, so I'll need to have this user specific. Can this be done if php is ran as a module? Or must I change php run as a…

SeanDowney
- 187
- 1
- 1
- 10
1
vote
3 answers
PLESK PostFix Error Local Loop in maillog, how to troubleshoot
I'm using the PHP mail() function, using PostFix, on CentOS6, Plesk 10.4, and my email is not getting delivered to a particular address. My personal GMail and Yahoo email addresses receive email from my server fine and do not produce errors. After…

RCNeil
- 615
- 3
- 9
- 17