Sponsored Content
Full Discussion: PHP,Apache on AIX machine
Operating Systems AIX PHP,Apache on AIX machine Post 302116533 by kumarangopi on Saturday 5th of May 2007 02:03:39 AM
Old 05-05-2007
PHP,Apache on AIX machine

I have done charts in PHP with following environment;
1) PHP 5.2.x
2) Webserver Apache 2.2.4 or higher
3) Perl 5.8.7
4) GD 2.0.1
5) JPgraph 2.1.1

It works fine in Windowx XP, Red hat linux 3.x.Now I need to move this PHP programs to AIX machine which has following environment:

PHP 4.0.6
Perl 5.8.2
GD 1.8.4
IBM HTTPServer 6.1 (based on apache but I don't know which version)
JPgraph can't find any aix version

What should I do now? Help me soon.Thanks in advance
 

10 More Discussions You Might Find Interesting

1. AIX

Apache 2.0 For Aix 5.2

Anyone know where to find the binaries for Apache 2.0.x running on AIX 5.2.0.0 ? (2 Replies)
Discussion started by: njp353
2 Replies

2. AIX

The infamous compilation of Apache + Resin on AIX

Hello All, I'm trying to compile Apache + Resin on AIX. This seems to be a major issue with the AIX system as I've come across so far. I was able to successfully compile the apache portion with the recommended compiler 3.3.2 after googling a bit. Once agian, I'm stuck with the resin portion.... (0 Replies)
Discussion started by: mvargas2012R
0 Replies

3. AIX

apache for AIx

hello can you give me a link to download compiled apache 2.0.45 for Aix ? thank you for your help (5 Replies)
Discussion started by: pascalbout
5 Replies

4. AIX

how to up the aix machine when the desktop was hang

Hi all, My AIX machine desktop was hanged. What to do. please help me. It's very urgent. Thank's & regards, Balaraju. (7 Replies)
Discussion started by: balarajum
7 Replies

5. UNIX for Advanced & Expert Users

Where to set the right "Apache" to run after reboot on a RedHat 5 machine ?!

Hi, I'am working on a RedHat server (V5) and having on it 2 Apache instances, but after each reboot i have the wrong one starting so that i have to stop it doing "httpd -k stop" and than launch the right one doing "/etc/init.d/httpd -k start". For more Details, you may see the link i inserted... (4 Replies)
Discussion started by: mehdi1973
4 Replies

6. AIX

Problem:Configuring Apache 2.2.11 in AIX 5.3

Hi All I am new to Apache and AIX and trying to configure Subversion tool in IBM machine with AIX 5.3.Apache is required for client to connect to Subversion Server with http protocol. 1.Installed Apache 2.2.11 and its dependencies via RPM 2.Configured httpd.conf file. 3.Started "httpd"... (1 Reply)
Discussion started by: rajivdp
1 Replies

7. AIX

AIX machine start-up problem

We have a AIX machine which was having problems while checking for additional ports. When restarted, it is showing the message "STDIN, STDOUT initializing.... Starting AIX...." on the console and then abruptly goes down. An error-code 0549 is appearing on the CPU display. I'm new to to AIX... (2 Replies)
Discussion started by: revanth84
2 Replies

8. AIX

apache/tomcat compatibility with AIX versions

Hello, Where can i find the information about the compatibility versions of tomcat with AIX? for example, AIX 5.2 supported tomcat versions?? (1 Reply)
Discussion started by: balareddy
1 Replies

9. AIX

AIX on Virual Machine

Hello, could I install AIX on virtual machine on my desktop with Windows OS? If so how to do it? Thanks and regards, p (2 Replies)
Discussion started by: pitmod
2 Replies

10. AIX

TL upgradation for AIX machine. Need help

Hi Experts, I have an AIX machine oslevel -s 5300-00-00 Now I need to upgrade its TL to a level 5300-06-03-0732 Kindly let me know if we can do this directly. I guss we have to upgrade TL from 1 , 2 ,3 ,4, 5 and 6, then I have to upgrade to 06-03-0732 . Am i right here ? (6 Replies)
Discussion started by: jayadeava
6 Replies
MOD_APPARMOR(8) 						     AppArmor							   MOD_APPARMOR(8)

NAME
mod_apparmor - fine-grained AppArmor confinement for Apache DESCRIPTION
An AppArmor profile applies to an executable program; if a portion of the program needs different access permissions than other portions, the program can "change hats" via aa_change_hat(2) to a different role, also known as a subprofile. The mod_apparmor Apache module uses the aa_change_hat(2) mechanism to offer more fine-grained confinement of dynamic elements within Apache such as individual php and perl scripts, while still allowing the performance benefits of using mod_php and mod_perl. To use mod_apparmor with Apache, ensure that mod_apparmor is configured to be loaded into Apache, either via a2enmod, yast or manual editing of the apache2(8)/httpd(8) configuration files, and restart Apache. Make sure that apparmor is also functioning. Once mod_apparmor is loaded within Apache, all requests to Apache will cause mod_apparmor to attempt to change into a hat named by the URI (e.g. /app/some.cgi). If no such hat is found, it will fall back to attempting to use the hat DEFAULT_URI; if that also does not exist, it will fall back to using the global Apache profile. Most static web pages can simply make use of the DEFAULT_URI hat. Additionally, before any requests come in to Apache, mod_apparmor will attempt to change hat into the HANDLING_UNTRUSTED_INPUT hat. mod_apparmor will attempt to use this hat while Apache is doing the initial parsing of a given http request, before its given to a specific handler (like mod_php) for processing. Because defining hats for every URI/URL often becomes tedious, mod_apparmor provides the AAHatName and AADefaultHatName Apache configuration options. AAHatName AAHatName allows you to specify a hat to be used for a given Apache <Directory>, <DirectoryMatch>, <Location> or <LocationMatch> directive (see the Apache documenation for more details). Note that mod_apparmor behavior can become confused if <Directory*> and <Location*> directives are intermingled and it is recommended to use one type of directive. If the hat specified by AAHatName does not exist in the Apache profile, then it falls back to the behavior described above. AADefaultHatName AADefaultHatName allows you to specify a default hat to be used for virtual hosts and other Apache server directives, so that you can have different defaults for different virtual hosts. This can be overridden by the AAHatName directive and is checked for only if there isn't a matching AAHatName or hat named by the URI. If the AADefaultHatName hat does not exist, it falls back to the DEFAULT_URI hat if it exists (as described above). URI REQUEST SUMMARY
When profiling with mod_apparmor, it is helpful to keep the following order of operations in mind: On each URI request, mod_apparmor will first aa_change_hat(2) into ^HANDLING_UNTRUSTED_INPUT, if it exists. Then, after performing the initial parsing of the request, mod_apparmor will: 1. try to aa_change_hat(2) into a matching AAHatName hat if it exists and applies, otherwise it will 2. try to aa_change_hat(2) into the URI itself, otherwise it will 3. try to aa_change_hat(2) into an AADefaultHatName hat if it has been defined for the server/vhost, otherwise it will 4. try to aa_change_hat(2) into the DEFAULT_URI hat, if it exists, otherwise it will 5. fall back to the global Apache policy BUGS
mod_apparmor() currently only supports apache2, and has only been tested with the prefork MPM configuration -- threaded configurations of Apache may not work correctly. There are likely other bugs lurking about; if you find any, please report them at <http://https://bugs.launchpad.net/apparmor/+filebug>. SEE ALSO
apparmor(7), subdomain.conf(5), apparmor_parser(8), aa_change_hat(2) and <http://wiki.apparmor.net>. AppArmor 2.7.103 2012-06-28 MOD_APPARMOR(8)
All times are GMT -4. The time now is 07:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy