![]() ![]() I reloaded my webpage and it worked as expected. mod-php worked and it knew to get the 8.1 version. Note I tried to install specific versions of the mod-php package but I kept getting a E: Unable to locate package libapache2-mod-php8 The same error for mod-php7 and mod-php5. Then, just to be sure, I ran: $ sudo a2enmod php8.1 $ sudo apt-get install libapache2-mod-php I had to install a php module package and enable a php-module-8.1, then this worked. I Googled on "How to enable PHP in apache2". If I change the AddHandler to an AddType and reload my test page, I get prompted to Save or Download the page.Īny thoughts on what I can do/try differently? I've tried using different versions, but none work: AddHandler application/x-httpd-php. I haven't been able to find any info on using php8 or php81 in the. So, it's not displaying the
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |