Questions tagged [php.ini]

php.ini is the configuration file used by the PHP preprocessor to setup the default settings and certain security restrictions.

272 questions
1
vote
1 answer

PHP throwing XDebug errors ONLY in command line mode

I've been having a few problems running PHP-based utilities within the command line ever since I enabled the XDebug. It runs just fine when executing script through a browser, but once I try an execute a script on the command line, it throws the…
Wilhelm Murdoch
  • 173
  • 1
  • 6
1
vote
1 answer

How do I get the latest FastCGI and PHP versions to peacefully coexist on IIS 6?

I have been going round and round trying to get any sort of PHP running on IIS 6. I somehow managed to successfully get version 5.1.4 running using the php5isapi.dll file. However, I want to upgrade a website to begin using a Content Management…
BHelman
  • 23
  • 1
  • 5
1
vote
1 answer

CLI php errors on FreeBSD Server

I manage a FreeBSD server running usual AMP setup. Apache, Mysql, Php-fmp Everything is working fine. In order to help out with speeding up a couple of Wordpress sites; we run php cli to run the wp_crontab.php regularly. This is running without…
Tamer Ziady
  • 111
  • 2
1
vote
0 answers

Some PHP extensions available only for root user

I have installed PHP 7.4 (from remi) on CentOS 8 since I need that version on CLI. The issue is with extensions, when I check modules (php -m) as root user I for example have redis enabled there, but if I check the same thing with any other user…
mixerowsky
  • 111
  • 2
0
votes
1 answer

Wordpress installation fails Ubuntu, PHP-FPM and Nginx

Wordpress installs without any issues. No error log in FPM, Nginx and WP-Debug. However it is not working. I believe the issue is related with FPM. When I carry all the WP code (no-change) into another host, it works even with the same db. If I just…
0
votes
1 answer

Which apache/httpd (root or www-data) user, who load /etc/php.ini when webserver startup?

I want to secure my php ini access right. We know that apache/httpd master process, is owned by root. Then it spawn new child process in www-data user. If /etc/php.ini loaded by apache as root user, I want to limit read access of php.ini to root…
Iwanio
  • 11
  • 2
0
votes
1 answer

openlitespeed mongodb extension installation for lsphp

I'm trying to use mongodb with lsphp. Currently I've manually compiled mongodb.so following this and I can see mongodb.so at /usr/local/lsws/lsphp7/lib/php/extensions/no-debug-non-zts-20160303 . Now, next step in the link is to enable the extension…
0
votes
1 answer

Can't upload larger files to server

I have a Ubuntu 16.04 server with apache 2.4 and php 7.1. The php.ini has the following settings: max_file_uploads 20 memory_limit 512M post_max_size 256M upload_max_filesize 128M Folder permissions are alright, plenty of free space on the…
0
votes
1 answer

PHP7 extensions aren't reading correctly from config file

I'm setting up a WordPress installation on my Windows server. I have an IIS site set up to look at the correct folder. Right now, in the folder is a php_info file so that I can see which PHP is installed. I personally installed PHP 7.2.8. However,…
drethedevjs
  • 101
  • 1
0
votes
1 answer

php-fpm ignores file .user.ini

I have the following file .user.ini in…
sebelk
  • 682
  • 4
  • 13
  • 32
0
votes
1 answer

How to enable a the php_soap extension from .user.ini (no acces to php.ini)

Our application is being hosted on GoDaddy (plesk). We need to enable 'php_soap' extension for our application to work. We contacted the customer support that we don't have access to php.ini file to do so but they told us that we can use .user.ini…
7asobate-
  • 1
  • 1
  • 1
0
votes
0 answers

trying to install oauth pecl extension

I'm trying to install the pecl oauth package with PHP 7.2 and don't know what I'm doing wrong. I ran this: sudo pecl install oauth and it seemed to work. It said this: Build process completed successfully Installing…
raphael75
  • 133
  • 2
  • 10
0
votes
1 answer

Class 'ZipArchive' not found. how to configure zip on php apache

Following is the error message that i am receiving I searched through internet and did installed zip using sudo yum install php70-php-pecl-zip when i do yum list installed, it shows me that "zip.x86_64" is there but when i do phpinfo() it…
Muhammad
  • 103
  • 1
  • 1
  • 6
0
votes
1 answer

Installing PHPExcel for Phabricator

I have installed Phabricator using the official Bitnami image on Google Compute Engine. It's working great, but when I try to use export to excel button in Maniphest, it shows the following error - Excel Export Not Configured This system does…
noob
  • 141
  • 1
  • 7
0
votes
0 answers

PHP.ini override isues on CentOS 7 / PHP 5.6

I wanted to increase my servers upload_max_filesize, so I downloaded the PHP.ini file from /etc/ made the change locally and then uploaded the file via FTP. During the upload the FileZilla mentioned that I was overriding the file on the server with…
Dan382
  • 211
  • 1
  • 3
  • 9