![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Aug 2006
Posts: 3
Rep Power: 0
![]() |
can't open php pages
After were installed apache server and php I can not browse web pages with extension php ... why so?
|
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#3 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
|
|
#4 |
|
Unverified User
Join Date: Aug 2006
Posts: 88
Rep Power: 0
![]() |
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.
|
|
|
|
|
|
#5 |
|
Programmer
Join Date: Nov 2005
Location: Turkey
Posts: 93
Rep Power: 3
![]() |
as I know .. you can change "php.ini" and "httpd" files to make it....
|
|
|
|
|
|
#6 | |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 8
![]() |
Quote:
|
|
|
|
|
|
|
#7 |
|
Unverified User
Join Date: Aug 2006
Posts: 88
Rep Power: 0
![]() |
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |