How to Upgrade AutoIndex to PHP 8

Back in April 2018 I posted a fix so AutoIndex users could use this fantastic web folder directory listing utility with PHP 7. That fix does not work with PHP 8.  Updating the AutoIndex code to work with PHP 8 was taking more time than I had to do a good job. In my opinion it is much harder to update and fix someone else’s code than it is to work on your own source files.

So you can imagine my excitement when I got a blog comment from Thierry informing me about an updated version of AutoIndex that works with PHP 8.0, 8.1, and 8.2. I immediately downloaded the new code and installed in on my projects using the older version of AutoIndex.

After running the PHP 8 version of AutoIndex on several virtual hosts which use PHP 8.2, I can confirm that the new version of AutoIndex works great. It also works with the responsive theme I posted back in 2017.

You can download the new version of AutoIndex for PHP 8 at this link:
https://github.com/Dark1-dev/AutoIndex-Php8

If you are new to GitHub, click on the green “Code” button and then select “Download ZIP” from the dropdown list.

I also posted a ZIP file of the new version in my blog downloads folder (which is running the updated version of AutoIndex for PHP 8):
https://blog.beausanders.org/downloads/

CREDITS: Thank you Dark1 for developing the upgrade to PHP 8 and SeriousBuggie for his contribution to that project. Thank you to Thierry for letting me know about Dark1 and SeriousBuggie’s work.

 

 

Share This Post

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.