Apache2 - localhost problemak!
Sziasztok. időhiány miatt angolul teszem be a kérdésemet, remélem nem okoz senkinek se problémát (ha igen elnézést érte). Kerestem itt a forumban hasonlo temaju oldalt de eddig nem találtam. elore is koszi a segitseget.
ja a WAMP az olyan mint a LAMP,appserv,easyphp,... Wink apache2+php5+mysql egy csomagban összekonfigolva (probaltam appservet is az se ment))
Hi there!
I've got some strange errors with apache2: I've installed WAMP on my system and MySQL just works fine, but apache cant answer to any queries. Apache service is up and running, no problems with it, httpd.conf is set properly, but when i am trying to reach localhost it does nothing, just waiting for answer...(I removed WAMP, cleaned all the apache, wamp and other services, registry entries, then reinstall-> the same sh*t) I've installed WAMP to an other comupter and it works fine on that. I ve all my firewalls turned off, have no internet connection on that computer so no skype, nor trilian an so on...(that would block port 80) after a few hours i just looked for my EasyPHP 1.7 wich contains Apache 1 and it worked at once. But i need php5 and apache2. do you have any idea what the cause can be? If you need any further informations about my config or somethin else i can give them...
thanks in advance
RatSon
■ ja a WAMP az olyan mint a LAMP,appserv,easyphp,... Wink apache2+php5+mysql egy csomagban összekonfigolva (probaltam appservet is az se ment))
Hi there!
I've got some strange errors with apache2: I've installed WAMP on my system and MySQL just works fine, but apache cant answer to any queries. Apache service is up and running, no problems with it, httpd.conf is set properly, but when i am trying to reach localhost it does nothing, just waiting for answer...(I removed WAMP, cleaned all the apache, wamp and other services, registry entries, then reinstall-> the same sh*t) I've installed WAMP to an other comupter and it works fine on that. I ve all my firewalls turned off, have no internet connection on that computer so no skype, nor trilian an so on...(that would block port 80) after a few hours i just looked for my EasyPHP 1.7 wich contains Apache 1 and it worked at once. But i need php5 and apache2. do you have any idea what the cause can be? If you need any further informations about my config or somethin else i can give them...
thanks in advance
RatSon
<Nincs cím>
Online 2.0
<Nincs cím>
megoldás
If you encounter problems running Apache 2 under Windows, such as corrupted or incomplete file downloads, unexplained error messages, or a conflict with a software firewall, please place the following directives in httpd.conf to see if they eliminate the issue:
EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx
The general problem is that many people install various add-ons to windows (such as software firewalls, virus checkers, etc) that break some of the advanced functionality that Apache uses to speed the sending of files. The above directives turn off the advanced functionality and make Apache fall back to more basic (but slower) techniques.
esetleg mas port
apache-mysql-php
Már számtalan módon próbáltam felrakni az Apach-MySQL-PHP triot, szinte az összes verzióval mindegyiket, 20 segédletet, hogy hogy kell bekonfigolni. Régen már sikerült is, nem volt vele problémám. Kipróbáltam kész installereket, amik felrakják mind3-at és bekonfigolják. Egyik sem vezetett eredményhez. A php és apache működik rendesen. De amikor egy mysql parancsokat tartalmazó php-t megpróbálok behívni, ezt kapom:
mysql_num_rows(): supplied argument is not a valid MySQL result resource in P:\Webserver\cms\index.php
Ezek a php-k már futottak rendesen egyszer a szerveremen. Most miért nem? Még a phpMyAdmin is működik, tehát a mysql is jó elvileg. Csak ez nem. Kérem, aki tud segítesen! thx