Skip to main content

Questions tagged [php.ini]

The tag has no usage guidance.

1 vote
1 answer
818 views

Windows 10 update, Imagick php not working anymore

Since the last update of Windows 10 (KB4016240), my xampp server does not launch any more imagick, it was working fine before this update. Now when I start Apache from Xampp I get the error message: ...
London Smith's user avatar
3 votes
0 answers
723 views

Configuring PHP for MongoDB on Mac OS X Sierra

I'm having some difficulty configuring PHP to integrate with MongoDB on my Mac. I can confirm that PHP is running correctly, and the php.ini file I am tinkering with is the correct one (I can see ...
HomerPlata's user avatar
0 votes
2 answers
2k views

myPhpAdmin gives lots of deprecation notices

Just installed myphpadmin on a new pc. Now with every page I visit, I see lots of deprecation notices (related to mcrypt functions). I already tried setting error_reporting = E_ALL & ~...
YvonRozijn's user avatar
1 vote
2 answers
6k views

Virtual host installation not working

I am trying to instal my existing local server with xampp. I setup apache to point to mywebsite.dev document root to /code/www/public. I get an error saying The webpage is not accessible. This ...
NewPassionnate's user avatar
0 votes
1 answer
2k views

how to add mongodb.so to AMPPs

I want to use MongoDB in my laravel project, when I'm trying to add mongoDB driver to composer I get : Problem 1 - mongodb/mongodb 1.0.3 requires ext-mongodb ^1.1.0 -> the requested PHP ...
Mohammad_Hosseini's user avatar
0 votes
1 answer
16k views

Installing PHP extension mbstring in PHP 5.6 CentOS 6.8

I am using PHP 5.6 on my centos-release-6-8.el6.centos.12.3.x86_64 server. I got following error from one of my PHP function. Fatal error: Call to undefined function mb_detect_encoding() So, I ...
Sadee's user avatar
  • 101
3 votes
2 answers
3k views

php 5.6.20 - /etc/php5/conf.d directory missing

I can't find /etc/php5/conf.d directory in my system. Do they change catalog structure ? I already read /usr/share/doc/php5-common/README.Debian.gz There is information about linking /etc/php5/$SAPI/...
beginner's user avatar
1 vote
0 answers
3k views

Adminer - can't allow for larger file uploads than 2mb

I'm trying to upload my db dump file through adminer, but it is limited to 2MB uploads, even though I went to the php.ini file and chenged it to 35MB. I'm using a vagrant php environment generated by ...
zkwsk's user avatar
  • 195
12 votes
3 answers
51k views

how to change path of php ini windows

I've downloaded php, addeded it to my path and im trying to enabled openssl php --ini tells me that configuration file is c:\windows which there was nothing there, I dont want to copy php into c/...
Guest's user avatar
  • 121
1 vote
0 answers
37 views

Implications of Increasing Max File Size In php.ini

For example, is there a risk for data corruption that increases as you allow larger file sizes to be uploaded to the server?
Scandalist's user avatar
  • 3,089
1 vote
0 answers
2k views

php PDO sqlsrv "could not find driver"

My configuration: - Windows Server 2012 - SQL Server 2012 - Apache 2.4.9 - PHP 5.5.10 My php.ini includes the line - extension=php_pdo_sqlsrv_55_ts.dll My "ext" folder includes the file - ...
teach me's user avatar
  • 107
0 votes
0 answers
1k views

how to get php executable path file of a system remotely?

I want to debug php codes and I am using zend debugger in Eclipse environment and I have a remote server access(ftp). I used PHP_BINDIR to find out about the path file of the php executable file: ...
Nickool's user avatar
  • 293
0 votes
0 answers
197 views

Create two partial php.ini files

I want to two split php.ini into two files so that I can move important entries to a new file. I think it is a .ini file so, any rule for creating partial .ini files will also apply to it. Is it ...
user avatar
0 votes
3 answers
2k views

Turning on "E_ALL" (errors) in php.ini

I've turned on errors in php.ini by removing the ; in front of the comment on line 240 of php.ini (I'm using PHP 5.4.4). I'm using MAMP for my local server to set up a local environment, and I ...
sam's user avatar
  • 4,209
5 votes
1 answer
66k views

How do I disable ALL error messages via php.ini?

Despite the following settings below, I often see the path to the file producing the error. How do I turn off ALL errors no matter what? error_reporting = E_ALL display_errors = off log_errors = off
PeanutsMonkey's user avatar

15 30 50 per page