apache turn off when gii start!!!!

Hi,

when i work with gii ,ثspecially when i click on preview button in model generate,i see that apache be stop.

what its Reason ??

regards.

Does the apache log hint anything?

in error.log:

[Fri May 13 22:30:11 2011] [notice] Parent: child process exited with status 255 – Restarting.

Windows?

Copy libmysql.dll into \system32

or reinstall MySql

There’s is probably a lot more in the log than that 1 notice entry. Please provide a lot more information for us to help you out. Try and replicate it and as soon as it happens, grab the last 20-30 lines from the log file. I doubt very much PHP code is causing apache to restart, it is probably some other component…

ok in windows,

my win is 64 bit,

no problems??

[Sun May 15 21:56:12 2011] [notice] Digest: generating secret for digest authentication …

[Sun May 15 21:56:12 2011] [notice] Digest: done

[Sun May 15 21:56:17 2011] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured – resuming normal operations

[Sun May 15 21:56:17 2011] [notice] Server built: Dec 10 2008 00:10:06

[Sun May 15 21:56:17 2011] [notice] Parent: Created child process 2200

[Sun May 15 21:56:18 2011] [notice] Digest: generating secret for digest authentication …

[Sun May 15 21:56:18 2011] [notice] Digest: done

[Sun May 15 21:56:18 2011] [notice] Child 2200: Child process is running

[Sun May 15 21:56:18 2011] [notice] Child 2200: Acquired the start mutex.

[Sun May 15 21:56:18 2011] [notice] Child 2200: Starting 250 worker threads.

[Sun May 15 21:56:18 2011] [notice] Child 2200: Starting thread to listen on port 443.

[Sun May 15 21:56:18 2011] [notice] Child 2200: Starting thread to listen on port 80.

[Mon May 16 00:27:39 2011] [notice] Parent: child process exited with status 255 – Restarting.

Install the last versions of Apache & PHP. There are many similar problems you can found in Google. Looks like it’s not Yii related.

I use WampServer:

http://www.wampserver.com/en/

Or, rather: I used it.

IIRC, the only thing you need to do is add the path to php-cli to your PATH, so that you can run ‘yiic.bat’ succesfully.

I am a Debian Linux user now.

Apache on WIndows is not very impressive.

Could also be a 64-bit issue, it’s hard to tell.

If you are serious about web development, consider cracking open a Linux box. ;)

oKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKk

thanks,wamp solved my problem.

it work ok.

again thanks.

Cool!

Now go make some awesome Yii apps. :lol: