Re: Re: Compile php5 for apache2.4 error APXS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



my file to be here:
root@nginx:/usr/local/httpd-2.4.23.php5# pwd
/usr/local/httpd-2.4.23.php5
root@nginx:/usr/local/httpd-2.4.23.php5# find . -iname '*httpd.h*'
./include/httpd.h
root@nginx:/usr/local/httpd-2.4.23.php5#

2016-12-30 11:50 GMT-02:00 Richard <lists-apache@xxxxxxxxxxxxxxxxxxxxx>:


> Date: Friday, December 30, 2016 11:00:13 -0200
> From: Rodrigo Cunha <rodrigo.root.rj@xxxxxxxxx>
>
>> Dears, help me please.
>> I have httpd.2.4 compiled in my enviroment and i want compile too
>> php5.6 for test.
>> but my ./configure strout displeyed error to apxs version, in
>> stdout i see  error before my
>> php search for apache1 apx and my apx is apache2
>> below my commands in terminal and stdout:
>>
>> ./configure --with-apache=/usr/local/httpd-2.4.23.php5/
>> --with-apxs2=/usr/local/httpd-2.4.23.php5/bin/apxs --with-mysql
>>
>> Configuring SAPI modules
>> checking for AOLserver support... no
>> checking for Apache 1.x module support via DSO through APXS... no
>> checking for Apache 1.x module support... no
>> configure: error: Invalid Apache directory - unable to find
>> httpd.h under /usr/local/httpd-2.4.23.php5/
>>
>> root@nginx:/usr/local/src/php-5.6.29# apachectl -v
>> Server version: Apache/2.4.23 (Unix)
>> Server built:   Dec 22 2016 13:02:12
>> root@nginx:/usr/local/src/php-5.6.29#
>>
>> PS: I compiled the php7 for this apache and i not have error in
>> this step. --
>> Atenciosamente,
>> Rodrigo da Silva Cunha
>> São Gonçalo, RJ - Brasil
>>

Given that it couldn't find "httpd.h" in the location you gave:

   configure: error: Invalid Apache directory - unable to
   find httpd.h under /usr/local/httpd-2.4.23.php5/

I'd start by looking for that file on your system and go from there.





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux