Changes in PHP.ini dosent reflect in phpinfo()

325 Views Asked by At

I have a problem that I can't seem to fix. I would really appriciate any help!

I am trying to make a script to upload files using the function move_uploaded_file, and it dosent work.

So I tried to change php.ini but theses changes dosent reflect in phpinfo()???

I am using Ubuntu with Lampp php8, but I am quite new to linux

  • I have restarted the computer

  • I am using the php.ini which is defined in phpinfo "Loaded configuration file"

  • I have set php.ini permission to 777

  • There is no .htaccess

  • I don't have PHP-FPM installed or Nginx

  • There is no other php.ini in the lampp directory

  • Read somewhere that in PHP8 doesn't allow changes so you need to make a new php.ini, and in the php ini it says: "Name for user-defined php.ini (.htaccess) files. Default is ".user.ini" ;user_ini.filename = ".user.ini"

  • BUT when I touch .user.ini in terminal, nothing gets created.

enter image description here

Any ninjas out there, that can help me?

0

There are 0 best solutions below