简体   繁体   English

只是PHP在Win7 64bit上的Wamp-Server安装中不起作用

[英]just PHP not working on Wamp-Server installation on Win7 64bit

When installing (and re-installing) Wampserver 2.5 I ran into this problem today: 今天安装(并重新安装)Wampserver 2.5时遇到了这个问题:

Everyting set up fine and running "green" in wampServer, without any reported errors in PHP-/Apache-/mySQL 每种设置都可以在wampServer中正常运行,并且“绿色”运行,在PHP- / Apache- / mySQL中没有任何报告的错误

works (without any php-lines): 作品(没有任何PHP行):

http://localhost/someHTMLfile.html

doesn't work (even withoput php-code inside): 不起作用(即使内部包含php代码):

http://localhost/someHTMLfile.php

The Problem: passing through files that would be processed by/to the php-parser/module result in a blank browser screen / "website not reachable" 问题:将要由php-parser / module处理的文件传递到浏览器屏幕空白/“网站无法访问”

As a 64bit Windows7 user you have to do some correction in the 2.5 wampServer config. 作为64位Windows7用户,您必须在2.5 wampServer配置中进行一些更正。
Although the server is "green", online and nothing is reported as malfunctioning, 尽管服务器为“绿色”,但处于联机状态,没有任何故障的报告,
the parsing stalls if the php module is fed. 如果馈送了php模块,则解析停止。

As seen on http://forum.wampserver.com/read.php?2,123685 there is an incomplete parameter in the my.ini file. http://forum.wampserver.com/read.php?2,123685所示 ,my.ini文件中的参数不完整。
This file is reachable and editable by the wampserverManager TrayIcon -> mySQL - > my.ini wampserverManager TrayIcon-> mySQL-> my.ini可以访问和编辑此文件。

You may want to change the line 您可能要更改行

[wampmysqld]

into

[wampmysqld64]

to get everything working just as it should. 使一切正常运行。

Maybe it's just me stepping in some RTM-Trap. 也许只是我参与了一些RTM-Trap。
Maybe it's not just me, though. 不过,也许不仅仅是我。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM