Heber Lourenção
New member
It's possible to disable the php default extensions on a server?(this server uses DirectAdmin)
In my localhost (using Mint + LAMPP), i've configurate the file /opt/lampp/etc/extra/httpd-xampp.conf in this line:
# since LAMPP 1.0RC1
# AddType application/x-httpd-php .php .php3 .php4
AddType application/x-httpd-php .xyz
Note I'm trying to disable default extensions and use a .xyz pointed to PHP file executable.
It's works fine. But not work in my online server, where I'm using AlmaLinux + Apache + DirectAdmin.
How to do this?
If anyone is curious about the reasons for this, write here or send DM. It's related to security issues.
In my localhost (using Mint + LAMPP), i've configurate the file /opt/lampp/etc/extra/httpd-xampp.conf in this line:
# since LAMPP 1.0RC1
# AddType application/x-httpd-php .php .php3 .php4
AddType application/x-httpd-php .xyz
Note I'm trying to disable default extensions and use a .xyz pointed to PHP file executable.
It's works fine. But not work in my online server, where I'm using AlmaLinux + Apache + DirectAdmin.
How to do this?
If anyone is curious about the reasons for this, write here or send DM. It's related to security issues.