Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on Zend Optimizer in Subdirectory in the Shared & Semi-Dedicated forum
Hello, I'm trying to install php script which uses Zend Optimizer. If I upload it to a root directory, it works perfectly, but if I ...

  1. #1
    JPC Member
    Join Date
    Apr 2008
    Posts
    2

    Question Zend Optimizer in Subdirectory

    Hello,

    I'm trying to install php script which uses Zend Optimizer. If I upload it to a root directory, it works perfectly, but if I upload it to a subdirectory (www.domain.com/subdir) it executes www.domain.com/index.php. I tried to remove index.php and then I got internal server error

    I don't know how Zend Optimizer works, so maybe someone could explain how to install zend php script to a subdirectory. Thanks.

  2. #2
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    This is unlikely to be caused by the Optimizer. It is probably a limitation of the specific script. Best contact the seller / developer.

    Zend Optimizer does two things:
    1. It optimizes PHP code a bit by replacing slower instructions with faster ones that accomplish the exact same thing. On most code this speeds things up a few percent. On code that is already fairly optimal it slows things down slightly, as the optimization step itself takes time too.
    2. It enables you to run PHP code that has been encoded by Zend Guard. This is probably why you need it, as such code won't run without it.
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  3. #3
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,307
    Really? I'd be more inclined to think that kind of problem was a configuration or script error than a Zend Optimizer error.

    Check any configuration files for the script. Some older scripts had a limitation that they could only be run from a "root directory" of sorts. If you can look at the code of the script, or if it requires customization of paths, ensure you got that right.

    Perhaps you could run the script if you made the subdirectory a "subdomain" and ran the script from subdirname.domain.com/ instead of www.domain.com/subdirname?

    Good luck.
    Good luck

Bookmarks

Posting Permissions

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