Main Menu
Home
Open a Ticket
My Ticket History
Browse Knowledgebase
My Account

Login
 E-mail:
 Password:
Register | Forgot Password?

Knowledgebase
Search by keywords:


Contact Us
Cline Communications
2750 Salk Avenue, STE. 107
Richland, WA 99354

Cline Computers
2161 Van Giesen Street
Richland, WA 99354

1-509-943-3282
1-877-943-DATA (3282)
1-509-943-5190 (Fax)

Monday-Friday 9AM-5PM
Saturdays 10AM-2PM

Knowledgebase
How do I disable PHP in a specific folder?

Article ID: 000037
Rating: 0.0 / 5.0 (0 votes)
Views: 2329

 

If the server you are on is not running php as CGI, meaning that php runs as the web server user/group (usually nobody), then you can do the following.

1. cd into the directory that you want to disable php.
2. create/edit the .htaccess file in that directory.
3. Add the following line `php_flag engine off`
4. save and quit


<< back

Rating
Did you find this article helpful?

Related Articles
How do I setup a reseller using CPanel?
How do I create an account in cpanel?
What are the ports that must be open to run cPanel behind a firewall?
Horde Mail Error :: Failed to open stream
How can I install Zend Optimizer on my server?
Will I receive my own control panel software?
What are Cline's Host Name Servers?
How to point a sub-domain to a non Cline Communications' server.
My Telnet/SSH doesn't work!
  Powered by: Cerberus Helpdesk
 
 Take Control of Your Company Inbox skin by: and www.cerberusweb.com