ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Ok... am i right in thinking that my previous version of zencart worked because it was using php5.2 where the new version requires php 5.6??
If that is the case would my whole site not work ? in this case the front end is fine and its the back end that is not working - ie the Admin section...
Thank you
Starting with this: http://www.zen-cart.com/content.php?...o-run-zen-cart
Which identifies first the posted/design limitations of the various versions of ZC.
PHP 5.6 is not the required verson to operate ZC. In fact there are temporary posted solutions to operate ZC 1.5.4 using PHP 5.2 in one of the previous posts. The thing is, the PHP versions are evolving to where in the very near future PHP 5.4 is going to be considered obsolete, then of course soon 5.5. A majority if not the main reason for these version retirements is in the name of security...
Furthermore if your host doesn't support/offer these more recent versions, then would want to question their ability and follow through on maintaining other aspects of security... Only requires one weak link to break a chain...
As for other operation being impacted, no not entirely, it fully depends on what has happened between PHP versions, like for example PHP 5.3 supports function calls such as mysql_query(), but PHP 5.5 for example doesn't but does support mysqli_query()... Thing is, ZC handles/addresses that type thing by having setup functions that are universal and work with the PHP version applicable to that ZC version... This way if a plugin only accesses the database using a ZC function, the code will from the perspective of database access always be up-to-date and functional for the ZC store operated within the design parameters...
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Thank you for your reply.
The host that i am using is pretty good. Its www.123-reg.co.uk
Previously, a few days ago i had zencart version 1.5.3 working on the same hosting package that i am using now. the site worked fine.
So, sinse then NOTHING has changed apart from a fresh install of Zencart.
Now, i have read a few threads on the compatability of Php and what versions are used stabily on certain zecart versions.
Zencart version v1.5.3 and zencart v1.5.4 are both compatable with Php version 5.6.... see below...:
Zen Cart v1.5.2 is compatible with PHP 5.3.7* thru PHP 5.6
Zen Cart v1.5.3 is compatible with PHP 5.3.7* thru PHP 5.6
Zen Cart v1.5.4 is compatible with PHP 5.3.7* thru PHP 5.6 (recommend PHP 5.5 or 5.6)
So, i think that there may be another issue somewhere .....
I have spoken to the host and they have opened a ticket for me. Not sure when they can suggest anything
thanks for your help guys ...
The thing is the error message that has been reported is applicable to PHP 5.2 being loaded: http://www.zen-cart.com/showthread.p...s)-with-v1-5-4
See post #2 the same type fix was NOT required with ZC 1.5.3... So yes upgrading the site could cause this message to now display.
Maybe I'm missing something but so far there has been no actual statement of what PHP version is currently being used/applied to the site... There is some vague reference to 5.6. Does an .htaccess file need to be used on this new site that was removed from the old files, is there one in the path for the other functional site but not this one? It would only be needed to support the host's requirement as ZC does not require an .htaccess file in the root of the store.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Could try this...
In the root of your store, create a file with a filename of your random choosing using a standard text editor the filename is to end with .php and contains the following:
Store the file after editing/creating. Access the file and information about the php version and other settings should be diisplayed... Can report the results here then delete the file.Code:<?php echo phpinfo(); ?>
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Hi there
I apologize for not giving you the correct information about the PHP on my server.
here is the information you may need.
Server Free Disk Space = 882.15 GB
PHP O/S = Linux
PHP API Mode = cgi-fcgi
PHP Max Execution Time per page = 30
Register Globals = OFF
MySQL Support = ON
PHP Version = 5.2.17
PHP Safe Mode = OFF
PHP Sessions Support = ON
PHP Session.AutoStart = OFF
PHP session.use_trans_sid = OFF
Suggested SQL Cache Folder = /websites/123reg/LinuxPackage22/fa/tm/oo/****************/public_html/cache
PHP magic_quotes_runtime setting = OFF
PHP magic_quotes_sybase setting = OFF
PHP GD Support = ON
GD Version = GD bundled (2.0.34 compatible)
PHP ZLIB Compression Support = ON
PHP OpenSSL Support = ON
PHP cURL Support = ON
CURL NON-SSL Capability = Okay
CURL SSL Capability = Okay
PHP Upload Support = ON upload_max_filesize=8M; post_max_size=8M
PHP Upload TMP dir =
Apache .htaccess Support = ON
PHP Version 5.2.17 is used