- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- apache and php 5 question
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
03-22-2005 02:07 AM
03-22-2005 02:07 AM
apache and php 5 question
I can not access php page, it displays a file download window to save the php file.
I have follow lines in httpd.conf file:
LoadModule php5_module modules/libphp5.so
AddType application/x-htpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php-source .phps
Thanks for any help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-22-2005 02:47 AM
03-22-2005 02:47 AM
Re: apache and php 5 question
How did you do the install?
Were there any errors?
I can't help without more information.
Red hat's httpd apache port still uses 4.x php because the kinks have not all been worked out of integrating the 5 version.
Sometimes you don't want to be bleeding edge.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-22-2005 03:11 AM
03-22-2005 03:11 AM
Re: apache and php 5 question
It seems PHP was not supported. How did you install it? Compile apache and php from source? I think Redhat never provide offical rpm for php 5. The following URL wish to help you to install it.
http://www.php.net/manual/en/install.unix.apache2.php
NiCK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-22-2005 04:15 AM
03-22-2005 04:15 AM
Re: apache and php 5 question
# tar zxvf httpd-2.0.53.tar
# cd httpd-2.0.53.tar
# ./configure --prefix=/usr/local/apache \
--enable-module=so
# make
# make install
# /usr/local/apache/bin/apachectl start
# tar zxvf php-5.0.3.tar.gz
# cd php-4.3.9
# ./configure --with-oci8=$ORACLE_HOME \
--with-apxs=/usr/local/apache/bin/apxs \
--enable-sigchild
# make
# make install
# cp php.ini-dist /usr/local/lib/php.ini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-22-2005 01:47 PM
03-22-2005 01:47 PM
Re: apache and php 5 question
You should compile php with --with-apxs2, because apache is 2.0 version.
Don't forget edit file httpd.conf,then restart apache service.
NiCK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-23-2005 04:41 AM
03-23-2005 04:41 AM
Re: apache and php 5 question
There is typo on
AddType application/x-httpd-php .php .phtml
Thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-26-2005 03:36 AM
03-26-2005 03:36 AM
Re: apache and php 5 question
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP