How do I compress PHP files in cPanel?

Category: Phpbb

Wisar
Asked:
2011-12-30 4:30 pm

Hits: 4,517
I can't seem to add a .PHP file to a ZIP archive while I can add files of other types with the same permissions from the same directory. Is this a security feature that can be disabled?

Cheers,
Will

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by InMotion Hosting staff

0

Tim S.
2011-12-30 5:25 pm
Hi Wisar,

Thanks for posting your question. I'm more than happy to assist you. I'm not aware of any security measure that would prohibit adding a PHP file to a ZIP archive. I went into my own VPS and attempted to add a test PHP file into a ZIP archive. It succeeded in creating a ZIP file with the PHP in it.

I did this through cPanel. Once in cPanel went to file manager and right clicked on the file. Then selected the "compress" option from the dropdown. At the prompt select "add to ZIP archive" and it will automatically compress the file for you.

If you need further assistance please feel free to contact us.

Thanks!

Tim S

You must login before you can post a comment about this answer.

Like this Question?

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. Can I create a website on another website (e.g. Wix) and have it hosted on my inmotion domain?
  2. Why can't I see my updated web files on my website?
  3. Adding Google Analytics

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!