![]() |
can't open php pages
After were installed apache server and php I can not browse web pages with extension php ... why so?
|
When you say can't, what exactly do you mean?
Do you get an error or does the page load without the PHP? |
Please review a "How to Ask a Question" thread. Detailed and accurate information is key in solving problems.
|
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.
|
as I know .. you can change "php.ini" and "httpd" files to make it....
|
Quote:
|
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 |
That is indeed odd... perhaps the packager for Arch Linux included the file separately. Thanks for the advice.
|
| All times are GMT -5. The time now is 10:22 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC