still having apxs problems

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jon rogers

    still having apxs problems

    Thanks for the advice I got, but I still cannot install PHP.
    [color=blue]
    >./configure --with-mysql --with-apxs2=/path/to/apxs2
    >
    >http://uk.php.net/manual/en/install.apache2.php[/color]

    So what is my /path/to/apxs2

    "Find file" on "apxs" does not reveal it. There is no
    /usr/local/apache2/bin/ on my system (RHLinux 9 box running Apache httpd
    2.0.40 and MySQL Ver 12.18 Distrib 4.0.12).

    I doubt I even have apxs. How should I proceed?

    Thanks again,

    JR
  • Jon Kraft

    #2
    Re: still having apxs problems

    jon rogers <jon.rogers@tv. tu> wrote:
    [color=blue]
    > Thanks for the advice I got, but I still cannot install PHP.
    >[color=green]
    >>./configure --with-mysql --with-apxs2=/path/to/apxs2
    >>
    >>http://uk.php.net/manual/en/install.apache2.php[/color]
    >
    > So what is my /path/to/apxs2
    >
    > "Find file" on "apxs" does not reveal it. There is no
    > /usr/local/apache2/bin/ on my system (RHLinux 9 box running Apache httpd
    > 2.0.40 and MySQL Ver 12.18 Distrib 4.0.12).
    >
    > I doubt I even have apxs. How should I proceed?[/color]

    I guess your Apache wasn't compiled with DSO support. You can find out by
    running:
    httpd -l
    If "mod_so" doesn't appear in the list, you won't have apxs.

    My advice would be: download and install the latest Apache2 from from
    source and get rid of the standard httpd. Make sure you configure Apache
    with --enable-so

    HTH;
    JOn

    Comment

    • jon rogers

      #3
      Re: still having apxs problems

      > I guess your Apache wasn't compiled with DSO support. You can find out by[color=blue]
      > running:
      > httpd -l
      > If "mod_so" doesn't appear in the list, you won't have apxs.[/color]


      # /usr/sbin/httpd -l
      Compiled in modules:
      core.c
      prefork.c
      http_core.c
      mod_so.c

      I do appear to have mod_so?

      Thanks, JR

      Comment

      • Jon Kraft

        #4
        Re: still having apxs problems

        jon rogers <jon.rogers@tv. tu> wrote:
        [color=blue][color=green]
        >> I guess your Apache wasn't compiled with DSO support. You can find
        >> out by running:
        >> httpd -l
        >> If "mod_so" doesn't appear in the list, you won't have apxs.[/color]
        >
        >
        > # /usr/sbin/httpd -l
        > Compiled in modules:
        > core.c
        > prefork.c
        > http_core.c
        > mod_so.c
        >
        > I do appear to have mod_so?[/color]


        Well, I don't know really - depends on how Apache was compiled I guess.
        My advice would still be compiling the latest source, at least you'd
        have full control over it.

        JOn

        Comment

        Working...