can't start up php
Moderator: General Moderators
-
Rogerconant
- Forum Newbie
- Posts: 5
- Joined: Mon Dec 01, 2008 11:44 am
can't start up php
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
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
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.
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 -vRe: can't start up php
Check your apache log files
Re: can't start up php
There has always got to be someone who thinks logically --- log files, great concept. Good place to start.pytrin wrote:Check your apache log files
-
Rogerconant
- Forum Newbie
- Posts: 5
- Joined: Mon Dec 01, 2008 11:44 am
Re: can't start up php
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.
---------
[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
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
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
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?
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
Solved. I was using the wrong URL to run php files. Embarrassing - sorry!
Re: can't start up php
Embarrassed twice in one thread - look at the bright side, at least your honest.
...don't you hate when that happens...
...don't you hate when that happens...