Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/oracle/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法执行菜单项(内部错误)[异常]-将PHP版本从5.3.1更改为5.2.9时_Php_Wampserver_System Error - Fatal编程技术网

无法执行菜单项(内部错误)[异常]-将PHP版本从5.3.1更改为5.2.9时

无法执行菜单项(内部错误)[异常]-将PHP版本从5.3.1更改为5.2.9时,php,wampserver,system-error,Php,Wampserver,System Error,我在WAMP服务器上安装了两个PHP版本。当我使用5.3.10时,我的wamp服务器运行得很好。但当我切换到旧版本的PHP(5.2.9)时,我的wamp服务器托盘图标显示为橙色图标。如果你点击上线,我会得到以下错误 我试图将httpd.conf中的端口更改为8855,但仍然收到相同的错误。如何解决此错误 无法执行菜单项(内部错误)[异常]无法执行服务操作:服务尚未启动 就像您安装的旧版本的PHP一样,对Apache执行相同的操作。我选择了版本2.0.63,然后我就可以用PHP5.2.9运行W

我在WAMP服务器上安装了两个PHP版本。当我使用5.3.10时,我的wamp服务器运行得很好。但当我切换到旧版本的PHP(5.2.9)时,我的wamp服务器托盘图标显示为橙色图标。如果你点击上线,我会得到以下错误

我试图将httpd.conf中的端口更改为8855,但仍然收到相同的错误。如何解决此错误

