- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: apache and php 5 question
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
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
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
тАО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
- 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
- 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
- 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
- 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
- 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
- Report Inappropriate Content
тАО03-26-2005 03:36 AM
тАО03-26-2005 03:36 AM