Why does PHP 5 on mediatemple’s deadicated virtual (dv) server hate me?

Has anyone been able to get this working on the 3.0 version? Every time I try to follow their KB article it never works, when I restart Apache my default page for this site changes to the default place holder for apache/cantos.

Am I just retarded and I’m missing something really simple or is the KB article wrong.?Any thoughts on this would be appreciated. I have tried this upgrade several different times  and Ireally need PHP 5 running in order to work on some projects and mt support people have for once been unable to assist me with this issue.  I always either have to roll the serveer back or delete my vhosts.conf file.  Grr . . .

This entry was posted in Uncategorized. Bookmark the permalink.

6 Responses to Why does PHP 5 on mediatemple’s deadicated virtual (dv) server hate me?

  1. rygood says:

    If you are having the same issue as i was, the kb only activates php 5 for files ending in a .php5

    if you want it to work for all .php files for that domain, the portion of the code should read:

    AddHandler fcgid-script .php
    SuexecUserGroup psacln
    /httpdocs> FCGIWrapper /var/www/vhosts//bin/php5 .php
    Options ExecCGI
    allow from all

    instead of:

    AddHandler fcgid-script .php5
    SuexecUserGroup psacln
    /httpdocs> FCGIWrapper /var/www/vhosts//bin/php5 .php5
    Options ExecCGI
    allow from all

  2. gatewayy says:

    Their support people gave me one that included both .php5 and .php extensions but did not resolve anything. They provided the following:

    AddHandler fcgid-script .php .php5
    SuexecUserGroup psacln
    /httpdocs>
    FCGIWrapper /var/www/vhosts//bin/php5 .php
    FCGIWrapper /var/www/vhosts/
    /bin/php5 .php5
    Options ExecCGI
    allow from all

    Is that similar to what you ended up using? I appreciate the help. :)

  3. Pingback: Twitter Updates for 2007-04-03 at Randomness Redefined

  4. :) remember, error_log is your bestest friend evAr, especially when it says stuff like:

    error_log: Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/gatewayy.net/httpdocs/

    Check out the new shiny vhost.conf.mt , copy it over to vhost.conf when you’re ready, do the magic “/usr/local/psa/admin/sbin/websrvmng -a -v” and welcome to the world of PHP 5 :)

  5. gatewayy says:

    Thank you sleepy(mt)admin, that worked perfectly! Where is the error_log located? I should remember where that is but its been quite awhile since, I’ve used it though.

  6. Pingback: Randomness Redefined, brought to you by PHP 5.1.4 at Randomness Redefined

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Additional comments powered by BackType