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
2 answers
Installed PHP on CentOS, some features not working
I followed this guide to install PHP 5.3 on my CentOS 5 server:
http://www.webtatic.com/packages/php53/
I have phpMyAdmin extracted in a directory but it says it can't find the mysql extension. Moreover, I know I'll need the mysqli extension for…

user1062058
- 505
- 2
- 10
- 17
1
vote
0 answers
Zend autoloader not working from PHP config
Is the PHP config file (php.ini) supposed to have something in it that will enable Zend Autoloader support? Cause I am using it in my application and on one server and it's not working (it says it can't find the file in require_once()) and on…

Eduard Luca
- 371
- 2
- 9
- 19
1
vote
5 answers
Unable to upload files larger than 128KB error because of MaxRequestLen update
server :
Plesk panel 10.3.1,
PHP 5,
Apache2
When I updated the plesk panel, I noticed a strange error while uploading files.
My server does not allow any file to be uploaded above the 128kb, even when the settings in /etc/php5/apache2/php.ini are…

Germaike
- 61
- 1
- 7
1
vote
3 answers
PHP enable sqlite phpinfo states --without-sqlite
I've seen similar questions but none that address my situation adequately. I'm running Apache and PHP 5.3.6 on a amazon cloud server.
phpinfo keeps stating that sqlite is disabled. At least that what it seems from the configure line:
'./configure'…

James John McGuire 'Jahmic'
- 259
- 1
- 5
- 14
1
vote
3 answers
1
vote
2 answers
max_execution_time (PHP) <- when does it start to count?
I have few very-long-executing scripts, and my max_execution_time is 5
However, when I was taking some information from plus.google.com, it took about five minutes. It all worked well but it was just time-eating proccess, after those five minutes,…

genesis
- 343
- 4
- 15
1
vote
2 answers
PHP doesn't load php.ini
I have this strange and stupid problem I'm trying to resolve for a couple of hours now.
I have installed apache 2.2.10 (it was compiled from source a long time ago), and PHP-5.3.6.
Both are working just great except for the fact I can't get PHP to…

tftd
- 1,498
- 7
- 25
- 40
1
vote
2 answers
Able to configure/compile PHP --with-ldap, but LDAP is not listed in phpinfo()
I am trying to compile PHP with LDAP support using these lines:
./configure --prefix=/app/php --with-ldap=/usr
sudo make
sudo make install
Everything appears to install fine without issue, and PHP runs fine, but when I run a phpinfo, I…

KM.
- 1,786
- 2
- 18
- 31
1
vote
1 answer
Issues after upgrading the servers PHP version
I have created my project in Symfony 1.4.8 with Propel ORM. previously server had PHP version 5.2.* and i have upgraded it to 5.3.4, then the problem started giving some error in Propel.
the errors were,
PHP Deprecated: Directive 'magic_quotes_gpc'…

Harish Kurup
- 81
- 4
1
vote
1 answer
PHP's SMTP configuration on ubuntu?
http://ca3.php.net/manual/en/mail.configuration.php#ini.smtp
Looking at the manual, it specifies that the php.ini option for selecting an SMTP server is a windows-only thing. What do I do to configure it to use a specific domain/IP/port for a linux…

Incognito
- 302
- 4
- 17
1
vote
1 answer
What do I change in php.ini file so that the sessions are handled in memcache?
I have installed the memcache extension and also memcached. Now what do I need to chance in the php.ini file so that all sessions are handled in memcache?

Peter Johansson
- 377
- 1
- 6
- 8
1
vote
3 answers
How do I activate SQLite3 on PHP 5.3.3 Centos 5?
I have reviewed the previous questions on this and they don't seem to cover what exactly I'm looking for, before I start, I'm no server admin. I'm trying to help get this server up and active and I have got it all going with exception to the…
user58553
1
vote
2 answers
PHP in snow leopard
Snow leopard comes with PHP already installed and configured
I am running a web application on a development server which has MAMP and the system runs fine however when I put the application on a live server then I get this error
PHP Fatal error: …

Gatura
- 573
- 3
- 10
- 24
1
vote
1 answer
Limit sending emails via php
Is there any way to limit amount of emails user can send per day ? I run different php.ini for every user so ideal would be to limit this in .ini file
ty.

amarc
- 173
- 3
- 8
1
vote
1 answer
PHP upgrading to 5.3.3 - what should I be aware of?
I have a VPS that's hosting half a dozen PHP-based sites. All is OK on php5.2.10 but I want to upgrade to 5.3.3.
I have tested the functionality of the sites on my local dev machine running 5.3.1 and all is well.
Having never done a PHP upgrade, and…

Owen
- 356
- 5
- 20