Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-30-2009, 12:15 PM
Junior Member
Latest Blog:
None

 
Join Date: 04-19-06
Posts: 14
iTrader: 0 / 0%
RKramkowski is liked by many
PHP5 and Windows 7 RC. Any issues?

Hi, I have been running Apache, PHP, MySQL, phpMyAdmin, and Wordpress on an XP system, I then migrated to Vista. All worked fine. I just upgraded to Win7 RC and installed the 32 bit version of Apache 2.2.11 (I'm running a quadcore 64 bit AMD system). Since not everything I listed above has a 64 bit version, I installed the 32 bit version of all - but only got as far as Apache and PHP (sort of).

To install on the Win7 system, I first installed Apache and verified that it is working. So far so good. I then installed PHP 5.2.9-2. Although it appears to be installed and integrated with Apache (I see it in the service monitor) when I try to run any PHP file, it just echoes back the PHP command. I used the standard <?php phpinfo(); ?>. Rather than seeing the info panel, I only see <?php phpinfo(); ?> echoed back to me. I installed and configured the same way I previously had for XP and Vista.

I've temporarily disabled UAC and also tried installing Apache from the command line as administrator (even though it installed and ran fine from the .msi file.

I've gone through all my .conf and .ini files with a fine tooth comb but cannot find a reason PHP doesn't appear to run under Win7 RC. Granted I put the newest versions of all on my Win7 machine. Under Vista I had been running Apache 2.2.6 and PHP 5.2.4.

I'm at my wits end with this one. Anyone have any ideas?
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #2 (permalink)  
Old 05-30-2009, 01:44 PM
Costin Trifan's Avatar
Coding Tiger
 
Join Date: 04-13-07
Location: Romania
Posts: 3,308
iTrader: 0 / 0%
Costin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest order
Send a message via Yahoo to Costin Trifan
make sure your apache config file has these sections:

under modules:
Code:
# PHP CONFIG LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll" PHPIniDir "C:/Program Files/PHP/"
inside this module: <IfModule mime_module> about line 372
Code:
# PHP CONFIG AddType application/x-httpd-php .php
__________________

my private spice

...to be continued
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #3 (permalink)  
Old 05-30-2009, 04:04 PM
Junior Member
Latest Blog:
None

 
Join Date: 04-19-06
Posts: 14
iTrader: 0 / 0%
RKramkowski is liked by many
Got them all... as well as a few others. I even did a full clean install of everything. Same result.
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #4 (permalink)  
Old 05-30-2009, 04:41 PM
Hades's Avatar
Senior Web Developer
 
Join Date: 01-23-07
Location: Argentina
Posts: 1,986
iTrader: 0 / 0%
Hades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest order
Try installing one of the ready-to-use packages like xampp, wamp, or such, then copy their httpd.conf and php.ini to see the differences and spot any possible mistake.
__________________
Cris a.k.a. Hades

HD Gaming Videos: Feeding your high-definition gaming addiction.
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #5 (permalink)  
Old 05-30-2009, 08:34 PM
htmlbasictutor's Avatar
Super Moderator
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 5,653
iTrader: 2 / 100%
htmlbasictutor is a web professional of the highest orderhtmlbasictutor is a web professional of the highest orderhtmlbasictutor is a web professional of the highest orderhtmlbasictutor is a web professional of the highest orderhtmlbasictutor is a web professional of the highest orderhtmlbasictutor is a web professional of the highest orderhtmlbasictutor is a web professional of the highest orderhtmlbasictutor is a web professional of the highest orderhtmlbasictutor is a web professional of the highest orderhtmlbasictutor is a web professional of the highest orderhtmlbasictutor is a web professional of the highest order
Quote:
Originally Posted by Hades View Post
Try installing one of the ready-to-use packages like xampp, wamp, or such, then copy their httpd.conf and php.ini to see the differences and spot any possible mistake.
Since 2 Windows Updates ago, Xampp and WampServer 2 won't work on my XP machine.
__________________

HTML Basic Tutor - Learn to code your web pages/blogs
Basic Computer Information - Computer Basics for website owners


Trouble getting indexed? Maybe it's something technical - Pm me.
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #6 (permalink)  
Old 06-10-2009, 02:21 PM
Junior Member
Latest Blog:
None

 
Join Date: 04-19-06
Posts: 14
iTrader: 0 / 0%
RKramkowski is liked by many
I did WAMP - no material diffferences in conf or ini files. On an off chance, I also installed older of versions of both Apache (2.2.6) and PHP (5.2.4) Still the same result. HTML files work fine - PHP is the problem.

So then I thought maybe IE8 might be the culprit. So I installed Forefox but the result was still the same.

I think I might try to find a Vista machine and try the same conf and ini files on that machine as is on the Win7 machine. I suspect it will work though.

I'm still at a loss as to where to look next in Windows 7.
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #7 (permalink)  
Old 06-10-2009, 07:36 PM
Junior Member
Latest Blog:
None

 
Join Date: 06-10-09
Location: Colorado
Posts: 2
iTrader: 0 / 0%
Steven F. is liked by many
Send a message via AIM to Steven F. Send a message via MSN to Steven F.
phpDesigner choked up with the PHP install. I hope the PHP team gets a new Windows 7 version out soon.
Digg this Post!Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Vista Users: Windows Aero dWhite Tech Talk 6 01-21-2009 01:06 PM
PHP5 / XML API help! oskare100 Coding Forum 0 10-15-2007 08:33 AM
Windows Vista and Windows XP Issues Linda in NY Tech Talk 33 06-24-2007 04:56 AM
Windows X64 Software Issues SEO2006 Tech Talk 1 06-26-2006 03:23 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 08:48 PM.
© Copyright 2010 V7 Inc
Powered by vBulletin
Copyright © 2000-2010 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.