LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-09-2014, 05:00 AM   #1
astros
LQ Newbie
 
Registered: Oct 2012
Posts: 7

Rep: Reputation: Disabled
Aix 7 - php compilation failed


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?
 
Old 09-09-2014, 09:33 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,143

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Check with lslpp for an installed older version of httpd.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Aix TL upgrade - 5.3.8 to 5.3.12 Failed with Error code 4 sa7306 AIX 3 11-15-2011 06:13 AM
Apache Server Compilation failing on AIX 5.3 aixuser AIX 2 03-10-2009 11:07 AM
Apache Server Compilation failing on AIX 5.3 aixuser Linux - Server 2 03-10-2009 01:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration