Skip to content

What is the correct path for libphp.so? #375

@kimh

Description

@kimh

Hi, I built PHP 7.0.4 by using php-build and I want to get libphp7.so file to be created so I've added with_apxs2 to the definition file.

One thing I'm wondering is that lihbphp7.so is created under ${PREFIX}/usr/lib/apache2/modules/libphp7.so but I see some people say it has to be created under ${PREFIX}/libexec/apache2/libphp7.so or even ${PREFIX}/libexec/libphp7.so.

I read the code and the file is created whatever apxs2 -q LIBEXECDIR returns here, so I think the behavior is correct. However, creating the php module under the subdirectory usr/lib/apache2/modules still looks strange to me. Is this something people agree with?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions