Last updated on August 4th, 2022 at 08:36 am
In this tutorial let us try to add apache handlers through CPANEL.
To add an Apache handler:
- Click on the Apache handlers button on the home page.
- Enter the file extension in the Extension(s) field. You need to add the . before the extension name.
- Enter the Apache handler in the Handler field.
- Click on the Add button.
For example if you want to add a file with extension .tom
All you have to do is type .TOM extension in the Extension(s) field and type application/x-httpd-php in the HANDLER field . Then press Add button.
If you are using php version 5 or version 7 then try adding application/x-httpd-php5 or application/x-httpd-php7. Basically replacing the number after x-httpd-php with the version of your PHP.
Assuming that your index file has index.tom extention, type on the browser
and you will get your php scripts inside this file compiled successfully.
7 thoughts on “Adding apache handlers in cpanel”
Hi, I just became a part of this forum here and looking forward to helping. Great work by the admin and mods and every member around. You can really tell when people put a lot of effort into a forum and it definitely shows here!
Hey…!!! such a neat forum my name is Daniel and I am from Fort Lauderdale
Hey, I hate to intrude on the board with this, but they are giving away $1,000 Walmart gift cards on a blog.
You can see for yourself… http://conservingmoney.wordpress.com/
havent seen a website like this everything has been given properly..cheers
a nice website…lot of stuffs and notable things in this website…
The easiest and straight forwarf tutorial i have ever seen on internet
Just joined the forum, it’s my first post, hello to everyone.