Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default PHP and mod_perl

    Anyone have any idea why I can't run PHP and mod_perl in the same web
    structure?

    I am getting this in my error log...

    [Thu Jul 17 14:02:07 2003] [error] 2508: ModPerl::Registry:
    Unterminated <> operator at G:/home/walter/htdocs/test.php line 1.


    This is my php file...

    <?php
    echo "My simple little PHP test page!", "<p>";
    ?>

    Any ideas?

    And yes, it worked before I installed mod_perl

    thanks

    walter

    --
    In heaven an angel is nobody in particular.
    - George Bernard Shaw



    Jswalter Guest

  2. Similar Questions and Discussions

    1. mod_perl and GD
      Using: Apache/2.0.48 (Unix) mod_perl/1.99_13-dev Perl/v5.8.3 gd version 2.0.22 GD.pm version 2.12 on Redhat 9: 2.4.20-28.9smp
    2. mod_perl 1.99 Apache 2.0.48
      Hello, I built a sever with apache and perl (cgi), and i used the mod_perl to boost my server, it actually works 4x time faster with mod_perl. ...
    3. Mod_perl & do()
      Hi! I tryed to use do() function in mod_perl 1.27 but as I found out that does not work. For example test.pl: #!/usr/bin/perl my $test = 0;...
    4. mod_perl: my $var=1 if ...
      I'm having trouble understanding something in mod_perl. The sub handler is: sub handler { ...stuff deleted... my $var=1 if...
    5. [PHP] PHP and mod_perl
      Walter Torres wrote: Looks like Apache 2? Not too familiar with that (still using 1.3.x myself), but it seems to me that SetHandler may be...
  3. #2

    Default Re: [PHP] PHP and mod_perl

    jsWalter wrote:
    > Anyone have any idea why I can't run PHP and mod_perl in the same web
    > structure?
    >
    > I am getting this in my error log...
    >
    > [Thu Jul 17 14:02:07 2003] [error] 2508: ModPerl::Registry:
    > Unterminated <> operator at G:/home/walter/htdocs/test.php line 1.
    >
    >
    > This is my php file...
    >
    > <?php
    > echo "My simple little PHP test page!", "<p>";
    > ?>
    >
    > Any ideas?
    >
    > And yes, it worked before I installed mod_perl
    >
    > thanks
    >
    > walter
    Look in your Apache configuration. Are you telling it to process *.php
    files as PHP? I seriously doubt this is a mod_perl issue....I've been
    using them together for quite some time.

    [url]http://www.by-tor.com/phpinfo.php[/url]


    John Nichel Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139