Results 1 to 9 of 9
  1. #1

    Raq4: No PHP for a site in the interface

    I've just set no php for a site in the interface. So it cannot use PHP scripts.

    I've just uploaded a script and it works fine. Strange huh?

    I looked at the httpd.conf and in the virtualhost for this site wasn't any:

    AddType application/x-httpd-php .php3
    AddType application/x-httpd-php .php4
    AddType application/x-httpd-php .php

    This happens to all the sites in which I disabled PHP. What am i doing wrong?

  2. #2
    Join Date
    Apr 2001
    FL, USA
    Have you customized your apache conf in any way? Looks like php may be configured at the server level.

    We save you time, money, and frustration by handling the server management tasks required to run an online business successfully.
    No prodding required. We just do it right the first time. Red Hat, MySQL, Plesk, and cPanel certified staff.

  3. #3
    I did some modifications to my httpd.conf, but nothing with php. How can php be configured at serverlevel? How can i check this is the thing?

  4. #4
    Could this be the thing?

    The servername in the httpd.conf is:

    Then i configured a virtual host like this:
    PHP Code:
    ServerAdmin admin
    RewriteEngine on
    %{HTTP_HOST}                !^$
    RewriteCond %{HTTP_HOST}                !^$
    RewriteRule ^/(.*)                      [url][/url]$1 [L,R]
    RewriteOptions inherit
    ^/~([^/]+)(/(.*))? /home/sites/home/users/$1/web/$3
    AddType application
    /x-httpd-php .php3
    AddType application
    /x-httpd-php .php4
    AddType application
    /x-httpd-php .php
    Could this be overruling the other PHP settings?

  5. #5
    Nobody a clue about how I can check where things go wrong? Any help would be appreciated. Thanks.

  6. #6
    Join Date
    Jan 2004
    You are setting all this through your TelNet interface?
    Most of the time when we do it over the Cobalt Main GUI the php files will just load up on the web brwser as a bunch of text showing what you used in the code.
    -=- GQ Hong -=-
    GalacNet WebMaster

  7. #7
    Ive had a similar issue

  8. #8
    Pleaseeatgoats, I agree. This issue is similar to what I have encountered as well.

  9. #9
    so everybody has this on a raq4? What could be the cause?

Posting Permissions

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