Wamp installed/ran great, then reboot and no PHP
Posted by: red_ifo (---.dhcp.mdsn.wi.charter.com)
Date: January 27, 2009 05:08AM

I have a similar problem involving a reboot, but in this case, everything installed great and worked like a charm, but then I rebooted and I have no PHP. I have tried uninstalling and reinstalling, have tried rebooting and everything in the config files looks fine.

Any ideas would be very much appreciated.

Thanks!

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: yodude75 (---.zone2.bethere.co.uk)
Date: January 27, 2009 01:04PM

What OS are you running? Versions of PHP, MySQL and Apache ?
It's likely to be a permission issue under Vista or Win server. Anyways, if you answer the question above I'll might be able to give you a more specific answer

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: yfastud (Moderator)
Date: January 27, 2009 02:28PM


Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: red_ifo (---.dhcp.mdsn.wi.charter.com)
Date: January 27, 2009 03:23PM

Sorry about that, I meant to give version specifics.

I'm running Vista Ultimate, Apache 2.2.11, PHP 5.28, Mysql 5.1.30

I did think about the firewall and have disabled that with no effect to wamp. Apache is running fine and will serve up html files, just not php.

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: yodude75 (---.zone2.bethere.co.uk)
Date: January 27, 2009 03:53PM

are you sure that the line
LoadModule php5_module "c:/wamp/bin/php/php5.2.6/php5apache2_2.dll
in the file httpd.conf is not commented ?
what kind of tags are you using?

try this two codes:

<?php

phpinfo();

?>

and
<?
phpinfo();
?>

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: yfastud (Moderator)
Date: January 27, 2009 05:10PM

if using short tag, you need to enable short_open_tag in php.ini through wamp tray icon

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: red_ifo (---.dhcp.mdsn.wi.charter.com)
Date: January 27, 2009 05:19PM

Yes, the httpd.conf is correct and not commented out.

I can't see the test.php file with phpinfo() in it as the browser tries to download the file.

I'm really confused here because everything was running great before I rebooted.



Edited 1 time(s). Last edit at 01/27/2009 05:19PM by red_ifo.

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: yodude75 (---.zone2.bethere.co.uk)
Date: January 27, 2009 05:48PM

have you tried restarting wamp as a service (wampapache and wampmysqld) ?

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: red_ifo (---.dhcp.mdsn.wi.charter.com)
Date: January 27, 2009 06:10PM

yes I have several times.

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: yfastud (Moderator)
Date: January 27, 2009 08:21PM


Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: red_ifo (---.dhcp.mdsn.wi.charter.com)
Date: January 27, 2009 09:52PM

This wasn't helpful. I am experienced in setting these things up but this one is escaping me. I've never set up a vista machine with these programs before and am at a loss as to why I had php working and then didn't after a reboot. Only thing that I can come up with is something isn't loading into memory properly??

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: January 27, 2009 09:55PM

rebooting? properly? check the php log in c:/wamp/logs

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: red_ifo (---.dhcp.mdsn.wi.charter.com)
Date: January 27, 2009 10:16PM

This is what I have in the php_error.log:



[26-Jan-2009 15:23:25] PHP Notice: Undefined variable: mywampfp in C:\wamp\scripts\refresh.php on line 252
[26-Jan-2009 15:23:25] PHP Notice: Undefined variable: i in C:\wamp\scripts\refresh.php on line 252
[26-Jan-2009 15:23:25] PHP Notice: Undefined variable: mywampini in C:\wamp\scripts\refresh.php on line 252
[26-Jan-2009 15:23:25] PHP Notice: Undefined offset: 1 in C:\wamp\scripts\refresh.php on line 385
[26-Jan-2009 15:23:25] PHP Notice: Undefined offset: 1 in C:\wamp\scripts\refresh.php on line 385
[26-Jan-2009 15:23:25] PHP Notice: Undefined variable: list in C:\wamp\scripts\wampserver.lib.php on line 33
[26-Jan-2009 15:23:25] PHP Warning: Invalid argument supplied for foreach() in C:\wamp\scripts\refresh.php on line 497
[27-Jan-2009 08:20:21] PHP Notice: Undefined variable: mywampfp in C:\wamp\scripts\refresh.php on line 252
[27-Jan-2009 08:20:21] PHP Notice: Undefined variable: i in C:\wamp\scripts\refresh.php on line 252
[27-Jan-2009 08:20:21] PHP Notice: Undefined variable: mywampini in C:\wamp\scripts\refresh.php on line 252
[27-Jan-2009 08:20:21] PHP Notice: Undefined offset: 1 in C:\wamp\scripts\refresh.php on line 385
[27-Jan-2009 08:20:21] PHP Notice: Undefined offset: 1 in C:\wamp\scripts\refresh.php on line 385
[27-Jan-2009 08:20:21] PHP Notice: Undefined variable: list in C:\wamp\scripts\wampserver.lib.php on line 33
[27-Jan-2009 08:20:21] PHP Warning: Invalid argument supplied for foreach() in C:\wamp\scripts\refresh.php on line 497
[27-Jan-2009 10:38:31] PHP Notice: Undefined variable: mywampfp in C:\wamp\scripts\refresh.php on line 252
[27-Jan-2009 10:38:31] PHP Notice: Undefined variable: i in C:\wamp\scripts\refresh.php on line 252
[27-Jan-2009 10:38:31] PHP Notice: Undefined variable: mywampini in C:\wamp\scripts\refresh.php on line 252
[27-Jan-2009 10:38:31] PHP Notice: Undefined offset: 1 in C:\wamp\scripts\refresh.php on line 385
[27-Jan-2009 10:38:31] PHP Notice: Undefined offset: 1 in C:\wamp\scripts\refresh.php on line 385
[27-Jan-2009 10:38:32] PHP Notice: Undefined variable: list in C:\wamp\scripts\wampserver.lib.php on line 33
[27-Jan-2009 10:38:32] PHP Warning: Invalid argument supplied for foreach() in C:\wamp\scripts\refresh.php on line 497

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: yfastud (Moderator)
Date: January 28, 2009 12:56AM


Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: red_ifo (---.dhcp.mdsn.wi.charter.com)
Date: January 28, 2009 01:02AM

Thanks, I'll give that a try.

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: jjonas (---.126-70.tampabay.res.rr.com)
Date: January 29, 2009 02:33PM

red-ifo, that is EXACTLY what my php error log says too, and mine wont work EITHER. Have you come up with anything?

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: jjonas (---.126-70.tampabay.res.rr.com)
Date: January 29, 2009 02:34PM

