Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Running PHP as CGI

    please remember that OSC and zen cart are far from the same anymore,

    and just because someone pays for a link on google, dosnt mean that they actually support ZC


    you should try using local host to call the database ( as long as its on the same server )

  2. #12
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Running PHP as CGI

    Quote Originally Posted by hduk View Post
    Forgot to add to my last post that initially the templates werent displaying and someone suggested eliminating the htaccess files from the main and admin sites. This fixed the template issue however could this be causing the timeouts?
    Not a good idea to remove as they do have specific purposes. They are pretty generic as far using on any Server and should not cause you problems.

    If you are having database timeouts and / or problems displaying pages -- regardless of Template used -- it could be indicating underlying problems with the Hoster; overloaded Servers or not using their setup as intended. For example you mention that PHP is run as CGI. This means no .htaccess files can have reference to PHP and this is true with the default .htaccess files supplied with Zen Cart. However, if you have manually added to any .htaccess file but it was not done correctly, this would lead to problems.

    In these type situations it is always best to discuss the issue with your Hoster. Nobody is more familiar with your Hosting services than they are.

  3. #13
    Join Date
    Jan 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Running PHP as CGI

    hey rob, very true, trouble is they dont seem to have a clue what they are doing. Clock is ticking and i need to be running. Im thinking i need to transfer to a zen friendly host.

    Can anyone suggest a good one (pm me if this isn't openly permitted to suggest). I dont mind if it is offshore as long as the performance is good enough to serve access from the uk.

    merlin unfortunately the web server is on a different server to mysql, i have also tried databases on other servers within the same isp with the same result.

    i think performance could well be the issue due to the intermittent nature of the fault, guess there is no real cure for that if it is a hosted solution unless they have a server under less load they can move me to

  4. #14
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Running PHP as CGI

    Quote Originally Posted by hduk View Post
    Can anyone suggest a good one
    Just sent you a PM

  5. #15
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Running PHP as CGI

    Quote Originally Posted by hduk View Post
    Im thinking i need to transfer to a zen friendly host.

    Can anyone suggest a good one (pm me if this isn't openly permitted to suggest).
    Several good recommendations on this site ... click "hosting" at the top of this page.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Running PHP as CGI?
    By pixelpadre in forum Installing on a Linux/Unix Server
    Replies: 12
    Last Post: 30 Dec 2008, 01:12 PM
  2. Should I use PHP4 or PHP5 when running PHP as a CGI
    By garthwm in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 28 Mar 2008, 01:16 AM
  3. Running PHP as CGI, any drawback?
    By yellow1912 in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 10 Feb 2008, 07:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg