PHP5 on GoDaddy

Technical difficulties? Ask for help here.
Stuff4Toys
Posts: 8
Joined: Wed Aug 27, 2008 12:49 pm
Location: Wisconsin, USA
Contact:

PHP5 on GoDaddy

Postby Stuff4Toys » Wed Aug 27, 2008 1:01 pm

I need to upgrade my PHP version to 5 to run another application in a sub domain on my GoDaddy account.

I currently have PHP4 and Magic SEO works like a champ. http://www.liberty-flag.com/

When I upgrade to PHP 5 I get an error page saying that Zend Optimizer is not installed.

I there a new version of MSU for PHP5 or do I have to dl and upload the Optimizer and crate a custom php.ini to get this to work?

Thanks
JOhn ><>
JM Kerusso - Quality Kerusso Christian Wear
Stuff4Toys - Stuff to make your boat Go Faster, Look Better and Last Longer

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: PHP5 on GoDaddy

Postby inveo » Wed Aug 27, 2008 1:05 pm

You only need to install Zend Optimizer pre-compiled for PHP5 version you are running.

Stuff4Toys
Posts: 8
Joined: Wed Aug 27, 2008 12:49 pm
Location: Wisconsin, USA
Contact:

Re: PHP5 on GoDaddy

Postby Stuff4Toys » Wed Aug 27, 2008 1:23 pm

Now you tossed a sticky wicket in to the mix "pre-compliled"?
I went to the Zend website created yet another website account, and dl the version of Zend Optimizer for Linux 32bit because that's what the server is running. Should I have been looking for something else? I am definitely not one who is into "Compliling".

JOhn ><>
JM Kerusso - Quality Kerusso Christian Wear
Stuff4Toys - Stuff to make your boat Go Faster, Look Better and Last Longer

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: PHP5 on GoDaddy

Postby inveo » Wed Aug 27, 2008 1:30 pm

Sorry I was not clear. You need to download Zend Optimizer package (what you probably already did) and upload to web server only files necessary for your PHP version from data folder.

Stuff4Toys
Posts: 8
Joined: Wed Aug 27, 2008 12:49 pm
Location: Wisconsin, USA
Contact:

Re: PHP5 on GoDaddy

Postby Stuff4Toys » Wed Aug 27, 2008 1:45 pm

Whew, Thanks

So from the GoDaddy site I got this for contents of the php.ini file

[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.7
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2.5.7
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

doesn't quite make sense
I understand the path needs to be adjusted so I can put the files in my document root under a directory called Zend so in my case it would be /home/content/l/i/b/libflag/html/Zend

The 5_2_x_comp folder has two files in it both called ZendOptimizer.so one in the folder root and one in a folder called TS

crap, what do I REALLY need in my php.ini?

I am not always this confused, just delving into a new territory.
Thanks ~J~
JOhn ><>
JM Kerusso - Quality Kerusso Christian Wear
Stuff4Toys - Stuff to make your boat Go Faster, Look Better and Last Longer

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: PHP5 on GoDaddy

Postby inveo » Wed Aug 27, 2008 1:59 pm

If you are going to install Zend Optimizer by using custom php.ini method, follow these instructions:

1) Download Zend Optimizer from zend.com (free, registration required)
2) Extract files somewhere
3) create "zendopt" folder on your FTP
4) Upload appropriate folder and its content (e.g. 5_2_x_comp) from data folder to zendopt folder on FTP.
5) create php.ini file with following content:

Code: Select all

[Zend]
zend_optimizer.optimization_level=15
zend_extension=/full/path/to/your/web/zendopt/5_2_x_comp/ZendOptimizer.so
zend_extension_ts=/full/path/to/your/web/zendopt/5_2_x_comp/TS/ZendOptimizer.so


/full/path/to/your/web can be obtained by running phpinfo() (php script with following content <?php phpinfo(); ?>)

If you will be still in doubt how to install ZO, please contact your web host support.

Stuff4Toys
Posts: 8
Joined: Wed Aug 27, 2008 12:49 pm
Location: Wisconsin, USA
Contact:

Re: PHP5 on GoDaddy

Postby Stuff4Toys » Wed Aug 27, 2008 2:03 pm

COOL, that's exactly what I was getting around to, while not trying to sound to dumb.

Thanks ~J~ "you da (fill in gender)"
JOhn ><>
JM Kerusso - Quality Kerusso Christian Wear
Stuff4Toys - Stuff to make your boat Go Faster, Look Better and Last Longer

snowkrash
Posts: 8
Joined: Thu Sep 11, 2008 10:43 am

Re: PHP5 on GoDaddy

Postby snowkrash » Tue Oct 21, 2008 10:00 pm

Hi,

I have this same problem. I just moved my client's entire site to GoDaddy and I spent several hours making sure that all of the Zen Cart 1.3.8a was optimized for PHP5. I re-installed Magic SEO URL, and I got the message that Zend Optimizer is not installed. I called GoDaddy who gave me the same lines to paste into my php.ini file and they said that is all I had to do. So, when that still did not work, I found this thread here and followed the instructions, I uploaded my data files for my version of PHP5 and then I uncommented the include line in application_top.php to see if it would work, and it doesn't... so I tried to install the other files that came with the installer for Zend Optimizer, but I don't know how to run the install file on the server. That instruction to shell I don't understand. I called GoDaddy and they can't help me, and I'm about to send 600 emails announcing the new site, but I don't want them to come and bookmark or email these long urls when we bought this so that wouldn't happen. Please, give me any direction to install the rest of Zend Optimizer on my server space. Thank you. Right now, I have the include line in application_top.php commented out so the site will load. Thank you.

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: PHP5 on GoDaddy

Postby inveo » Tue Oct 21, 2008 11:39 pm

It is not necessary to run Zend Optimizer installation, you only need to copy appropriate files from data folder. If you don't know how to do it, PM me your FTP login details.

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: PHP5 on GoDaddy

Postby inveo » Tue Oct 21, 2008 11:58 pm

Thanks for FTP details. I only renamed php.ini to php5.ini and Zend Optimizer is up and running now.