is it possible compile php with apache2 rpm,
there is no apxs under apache rpms.. thanx for helps..

    I believe it's apxs2 that you need.

    Try compiling it with --with-apxs= and it will tell you which switch to use. I did it just last week, so I know it will work.

    ./configure -h should also tell you what to use.

      but apxs or apxs2 not included in apache2 rpms, and cannot locate it, without apxs(2) can i compile php with apache2 ?

        Hi,
        i've the same problem and the only way i've found is to get the source code of the same version of rpm, then to compile/configure PHP with this source and at last to remove new apache2 dir.

        After this all work fine.

          if i compile apache2 too, is it possible to use KDE's User Interfaces such as server settings>http server, server settings>services etc.. thanx

            I'm on redhat. But when i've compiled
            the dummy apache2 it is wrote in another directory
            than rpm, so after all i'm deleting it and continuing
            to use http server command and other stuff.

            With KDE i don't know.

              22 days later

              redhat9 comes with httpd-2.0.40-21 rpm and i install
              httpd-devel-2.0.40-21 RPM so it was ok. but in php config step:

              ./configure --prefix=/usr/home --with-apxs2=/usr/sbin/apxs

              then it gives the error:

              checking for apache 2.0 handler-module support via DSO through APXS... configure: error: Please note that Apache version >= 2.0.44 is required

              any helps will be appreciated..

                Write a Reply...