can't start up php

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Rogerconant
Forum Newbie
Posts: 5
Joined: Mon Dec 01, 2008 11:44 am

can't start up php

Post by Rogerconant »

This is embarrassing. I installed the wamp server, and for weeks, until today, no problems, ran php on local files just fine. Today, php won't run! as proved with "phpinfo();" giving a blank screen. Sorry for this newby question, but what could be wrong? What to do? wamp server "start all services" shows everything running, but php doesn't run.
jrja
Forum Newbie
Posts: 17
Joined: Wed Nov 19, 2008 10:28 am

Re: can't start up php

Post by jrja »

Got to love Windows. You have probably tried it; still, re-boot.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: can't start up php

Post by alex.barylski »

Re-install?

It's going to be very difficult to diagnose that problem from here, without direct access to your computer. Do you have php CLI?

Open a command promot and try

Code: Select all

php -v
It might be php-cli.exe on Windows I can't say for sure.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: can't start up php

Post by Eran »

Check your apache log files
jrja
Forum Newbie
Posts: 17
Joined: Wed Nov 19, 2008 10:28 am

Re: can't start up php

Post by jrja »

pytrin wrote:Check your apache log files
There has always got to be someone who thinks logically --- log files, great concept. Good place to start. :)
Rogerconant
Forum Newbie
Posts: 5
Joined: Mon Dec 01, 2008 11:44 am

Re: can't start up php

Post by Rogerconant »

Apache log files: I shut down the wamp server, restarted it, and this is what the log files show. Nothing seems unusual although I am new to all this.
---------
[Mon Dec 01 16:56:00 2008] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Mon Dec 01 16:56:00 2008] [notice] Server built: Jan 18 2008 00:37:19
[Mon Dec 01 16:56:00 2008] [notice] Parent: Created child process 2400
[Mon Dec 01 16:56:01 2008] [notice] Child 2400: Child process is running
[Mon Dec 01 16:56:01 2008] [notice] Child 2400: Acquired the start mutex.
[Mon Dec 01 16:56:01 2008] [notice] Child 2400: Starting 64 worker threads.
[Mon Dec 01 16:56:01 2008] [notice] Child 2400: Starting thread to listen on port 80.
---------
are there any clues there for why php is not running? The other services of the wamp server are running just fine, just not php.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: can't start up php

Post by Eran »

Nothing out of the ordinary there. Did you try restarting the server?

On a side note, the 2.2.x apache branch is somewhat unstable. I recommend using the 2.0.x branch
Rogerconant
Forum Newbie
Posts: 5
Joined: Mon Dec 01, 2008 11:44 am

Re: can't start up php

Post by Rogerconant »

Yes, I shut down the wamp server and then restarted it. The part of the log file I showed begins at that restart.

Apache 2.0 - I could download it and put it in place of the apache 2.2.8 files I suppose if you recommend that. Would that mess up anything I have, like .php files and mysql database created with the apache 2.2.8? How would I tell the wamp server to use a different apache version than it installed in the wamp package deal?
Rogerconant
Forum Newbie
Posts: 5
Joined: Mon Dec 01, 2008 11:44 am

Re: can't start up php

Post by Rogerconant »

Solved. I was using the wrong URL to run php files. Embarrassing - sorry!
jrja
Forum Newbie
Posts: 17
Joined: Wed Nov 19, 2008 10:28 am

Re: can't start up php

Post by jrja »

Embarrassed twice in one thread - look at the bright side, at least your honest.

...don't you hate when that happens...
Post Reply