How To Change the Zend Guard Loader to Zend Optimizer

Asked by:
123456789 / 5 Points
Time:
2013-03-29 10:01 am EST
Category:
Cpanel
Hits:
470
I can change the php version to 5.2 in the cpanel, but I can't find a way to change the zend guard to zend optimizer. You know that the zend guard don't no longer support php5.2, so my webpage couldn't run correctly. Could you please help me to figure it out? Many thanks!

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

JacobN
Staff
2,247 Points
2013-03-29 11:30 am EST
Hello 123456789, and thanks for your question.

I went ahead and followed the steps from our guide on how to switch between PHP versions for you, this creates a php.ini file in your /public_html directory, with the include for Zend Optimizer.

I then followed the steps in our guide on how do I make my php.ini file recursive, so that your entire site uses those settings.

The resulting .htaccess file for your account looks like this with both changes, and your username replaced with userna5:


suPHP_ConfigPath /home/userna5/public_html

# Use PHP 5.2 as default
AddHandler application/x-httpd-php52 .php



Please let us know if you have any further questions at all.

- Jacob

To submit a comment on this answer, please first login.

Want to share this Question?

News / Announcements

Update to SSL Certificates - Certificate Warnings
1969-12-31 11:00 am EST
Hits: 694

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

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

Not a Customer?

Get web hosting from a company that is here to help.