logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: PHP Warnings at startup
Author
Debugirl



Joined: 28 May 2012
Posts: 5
Location: China

PostPosted: Mon 28 May '12 16:30    Post subject: PHP Warnings at startup Reply with quote

“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: 3058
Location: Hilversum, NL, EU

PostPosted: Mon 28 May '12 19:38    Post subject: Reply with quote

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

PostPosted: Tue 29 May '12 21:07    Post subject: Reply with quote

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: 7298
Location: Germany, Next to Hamburg

PostPosted: Wed 30 May '12 22:33    Post subject: Reply with quote

in your php.ini set
Code:

display_startup_errors = On
Back to top
Debugirl



Joined: 28 May 2012
Posts: 5
Location: China

PostPosted: Thu 31 May '12 0:01    Post subject: Reply with quote

It has already been set On
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Thu 31 May '12 11:31    Post subject: Reply with quote

How did you set up extension_dir in php.ini ?
Back to top
Debugirl



Joined: 28 May 2012
Posts: 5
Location: China

PostPosted: Sat 02 Jun '12 18:46    Post subject: Reply with quote

extension_dir = "C:\WAMP\PHP\ext"
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Mon 04 Jun '12 11:32    Post subject: Reply with quote

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

PostPosted: Mon 04 Jun '12 14:40    Post subject: Reply with quote

Solved!
Thank you!
I enabled some extra extensions. Embarassed
Back to top


Reply to topic   Topic: PHP Warnings at startup View previous topic :: View next topic
Post new topic   Forum Index -> Other Software