Enabling PHP
Simple question (I think) I have a domain, *******.net, and have set up photos.*******.net. to display award photos from some dog shows. I would like to enable PHP processing in this so I can automatically generate index pages of the photos. I believe I have set the PHP version for this domain to 8.1. What do I need in my .htaccess file to let htm files use PHP? Where does this .htaccess file need to be?
I'm very rusty on all of this, I haven't done any web development for about 15 years.
Thanks
Thank you. I will look into Softaculous. I've already uploaded the images. What I used to do in the old days was embed PHP into HTML files with <?php and so forth. What I would like to do is have one file that will look up available .jpg files in the folder, and produce A preview index page for all of them. How do I tell my domain, presumably via .htaccess to process .htm files for embedded PHP?
Hello Alan,
It sounds like you're trying to parse .htm files for embedded PHP. You can set an add handler in .htaccess to ensure that .htm or .html files are processed for PHP. You can see how this is done in this Stackoverflow answer. I hope this helps answer your question and solve your problem!
If you continue to have problems with this issue, I would recommend trying to respond to the community forum I've linked.
If you have any further questions or comments, please let us know.
Kindest Regards,
Arnel C.