PHP5 on GoDaddy
-
- Posts: 8
- Joined: Wed Aug 27, 2008 12:49 pm
- Location: Wisconsin, USA
- Contact:
PHP5 on GoDaddy
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 ><>
Stuff4Toys - Stuff to make your boat Go Faster, Look Better and Last Longer
Re: PHP5 on GoDaddy
-
- Posts: 8
- Joined: Wed Aug 27, 2008 12:49 pm
- Location: Wisconsin, USA
- Contact:
Re: PHP5 on GoDaddy
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 ><>
Stuff4Toys - Stuff to make your boat Go Faster, Look Better and Last Longer
Re: PHP5 on GoDaddy
-
- Posts: 8
- Joined: Wed Aug 27, 2008 12:49 pm
- Location: Wisconsin, USA
- Contact:
Re: PHP5 on GoDaddy
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 ><>
Stuff4Toys - Stuff to make your boat Go Faster, Look Better and Last Longer
Re: PHP5 on GoDaddy
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.
-
- Posts: 8
- Joined: Wed Aug 27, 2008 12:49 pm
- Location: Wisconsin, USA
- Contact:
Re: PHP5 on GoDaddy
Thanks ~J~ "you da (fill in gender)"
JOhn ><>
Stuff4Toys - Stuff to make your boat Go Faster, Look Better and Last Longer
Re: PHP5 on GoDaddy
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.