phpinfo.php file information other than php.ini in VPS. What to do?

Asked

Viewed 163 times

0

good morning;

The settings of my VPS, in the PHP part are shown in phpinfo in this initial way:

System Linux fkc.com 2.6.32-042stab112.15 #1 SMP Tue Oct 20 17:22:56 MSK 2015 x86_64 Build Date May 14 2015 23:37:43 Apache Server API 2.0 Handler Virtual Directory Support disabled Configuration File (php.ini) Path /etc Loaded Configuration File /etc/php.ini Scan this dir for Additional . ini files /etc/php. d

Then I entered the /etc folder and opened php.ini for editing. BUT the data shown in php.ini is different from the ones shown in phpinfo. In hpinfo appears, for example:

upload_max_filesize 2M 2M upload_tmp_dir no value no value

But in php.ini is 250M and /tmp What can I do?

Ps.: All this problem is happening because I can’t upload files to the server, via php.

  • Did you restart the page server after touching ini? Checked if you do not have any more specific directory configuration, vhost or htaccess overwriting the data?

  • Bacco, I searched the entire VPS. In phpinfo itself the information points to php.ini in the /etc. folder I don’t own files. htaccess in the domain directory. .

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.