Autor Zpráva
maiki
Profil *
nainstaloval jsem si

php-5.2.8-Win32.zip
apache_2.0.63-win32-x86-no_ssl.msi
mysql-essential-5.1.31-win32.msi

po nastaveni spustim apache localhost jede nešla mi vytvořit databázet tak jsem ji musel ručně vytvořit přez cmd
http://www.slavkuv.net/pc/rady-internet/could-not-start-the-service-mysql/

a nyní spustím idnex kde mám connect na DB a spadne apache napíše takou tu blbost se zprávou "neodesílat microsoftu nic" :D
error log z apache jednou jsem ho restartl a pak spustil connect na mysql

[Sat Feb 14 14:54:20 2009] [warn] pid file C:/dev/Apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Feb 14 14:54:24 2009] [notice] Apache/2.0.63 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Sat Feb 14 14:54:24 2009] [notice] Server built: Jan 17 2008 22:58:29
[Sat Feb 14 14:54:24 2009] [notice] Parent: Created child process 2216
[Sat Feb 14 14:54:24 2009] [notice] Child 2216: Child process is running
[Sat Feb 14 14:54:24 2009] [notice] Child 2216: Acquired the start mutex.
[Sat Feb 14 14:54:24 2009] [notice] Child 2216: Starting 250 worker threads.
[Sat Feb 14 17:52:58 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sat Feb 14 17:52:58 2009] [notice] Child 2216: Exit event signaled. Child process is ending.
[Sat Feb 14 17:52:59 2009] [notice] Child 2216: Released the start mutex
[Sat Feb 14 17:53:00 2009] [notice] Child 2216: All worker threads have exited.
[Sat Feb 14 17:53:00 2009] [notice] Child 2216: Child process is exiting
[Sat Feb 14 17:53:00 2009] [notice] Parent: Child process exited successfully.
[Sat Feb 14 17:53:06 2009] [notice] Apache/2.0.63 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Sat Feb 14 17:53:06 2009] [notice] Server built: Jan 17 2008 22:58:29
[Sat Feb 14 17:53:06 2009] [notice] Parent: Created child process 4416
[Sat Feb 14 17:53:06 2009] [notice] Child 4416: Child process is running
[Sat Feb 14 17:53:06 2009] [notice] Child 4416: Acquired the start mutex.
[Sat Feb 14 17:53:06 2009] [notice] Child 4416: Starting 250 worker threads.
[Sat Feb 14 17:53:16 2009] [error] [client 127.0.0.1] File does not exist: C:/dev/Apache2/htdocs/favicon.ico, referer: http://localhost/
[Sat Feb 14 17:53:18 2009] [error] [client 127.0.0.1] File does not exist: C:/dev/Apache2/htdocs/favicon.ico, referer: http://localhost/
[Sat Feb 14 17:53:19 2009] [error] [client 127.0.0.1] File does not exist: C:/dev/Apache2/htdocs/favicon.ico, referer: http://localhost/
[Sat Feb 14 17:53:20 2009] [error] [client 127.0.0.1] File does not exist: C:/dev/Apache2/htdocs/favicon.ico, referer: http://localhost/
[Sat Feb 14 17:53:20 2009] [error] [client 127.0.0.1] File does not exist: C:/dev/Apache2/htdocs/favicon.ico, referer: http://localhost/
[Sat Feb 14 17:55:28 2009] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Sat Feb 14 17:55:30 2009] [notice] Apache/2.0.63 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Sat Feb 14 17:55:30 2009] [notice] Server built: Jan 17 2008 22:58:29
[Sat Feb 14 17:55:30 2009] [notice] Parent: Created child process 5720
[Sat Feb 14 17:55:30 2009] [notice] Child 5720: Child process is running
[Sat Feb 14 17:55:30 2009] [notice] Child 5720: Acquired the start mutex.
[Sat Feb 14 17:55:30 2009] [notice] Child 5720: Starting 250 worker threads.
[Sat Feb 14 17:55:40 2009] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Sat Feb 14 17:55:40 2009] [notice] Apache/2.0.63 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Sat Feb 14 17:55:40 2009] [notice] Server built: Jan 17 2008 22:58:29
[Sat Feb 14 17:55:40 2009] [notice] Parent: Created child process 984
[Sat Feb 14 17:55:40 2009] [notice] Child 984: Child process is running
[Sat Feb 14 17:55:40 2009] [notice] Child 984: Acquired the start mutex.
[Sat Feb 14 17:55:40 2009] [notice] Child 984: Starting 250 worker threads.
maiki
Profil *
costim ?:-/
AM_
Profil
costíš.
bohyn
Profil
maiki
Mozna jsi nezkopiroval libmysql.dll (nebo tak nejak?) do systemoveho adresare (respektive nekam kde k ni apache najde cestu). Je to popsano tusim v instalacnim manualu PHP
AM_
Profil
bohyn
V takovém případě se prostě mysql modul nepřipojí a pokud je zapnuté hlášení startup errorů, tak ti to ohlásí, že mysql.dll nelze načíst. Pak by to maximálně hodilo call to undefined function a nespadl by celý apache.
Pokud to padá při otevření index.php, kdoví, jestli je chyba zrovna v připojení k databázi...
maiki
Profil *
ono to spadne při tom connectu apache a php jede ... a libmysql.dll jsem nakopiroval
maiki
Profil *
a modul je připojenej phpinfo

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.1.31

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
maiki
Profil *
funguje ...asi se špatně překopiroval libmysql.dll po překopirovani to jede

Vaše odpověď

Mohlo by se hodit


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm: