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
Old 05-30-2009, 01:15 PM   #1 (permalink)
Junior Member
 
Join Date: 04-19-06
Posts: 14
iTrader: 0 / 0%
Latest Blog:
None

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?
RKramkowski is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-30-2009, 02:44 PM   #2 (permalink)
Meeow!
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,235
iTrader: 0 / 0%
Latest Blog:
None

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
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
__________________
...to be continued
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-30-2009, 05:04 PM   #3 (permalink)
Junior Member
 
Join Date: 04-19-06
Posts: 14
iTrader: 0 / 0%
Latest Blog:
None

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.
RKramkowski is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-30-2009, 05:41 PM   #4 (permalink)
Moderator
 
Hades's Avatar
 
Join Date: 01-23-07
Location: Buenos Aires, Argentina
Posts: 1,242
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.
__________________
Hades,
Ancient god, King of the Nether World, and Guardian of the Dead.
...and on my free time I'm also a web developer, contact me if you need one!
Hades is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-30-2009, 09:34 PM   #5 (permalink)
Super Moderator
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 3,265
iTrader: 0 / 0%
Latest Blog:
Website Testing

htmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web pro
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 techincal - Pm me.
htmlbasictutor is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-10-2009, 03:21 PM   #6 (permalink)
Junior Member
 
Join Date: 04-19-06
Posts: 14
iTrader: 0 / 0%
Latest Blog:
None

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.
RKramkowski is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-10-2009, 08:36 PM   #7 (permalink)
Junior Member
 
Steven F.'s Avatar
 
Join Date: 06-10-09
Location: Colorado
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

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.
Steven F. is offline  
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 On


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


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


All times are GMT -7. The time now is 04:31 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


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