- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Installing PHP-4.2.2 + Apache/2.0.35 in HP-UX ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2002 10:44 AM
тАО07-29-2002 10:44 AM
Any advices ?
Regards,
Mauro
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2002 10:58 AM
тАО07-29-2002 10:58 AM
Re: Installing PHP-4.2.2 + Apache/2.0.35 in HP-UX 10.20
There is a feature in your profile that allows you to find previous Questions you have posted, which makes it easier to take care of this:
This member has assigned points to 5 of 79 responses to his/her questions.
http://forums.itrc.hp.com/cm/TopSolutions/1,,CA745685!1!questions,00.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2002 11:05 AM
тАО07-29-2002 11:05 AM
Re: Installing PHP-4.2.2 + Apache/2.0.35 in HP-UX 10.20
Thanks once more,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2002 11:48 PM
тАО07-30-2002 11:48 PM
SolutionFollow this URL to php++++ install on HP UX (from sources..)
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x531c36e69499d611abdb0090277a778c,00.html
hope that help
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2002 03:16 AM
тАО07-31-2002 03:16 AM
Re: Installing PHP-4.2.2 + Apache/2.0.35 in HP-UX 10.20
I installed Apache using a depot file, so I can??t re-configure it or I don??t know how to do it. I thing this installed apache does not has support for PHP. Do I have to install Apache againg with no depot file ?
Apache is working fine, the problem is I am not getting success trying to configure the PHP. :-(
Regards,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2002 05:28 AM
тАО07-31-2002 05:28 AM
Re: Installing PHP-4.2.2 + Apache/2.0.35 in HP-UX 10.20
But I think it's easier to compile Apache and PHP together (statical) because you don't have to make changes in some sources (see the above url i posted, with the complete description of how to compile...)
regards
Benoit
PS to check if mod so is enabled, run by hand httpd -l
you should have :
Compiled-in modules:
http_core.c
mod_so.c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2002 05:58 AM
тАО07-31-2002 05:58 AM
Re: Installing PHP-4.2.2 + Apache/2.0.35 in HP-UX 10.20
I have these :
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
What I have to change in httpd.conf to load php shared libraries ?
I tryed to run apxs but I have these error messages :
# ./apxs
script interpreter "/opt/archive/bin/perl" not found
./apxs: Command not found.
Any ideas ?
Regards,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2002 07:05 AM
тАО07-31-2002 07:05 AM
Re: Installing PHP-4.2.2 + Apache/2.0.35 in HP-UX 10.20
You don't have to run apxs by hand !
You have to compile PHP (I don't think there's a depot for it).
Then dowload tar gzip sources from www.php.net.
gunzip the file,
untar the file;
You will have a php source directory
cd to it,
At this level, you have to run the configure script !
./configure --help will give you all the options.
For apache2 you have to do this :
./configure --with-apxs2=/opt/httpd2/bin/apxs
or where ever is stored your apxs software from apache2.
Warning : apxs is an perl script, then you have to install perl 5.6.1 from any depot (http://hpux.cs.utah.edu/hppd/hpux/Languages/perl-5.6.1/ for axample) and create a link to the perl binary in /usr/contrib/bin/perl
(that's why you have an error).
After the configure if you have no errors, type :
make
Go take a coffee
If you have no errors, then :
make install (as root)
I suggest you to install gcc and binutils for the compilation (search it in http://hpux.cs.utah.edu).
For some case of error, see the URL on the previous post where I explain changes to do for HP-UX 11.00, I don't know if it applies for 10.20 and I don't know if you have an SMP system.
In the next release of PHP changes should be included (I posted the bug to the php team).
I place a notify on this post, then tell me if you have still troubles...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2002 07:12 AM
тАО07-31-2002 07:12 AM
Re: Installing PHP-4.2.2 + Apache/2.0.35 in HP-UX 10.20
forgot to write that in httpd.conf you have these lines :
LoadModule php4_module modules/libphp4.so
But the make install should add automatically these lines...
and also for some version of Apache :
AddType application/x-httpd-php .php
SetOutputFilter PHP
SetInputFilter PHP
with 2.0.34 may be i'm not sure for 2.0.35 search on php mailing list you should finf some post about it,
And I have 2.0.39 which need just the LoadModule line
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2002 08:40 AM
тАО07-31-2002 08:40 AM
Re: Installing PHP-4.2.2 + Apache/2.0.35 in HP-UX 10.20
You told about gcc but in php sources we have a file called config_vars.mk and there you see that the C compiler is cc and not gcc. Is this right or I have to change the PHP sources to use gcc instead of cc ?
Regards,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2002 09:12 AM
тАО07-31-2002 09:12 AM
Re: Installing PHP-4.2.2 + Apache/2.0.35 in HP-UX 10.20
the ./configure script check all this and change the make file with all the proper values.
can you post the output of the configure ?