Author |
|
Debugirl
Joined: 28 May 2012 Posts: 5 Location: China
|
Posted: Mon 28 May '12 16:30 Post subject: PHP Warnings at startup |
|
|
“apache2.4 + php5.4.3 + mysql5.5.24”
When I start apache,automaticaly popup many warning dialog box with the msg"php startup" but both phpinfo.php and mysqlconnect.php can work. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Mon 28 May '12 19:38 Post subject: |
|
|
Maybe some extensions is given troubles.
What is the exact message in the popup ?
Anything in the php error log ?
Steffen |
|
Back to top |
|
Debugirl
Joined: 28 May 2012 Posts: 5 Location: China
|
Posted: Tue 29 May '12 21:07 Post subject: |
|
|
only "php startup",popup about 15 times,no other information;
php-error.log:[29-May-2012 19:03:55 UTC] PHP Warning: PHP Startup: in Unknown on line 0 |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 30 May '12 22:33 Post subject: |
|
|
in your php.ini set
Code: |
display_startup_errors = On
|
|
|
Back to top |
|
Debugirl
Joined: 28 May 2012 Posts: 5 Location: China
|
Posted: Thu 31 May '12 0:01 Post subject: |
|
|
It has already been set On |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 31 May '12 11:31 Post subject: |
|
|
How did you set up extension_dir in php.ini ? |
|
Back to top |
|
Debugirl
Joined: 28 May 2012 Posts: 5 Location: China
|
Posted: Sat 02 Jun '12 18:46 Post subject: |
|
|
extension_dir = "C:\WAMP\PHP\ext" |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 04 Jun '12 11:32 Post subject: |
|
|
That is a full correct path. Any symptom in the windows event log?
Maybe a go able way is to disable all not needed extensions in your php.ini
OR
disable all and enable one by one until it crashes.
Is there a specific script that crashes? |
|
Back to top |
|
Debugirl
Joined: 28 May 2012 Posts: 5 Location: China
|
Posted: Mon 04 Jun '12 14:40 Post subject: |
|
|
Solved!
Thank you!
I enabled some extra extensions. |
|
Back to top |
|