无法执行菜单项(内部错误)[异常]无法执行服务操作:服务尚未启动

  • 就像您安装的旧版本的PHP一样,对Apache执行相同的操作。我选择了版本2.0.63,然后我就可以用PHP5.2.9运行WAMP服务器,没有任何问题

  • 我还了解到64位版本的WAMP存在问题

  • 就像您安装的旧版本的PHP一样,对Apache执行相同的操作。我选择了版本2.0.63,然后我就可以用PHP5.2.9运行WAMP服务器,没有任何问题

  • 我还了解到64位版本的WAMP存在问题


  • 默认情况下,WAMP服务器将使用
    80
    作为其工作端口

    您可以随意更改端口号。。。以下是执行此操作的步骤:

    • 单击WAMP服务器托盘图标
    • 单击apache
    • 选择http.conf
    这里记事本将打开

    • 向下滚动,您将看到WAMP服务器使用的端口号
    • 将该端口号更改为:

      #Listen x.x.x.x:8080
      Listen 8080
      
    • 保存该文件并重新启动服务。。。它会很好的

    • 现在输入
      http://localhost:8080/

    默认情况下,WAMP服务器将使用
    80
    作为其工作端口

    您可以随意更改端口号。。。以下是执行此操作的步骤:

    • 单击WAMP服务器托盘图标
    • 单击apache
    • 选择http.conf
    这里记事本将打开

    • 向下滚动,您将看到WAMP服务器使用的端口号
    • 将该端口号更改为:

      #Listen x.x.x.x:8080
      Listen 8080
      
    • 保存该文件并重新启动服务。。。它会很好的

    • 现在输入
      http://localhost:8080/

    首先进入Wamp->Apache->Service->Test Port 80

    如果它是Microsoft HTTPAPI/2.0的用户

    然后,解决方案是手动停止名为web部署代理服务的服务


    如果安装了Microsoft Sql Server,即使IIS服务已禁用,它仍会保持名为httpapi2.0的web服务运行。

    首先转到Wamp->Apache->service->Test Port 80

    如果它是Microsoft HTTPAPI/2.0的用户

    然后,解决方案是手动停止名为web部署代理服务的服务


    如果安装了Microsoft Sql Server,即使IIS服务已禁用,它仍会保持名为httpapi2.0的web服务运行。

    如果您使用的是Windows,请尝试以下操作:

  • 按(Windows+R)
  • 输入“services.msc”并单击“确定”
  • 找到名为“wampapache”的服务
  • 并检查其状态是否为“正在运行”。如果不是,请右键单击>>开始

    希望这有帮助


    如果已从启动服务中删除WAMP,则它将不起作用–请尝试以下操作:

    • 按(Windows+R)
    • 输入“services.msc”并单击“确定”
    • 找到名为“万帕帕切”的服务
    • 右键单击
      wampapache
      wampmysqld
      ,单击“属性”
    • 并将启动类型更改为
      手动
      自动

    这会有用的

    如果您使用的是Windows请尝试以下操作:

  • 按(Windows+R)
  • 输入“services.msc”并单击“确定”
  • 找到名为“万帕帕切”的服务
  • 并检查其状态是否为“正在运行”。如果不是,请右键单击>>开始

    希望这有帮助


    如果已从启动服务中删除WAMP,则它将不起作用–请尝试以下操作:

    • 按(Windows+R)
    • 输入“services.msc”,然后单击“确定”
    • 找到名为“万帕帕切”的服务
    • 右键单击
      wampapache
      wampmysqld
      ,单击“属性”
    • 并将启动类型更改为
      手动
      自动

    这会有用的

    问题是MySQL56服务正在运行,它已经占用了WAMP MySQL的端口。在MySQL56服务停止后,WAMP服务器成功启动。

    问题是MySQL56服务正在运行,它已经占用了WAMP MySQL的端口。在MySQL56服务停止后,WAMP服务器成功启动。

    可能是旧的未从windows卸载服务的版本

  • 卸载运行此命令行的旧版本 sc删除万帕帕切

  • 从wamp重新安装服务:

    Wamp托盘图标->Apache->服务->安装服务


  • 这对我有用,享受吧

    可能没有从windows卸载旧版本的服务

  • 卸载运行此命令行的旧版本 sc删除万帕帕切

  • 从wamp重新安装服务:

    Wamp托盘图标->Apache->服务->安装服务


  • 这对我有用,享受吧

    对于正在阅读本文的任何人->不要再使用PHP5.3,请切换到较新版本的php,因为PHP5.3正在使用不推荐使用的函数

    以下是不推荐使用的INI指令列表。使用这些INI指令中的任何一个都会导致在启动时抛出一个E_不推荐的错误,所以我建议您使用更新的版本来开发

    define_syslog_variables
    register_globals
    register_long_arrays
    safe_mode
    magic_quotes_gpc
    magic_quotes_runtime
    magic_quotes_sybase
    Comments starting with '#' are now deprecated in .INI files.
    
    不推荐使用的函数:

    call_user_method() (use call_user_func() instead)
    call_user_method_array() (use call_user_func_array() instead)
    define_syslog_variables()
    dl()
    ereg() (use preg_match() instead)
    ereg_replace() (use preg_replace() instead)
    eregi() (use preg_match() with the 'i' modifier instead)
    eregi_replace() (use preg_replace() with the 'i' modifier instead)
    set_magic_quotes_runtime() and its alias, magic_quotes_runtime()
    session_register() (use the $_SESSION superglobal instead)
    session_unregister() (use the $_SESSION superglobal instead)
    session_is_registered() (use the $_SESSION superglobal instead)
    set_socket_blocking() (use stream_set_blocking() instead)
    split() (use preg_split() instead)
    spliti() (use preg_split() with the 'i' modifier instead)
    sql_regcase()
    mysql_db_query() (use mysql_select_db() and mysql_query() instead)
    mysql_escape_string() (use mysql_real_escape_string() instead)
    Passing locale category names as strings is now deprecated. Use the LC_* family of constants instead.
    The is_dst parameter to mktime(). Use the new timezone handling functions instead.
    
    不推荐的功能:

    Assigning the return value of new by reference is now deprecated.
    Call-time pass-by-reference is now deprecated.
    

    对于正在阅读此->不再使用PHP5.3的任何人,请切换到更新版本的php,