Questions tagged [php.ini]
The php.ini tag has no usage guidance.
41
questions
0
votes
0
answers
179
views
PHP-FPM on Apache log issue
I am having trouble finding the cause of my php-fpm process logging its error output to the same location as the script result.
I have an Apache server which passes requests to the php-fpm process ...
0
votes
0
answers
244
views
Nextcloud AIO - How to persist modifications to php.ini in a docker container that frequently reboots
I’m running the Nextcloud AIO docker container. This consists of a master container that then runs the other containers such as the apache, and sql server containers. With this working I want to ...
0
votes
1
answer
1k
views
Changes made to the ini file are not reflected in phpinfo()
According to phpinfo(), the following INI files are loaded:
Configuration File (php.ini) Path /etc
Loaded Configuration File /etc/php.ini
Scan this dir for additional .ini files /etc/php.d
...
0
votes
2
answers
11k
views
Modify the contents of php.ini in my Dockerfile
I'm using containers which run php environments and in my Dockerfile I set php.ini from the development template
cp /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini
then once the ...
3
votes
1
answer
6k
views
Curl extension not working for php 7, Windows 7 and Apache 2.4
I've recently upgraded to php 7.1.31, starting from an installation of EasyPhp (Windows 7, x86). After installing the files and configuring the php.ini file, all is running well, except a problem with ...
1
vote
0
answers
1k
views
MAMP 5 (Nginx) - How can I extend timeout in my MAMP setup?
I have a PHP script that runs for over the default 60 seconds, however the page returns a 504 Gateway Timeout error.
How can i extend the timeout so the page returns a result at the end of the PHP ...
0
votes
0
answers
52
views
PHP and postgresql
I am currently new to postgre and php (linux). I have updated postgresql from 9.2 to 10 and everything is working except for PHP. The php.info is still showing the old version of postgresql (see image)...
0
votes
0
answers
278
views
After uncomment extension=pgsql in php.ini Apache HTTP Web Server restart is failed
After I uncomment:
extension_dir = "ext"
extension=pgsql в php.ini
Apache restart is failed and Apache did not work. I use:
Server version: Apache/2.4.39 (Win64) Apache Lounge VS16
Server ...
0
votes
2
answers
1k
views
Max execution time of 7200 exceeded
I am using wamp to setup my local server.
I am running a script which may take days to be completed.
Although I have set php.ini settings to high numbers but after 7200 seconds still get the ...
0
votes
0
answers
33
views
Does session function is needed to run wordpress and how to configure it?
DO you think wordpress need php function enabled so that it will run properly and securely?
I have setup the session like this :
session.auto_start = Off
session.save_path = /tmp/...
1
vote
2
answers
463
views
Can't increase upload_max_filesize in a Wordpress LAMP stack
I've been trying to increase the maximum upload size of my Wordpress instance, and I've already tried all methods mentioned in the results I get when searching this issue.
I've tried changing the php....
4
votes
1
answer
4k
views
How can I change values of the `.ini` files via command line? (linux or windows)
How can I change values of the .ini files via command line? (linux or windows)
For example I have a php.ini file:
display_errors = On
error_reporting = E_ALL & ~E_NOTICE
Now, I need be like ...
0
votes
1
answer
5k
views
How can a PHP extension be installed if php.ini does not exist?
I'm using Uniform Server and MediaWiki for a project. It is for personal use, so it is restricted to my machine. Uniform Server came with Apache 2.4.25, PHP 7.1.1, phpMyAdmin 4.6.6, and MySQL 5.6.35-...
0
votes
0
answers
43
views
php configuration is different with symlink
php configuration doesn't have the same timezone when i use symlink!
xxxx:/usr/bin $ php -i | grep timezone ...
0
votes
1
answer
134
views
Difference between memory_limit and php_memory_limit
In my php.ini file I can see settings for both
memory_limit
and
php_memory_limit
What is the difference between these two settings?
(Both settings are set to 512Mb)