• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

plesk 9 ubuntu php not working

L

luka

Guest
the default plesk site (if you go directly to server's ip)...gives you a file of type php_auto_file
and a virtual host which i created gives me an unknown file type...
the file ofcourse is a php file and i can see the code inside it...and yes php IS enabled on that virtual host
i checked the /etc/apache2/apache2.conf and:

# Include generic snippets of statements
Include /etc/apache2/conf.d/

# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
AddOutputFilter INCLUDES .shtml
AddType text/html .shtml
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


plesk added everything in there correctly yet php still doesn't work.
any ideas?....don't really want to go reconfigure php and apache by hand because i don't know if plesk will work correctly after that....besides this should be working.
 
Back
Top