Linked Questions
27 questions linked to/from How can I find the php.ini file used by the command line?
-1
votes
2
answers
3k
views
How to access php.ini on linux server using command line [duplicate]
I need to make some changes to the php.ini file. Can anyone tell me how and where can i find php.ini file on linux based server using Command line?
2
votes
0
answers
3k
views
Command-line PHP is using multiple ini files [duplicate]
I was trying to install a composer package and ran this command: php composer.phar require phpmailer/phpmailer. The response included this:
Failed to download phpmailer/phpmailer from dist: The zip ...
1104
votes
15
answers
1.3m
views
Where can I find php.ini?
Today I needed to install the IBM DB2 library. I went through all the steps up to make install, and I found ibm_db2.so in $PHP_HOME/lib/extensions/somecomplicatedname/ibm_db2.so.
The great catch is ...
295
votes
21
answers
436k
views
Composer install error - requires ext_curl when it's actually enabled
I'm trying to install Facebook PHP SDK with Composer. This is what I get
$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your ...
463
votes
2
answers
896k
views
Call to undefined function curl_init()?
When i am going to implement Authorize.net payment gateway. However, I got this error:
Call to undefined function curl_init()
Please let me know what is wrong in it.
65
votes
27
answers
169k
views
php artisan migrate throwing [PDO Exception] Could not find driver - Using Laravel
I have a bad experience while installing laravel. However, I was able to do so and move to the next level. I used generators and created my migrations.
But when I type the last command
php artisan ...
72
votes
7
answers
87k
views
where can I find the php.ini for php-cli
It appears that the php command line is using a different php.ini from the main php interpreter. I am using Ubuntu 10.4. My problem is that in the main php.ini I have included an extra path for an ...
81
votes
5
answers
504k
views
PHP: settings memory_limits > 1024M does not work
For bad reasons I need to set memory_limits higher than 1 GB for a directory, but on my PHP 5.2.17 on a Debian 5.0 (Lenny) server when I use, for example, 2048M, I get only the php.ini default value (...
50
votes
14
answers
166k
views
Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' with pdo
$db = new PDO('mysql:dbname=xnews;host=localhost;port=' . $LOCAL_DB_PORT,
$LOCAL_DB_USER,
$LOCAL_DB_PASS,
array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'UTF8'")
...
19
votes
5
answers
31k
views
How to disable E_STRICT
I need to turn off E_STRICT. I have error_reporting = E_ALL & ~E_STRICT in my php.ini but it seems to be ignored. I tried this in my code:
ini_set('error_reporting', E_NOTICE);
Nothing!
Please ...
3
votes
3
answers
47k
views
Call to undefined function mysql_query() [closed]
I wasn't able to find this issue on this site. when I load my page, i get the following error
Call to undefined function mysql_query()
So my checked my phpinfo() file and I couldn't find the mysql ...
5
votes
7
answers
6k
views
MAMP / Symfony: MAMP overrides date.timezone setting from php.ini, Symfony fails
I'm trying to configure Symfony2 framework in MAMP.
In php.ini I have correctly set date.timezone, however, it appears that MAMP somehow overrides the setting and uses system time instead.
As a ...
3
votes
1
answer
19k
views
where does php.ini file is located in laravel applications?
I'm trying to find where the php.ini file is located for Laravel applications, I have a form with more than 1000 inputs I'm trying to change the maximum number of inputs.
1
vote
4
answers
4k
views
Why can't CakePHP bake connect to MySQL running under EasyPHP on Windows Vista Ultimate?
I have CakePHP (cake_1.2.2.8120) and EasyPHP (3.0) installed on Windows Vista Ultimate. I followed the "baking" tutorials online and successfully set the database connection with the "...
1
vote
1
answer
5k
views
Directive 'allow_call_time_pass_reference' is no longer available in PHP
I am using XAMPP with PHP Version 5.6.3 and trying to create project in zend framework and executed the command
zf create project quickstart
it is giving the Fatal error: Directive '...