[28-Jan-2009 20:47:19] PHP Notice: Undefined variable: mywampfp in E:\wamp\scripts\refresh.php on line 252
[28-Jan-2009 20:47:20] PHP Notice: Undefined variable: i in E:\wamp\scripts\refresh.php on line 252
[28-Jan-2009 20:47:20] PHP Notice: Undefined variable: mywampini in E:\wamp\scripts\refresh.php on line 252
[28-Jan-2009 20:47:20] PHP Notice: Undefined offset: 1 in E:\wamp\scripts\refresh.php on line 385
[28-Jan-2009 20:47:20] PHP Notice: Undefined offset: 1 in E:\wamp\scripts\refresh.php on line 385
[28-Jan-2009 20:47:20] PHP Notice: Undefined variable: list in E:\wamp\scripts\wampserver.lib.php on line 33
[28-Jan-2009 20:47:20] PHP Warning: Invalid argument supplied for foreach() in E:\wamp\scripts\refresh.php on line 497
[28-Jan-2009 20:49:35] PHP Notice: Undefined variable: mywampfp in E:\wamp\scripts\refresh.php on line 252
[28-Jan-2009 20:49:35] PHP Notice: Undefined variable: i in E:\wamp\scripts\refresh.php on line 252
[28-Jan-2009 20:49:35] PHP Notice: Undefined variable: mywampini in E:\wamp\scripts\refresh.php on line 252
[28-Jan-2009 20:49:35] PHP Notice: Undefined offset: 1 in E:\wamp\scripts\refresh.php on line 385
[28-Jan-2009 20:49:35] PHP Notice: Undefined offset: 1 in E:\wamp\scripts\refresh.php on line 385
[28-Jan-2009 20:49:35] PHP Notice: Undefined variable: list in E:\wamp\scripts\wampserver.lib.php on line 33
[28-Jan-2009 20:49:35] PHP Warning: Invalid argument supplied for foreach() in E:\wamp\scripts\refresh.php on line 497
[28-Jan-2009 20:49:43] PHP Notice: Undefined variable: mywampfp in E:\wamp\scripts\refresh.php on line 252
[28-Jan-2009 20:49:43] PHP Notice: Undefined variable: i in E:\wamp\scripts\refresh.php on line 252
[28-Jan-2009 20:49:43] PHP Notice: Undefined variable: mywampini in E:\wamp\scripts\refresh.php on line 252
[28-Jan-2009 20:49:44] PHP Notice: Undefined offset: 1 in E:\wamp\scripts\refresh.php on line 385
[28-Jan-2009 20:49:44] PHP Notice: Undefined offset: 1 in E:\wamp\scripts\refresh.php on line 385
[28-Jan-2009 20:49:44] PHP Notice: Undefined variable: list in E:\wamp\scripts\wampserver.lib.php on line 33
[28-Jan-2009 20:49:44] PHP Warning: Invalid argument supplied for foreach() in E:\wamp\scripts\refresh.php on line 497
[28-Jan-2009 20:49:51] PHP Notice: Undefined variable: mywampfp in E:\wamp\scripts\refresh.php on line 252
[28-Jan-2009 20:49:51] PHP Notice: Undefined variable: i in E:\wamp\scripts\refresh.php on line 252
[28-Jan-2009 20:49:51] PHP Notice: Undefined variable: mywampini in E:\wamp\scripts\refresh.php on line 252
[28-Jan-2009 20:49:51] PHP Notice: Undefined offset: 1 in E:\wamp\scripts\refresh.php on line 385
[28-Jan-2009 20:49:51] PHP Notice: Undefined offset: 1 in E:\wamp\scripts\refresh.php on line 385
[28-Jan-2009 20:49:52] PHP Notice: Undefined variable: list in E:\wamp\scripts\wampserver.lib.php on line 33
[28-Jan-2009 20:49:52] PHP Warning: Invalid argument supplied for foreach() in E:\wamp\scripts\refresh.php on line 497
[29-Jan-2009 07:19:09] PHP Notice: Undefined variable: mywampfp in E:\wamp\scripts\refresh.php on line 252
[29-Jan-2009 07:19:09] PHP Notice: Undefined variable: i in E:\wamp\scripts\refresh.php on line 252
[29-Jan-2009 07:19:09] PHP Notice: Undefined variable: mywampini in E:\wamp\scripts\refresh.php on line 252
[29-Jan-2009 07:19:09] PHP Notice: Undefined offset: 1 in E:\wamp\scripts\refresh.php on line 385
[29-Jan-2009 07:19:09] PHP Notice: Undefined offset: 1 in E:\wamp\scripts\refresh.php on line 385
[29-Jan-2009 07:19:10] PHP Notice: Undefined variable: list in E:\wamp\scripts\wampserver.lib.php on line 33
[29-Jan-2009 07:19:10] PHP Warning: Invalid argument supplied for foreach() in E:\wamp\scripts\refresh.php on line 497
[29-Jan-2009 07:20:24] PHP Notice: Undefined variable: mywampfp in E:\wamp\scripts\refresh.php on line 252
[29-Jan-2009 07:20:24] PHP Notice: Undefined variable: i in E:\wamp\scripts\refresh.php on line 252
[29-Jan-2009 07:20:24] PHP Notice: Undefined variable: mywampini in E:\wamp\scripts\refresh.php on line 252
[29-Jan-2009 07:20:24] PHP Notice: Undefined offset: 1 in E:\wamp\scripts\refresh.php on line 385
[29-Jan-2009 07:20:24] PHP Notice: Undefined offset: 1 in E:\wamp\scripts\refresh.php on line 385
[29-Jan-2009 07:20:24] PHP Notice: Undefined variable: list in E:\wamp\scripts\wampserver.lib.php on line 33
[29-Jan-2009 07:20:24] PHP Warning: Invalid argument supplied for foreach() in E:\wamp\scripts\refresh.php on line 497

Options: ReplyQuote
Re: Wamp installed/ran great, then reboot and no PHP
Posted by: red_ifo (---.dhcp.mdsn.wi.charter.com)
Date: January 29, 2009 03:22PM

I have not come up with a solution for this. I re-downloaded the latest version and had the same thing happen. I've uninstalled it, rebooted, reinstalled it, rebooted and nothing. Apache runs, just no PHP. I finally just uninstalled everything so my system was clean and hand installed apache, mysql, and php from scratch and everything is working like a charm. Sorry, wampserver is a great idea but apparently it needs some work on Vista.

Options: ReplyQuote


Sorry, only registered users may post in this forum.