Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 10th, 2006, 2:13 AM   #1
BlackSmith
Newbie
 
Join Date: Aug 2006
Posts: 3
Rep Power: 0 BlackSmith is on a distinguished road
can't open php pages

After were installed apache server and php I can not browse web pages with extension php ... why so?
BlackSmith is offline   Reply With Quote
Old Aug 10th, 2006, 5:47 AM   #2
Ade
Hobbyist Programmer
 
Ade's Avatar
 
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0 Ade is an unknown quantity at this point
When you say can't, what exactly do you mean?

Do you get an error or does the page load without the PHP?
__________________
Don't wound what you can't kill
Ade is offline   Reply With Quote
Old Aug 10th, 2006, 6:55 AM   #3
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Please review a "How to Ask a Question" thread. Detailed and accurate information is key in solving problems.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Aug 10th, 2006, 7:05 AM   #4
Random Spirit
Unverified User
 
Join Date: Aug 2006
Posts: 88
Rep Power: 0 Random Spirit is on a distinguished road
Did you follow the instructions in the php documentation to get php working with apache? Also php 5.x does not work too well with apache 2.2.x. If you have apache 2.2.x downgrade to 2.0.x. php 5 should work ok with that as long as you follow the instructions in the php docs. Make sure you set up the php.ini and apache config file properly or it wont work. Its all in the documentation and there are plenty of web sites that have guides on how to get apache and php working.
Random Spirit is offline   Reply With Quote
Old Aug 22nd, 2006, 4:51 AM   #5
boraciner
Programmer
 
boraciner's Avatar
 
Join Date: Nov 2005
Location: Turkey
Posts: 93
Rep Power: 3 boraciner is on a distinguished road
as I know .. you can change "php.ini" and "httpd" files to make it....
boraciner is offline   Reply With Quote
Old Aug 22nd, 2006, 8:29 AM   #6
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Quote:
Originally Posted by Random Spirit
Did you follow the instructions in the php documentation to get php working with apache? Also php 5.x does not work too well with apache 2.2.x. If you have apache 2.2.x downgrade to 2.0.x.
Erm... you sure? Works fine for me.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Aug 22nd, 2006, 8:45 AM   #7
Random Spirit
Unverified User
 
Join Date: Aug 2006
Posts: 88
Rep Power: 0 Random Spirit is on a distinguished road
Yes its true.

PHP 5.1.5 does not have php5apache2_2.dll which is the library that is compatible with apache 2.2. In PHP 5.2 it will be inculded and so should work properly. You can however download that version from the php snapshots. The compatible lib wont be included in the stable version untill php 5.2. So you can run php 5.x with apache 2.2 but it is not guaranteed to be stable as you have to use a development version to make it work.

So in a production environment you would not want to run php 5.2 untill it is officially released(its still in development) so you will be limited to php 5.1.5 and so apache 2.0.x.

Edit:-

A php bug report with the same problem

http://bugs.php.net/bug.php?id=37436&edit=1
Random Spirit is offline   Reply With Quote
Old Aug 22nd, 2006, 4:07 PM   #8
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
That is indeed odd... perhaps the packager for Arch Linux included the file separately. Thanks for the advice.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OnlineTextEditor.Com! Sane Show Off Your Open Source Projects 43 Jun 16th, 2006 8:55 AM
Command Prompt SkyPioneer Coder's Corner Lounge 5 May 3rd, 2006 10:07 PM
Open File List with File Sizes Immoranimf Project Ideas 3 Apr 3rd, 2006 5:03 PM
Search for and close open windows badbasser98 C++ 13 Feb 27th, 2006 12:04 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:56 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC