Hello,
i would like to ask you for advice.
I am trying to compile php on Aix 7.
At this time i compiled HTTP without problems and now i am trying to compile php but i am getting errors.
configure command
Code:
'./configure' '--cache-file=../config.cache' '--prefix=/softwares/php5_test/' '--enable-zip' '--enable-shared' '--disable-static' '--with-gd' '--with-openssl=/opt/freeware' '--with-zlib' '--with-bz2=/opt/freeware' '--with-curl=/opt/freeware' '--with-t1lib=/opt/freeware' '--with-freetype-dir=/opt/freeware' '--with-jpeg-dir=/opt/freeware' '--with-png-dir=/opt/freeware' '--with-xpm-dir=/opt/freeware' '--with-zlib-dir=/opt/freeware' '--enable-soap' '--enable-bcmath' '--enable-ftp' '--with-iconv=/opt/freeware' '--enable-dom' '--enable-json' '--with-pcre-regex=/opt/freeware' '--enable-mbstring' '--with-libmbfl' '--enable-mbregex' '--with-ldap=/opt/freeware' '--enable-calendar' '--enable-exif' '--enable-pcntl' '--with-mcrypt=/opt/freeware' '--enable-gd-native-ttf' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/opt/freeware' '--with-mysqli=/opt/freeware'
httpd version
Code:
Server version: Apache/2.2.27 (Unix)
Server built: Jun 25 2014 10:44:04
And during configure command i am getting
Code:
configure: error: You have enabled Apache 2 support while your server is Apache 1.3. Please use the appropiate switch --with-apxs (without the 2)
i don't understand why it's saying the message when compiled version is 2.2.
Can somebody help?