Page 1 of 1
can't start up php
Posted: Mon Dec 01, 2008 11:55 am
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.
Re: can't start up php
Posted: Mon Dec 01, 2008 1:27 pm
by jrja
Got to love Windows. You have probably tried it; still, re-boot.
Re: can't start up php
Posted: Mon Dec 01, 2008 1:31 pm
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
It might be php-cli.exe on Windows I can't say for sure.
Re: can't start up php
Posted: Mon Dec 01, 2008 1:36 pm
by Eran
Check your apache log files
Re: can't start up php
Posted: Mon Dec 01, 2008 1:42 pm
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.

Re: can't start up php
Posted: Mon Dec 01, 2008 4:12 pm
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.
Re: can't start up php
Posted: Mon Dec 01, 2008 4:19 pm
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
Re: can't start up php
Posted: Mon Dec 01, 2008 4:33 pm
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?
Re: can't start up php
Posted: Tue Dec 02, 2008 10:33 am
by Rogerconant
Solved. I was using the wrong URL to run php files. Embarrassing - sorry!
Re: can't start up php
Posted: Tue Dec 02, 2008 5:15 pm
by jrja
Embarrassed twice in one thread - look at the bright side, at least your honest.
...don't you hate when that happens...