问答详情
源自:2-4 WAMPServer多站点配置

php.ini配置问题


修改了php.ini文件后,phpmyadmin打不开了,出现这样的错误http://img.mukewang.com/583314580001fe9f07760100.jpg

然后点击php.ini文件,发现文件损坏,不存在。


怎么办???


可以把你们的php.ini文件复制给我吗


提问者:慕圣8002261 2016-11-21 23:37

个回答

  • 慕粉3814509
    2016-11-22 15:12:14

    BarCaptionHighlightColor=clNone
    BarCaptionOffsetY=0
    BarCaptionShadowColor=clNone
    BarPictureHorzAlignment=center
    BarPictureOffsetX=0
    BarPictureOffsetY=0
    BarPicturePicture=barimage.bmp
    BarPictureTransparent=yes
    BarPictureVertAlignment=bottom
    BarBorder=clNone
    BarGradientEnd=$00550000
    BarGradientStart=clBlue
    BarGradientStyle=horizontal
    BarSide=left
    BarSpace=0
    BarWidth=32
    SeparatorsAlignment=center
    SeparatorsFade=yes
    SeparatorsFadeColor=clBtnShadow
    SeparatorsFlatLines=yes
    SeparatorsFont=Arial,8,clWhite,bold
    SeparatorsGradientEnd=$00FFAA55
    SeparatorsGradientStart=$00550000
    SeparatorsGradientStyle=horizontal
    SeparatorsSeparatorStyle=caption
    ;WAMPMENULEFTSETTINGSSTART

    [Menu.Right]
    ;WAMPMENURIGHTSTART
    Type: item; Caption: "关于(&A)..."; Action: about
    Type: item; Caption: "Refresh"; Action: multi; Actions: wampreload
    Type: item; Caption: "帮助文件"; Action: run; FileName: "C:\Windows\explorer.exe"; Parameters: "http://www.Wampserver.com/presentation.php"; Glyph: 5
    Type: submenu; Caption: "语言"; SubMenu: language; Glyph: 3
    Type: item; Caption: "退出"; Action: multi; Actions: myexit;
    ;WAMPMENURIGHTEND


    [wampreload]
    ;WAMPRELOADSTART
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "refresh.php";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: resetservices
    Action: readconfig;
    ;WAMPRELOADEND


    [language]
    ;WAMPLANGUAGESTART
    Type: item; Caption: "arabic"; Action: multi; Actions: lang_arabic
    Type: item; Caption: "catalan"; Action: multi; Actions: lang_catalan
    Type: item; Caption: "chinese"; Glyph: 13; Action: multi; Actions: lang_chinese
    Type: item; Caption: "chinese_trad"; Action: multi; Actions: lang_chinese_trad
    Type: item; Caption: "croatian"; Action: multi; Actions: lang_croatian
    Type: item; Caption: "czech"; Action: multi; Actions: lang_czech
    Type: item; Caption: "danish"; Action: multi; Actions: lang_danish
    Type: item; Caption: "deutsch"; Action: multi; Actions: lang_deutsch
    Type: item; Caption: "dutch"; Action: multi; Actions: lang_dutch
    Type: item; Caption: "english"; Action: multi; Actions: lang_english
    Type: item; Caption: "estonian"; Action: multi; Actions: lang_estonian
    Type: item; Caption: "finnish"; Action: multi; Actions: lang_finnish
    Type: item; Caption: "french"; Action: multi; Actions: lang_french
    Type: item; Caption: "greek"; Action: multi; Actions: lang_greek
    Type: item; Caption: "hungarian"; Action: multi; Actions: lang_hungarian
    Type: item; Caption: "italian"; Action: multi; Actions: lang_italian
    Type: item; Caption: "norwegian"; Action: multi; Actions: lang_norwegian
    Type: item; Caption: "occitan"; Action: multi; Actions: lang_occitan
    Type: item; Caption: "polish"; Action: multi; Actions: lang_polish
    Type: item; Caption: "portuguese"; Action: multi; Actions: lang_portuguese
    Type: item; Caption: "russian"; Action: multi; Actions: lang_russian
    Type: item; Caption: "spanish"; Action: multi; Actions: lang_spanish
    Type: item; Caption: "swedish"; Action: multi; Actions: lang_swedish
    Type: item; Caption: "turkish"; Action: multi; Actions: lang_turkish
    [lang_arabic]
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . changeLanguage.php arabic";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . refresh.php";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: resetservices
    Action: readconfig;

    [lang_catalan]
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . changeLanguage.php catalan";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . refresh.php";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: resetservices
    Action: readconfig;

    [lang_chinese]
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . changeLanguage.php chinese";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . refresh.php";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: resetservices
    Action: readconfig;

    [lang_chinese_trad]
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . changeLanguage.php chinese_trad";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . refresh.php";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: resetservices
    Action: readconfig;

    [lang_croatian]
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . changeLanguage.php croatian";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . refresh.php";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: resetservices
    Action: readconfig;

    [lang_czech]
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . changeLanguage.php czech";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . refresh.php";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: resetservices
    Action: readconfig;

    [lang_danish]
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . changeLanguage.php danish";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . refresh.php";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: resetservices
    Action: readconfig;

    [lang_deutsch]
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . changeLanguage.php deutsch";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . refresh.php";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: resetservices
    Action: readconfig;

    [lang_dutch]
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . changeLanguage.php dutch";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "-c . refresh.php";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: resetservices
    Action: readconfig;


  • 慕粉3814509
    2016-11-22 15:10:25

    [Config]
    ;WAMPCONFIGSTART
    ImageList=images_off.bmp
    ServiceCheckInterval=1
    ServiceGlyphRunning=13
    ServiceGlyphPaused=14
    ServiceGlyphStopped=15
    TrayIconAllRunning=16
    TrayIconSomeRunning=17
    TrayIconNoneRunning=18
    ID={wampserver}
    AboutHeader=WAMPSERVER
    AboutVersion=Version 2.2
    ;WAMPCONFIGEND

    [AboutText]
    WampServer Version 2.2

    Created by Romain Bourdon (romain@romainbourdon.com)
    Maintainer / Upgrade / RoadMap by Herve Leclerc (herve.leclerc@alterway.fr)

    Sources are available at SourceForge

    http://www.wampserver.com

    [Services]
    Name: wampapache
    Name: wampmysqld

    [Messages]
    AllRunningHint=WAMPSERVER - 服务器离线
    SomeRunningHint=WAMPSERVER - 服务器离线
    NoneRunningHint=WAMPSERVER - 服务器离线

    [StartupAction]
    ;WAMPSTARTUPACTIONSTART
    Action: run; FileName: "C:/wamp/bin/php/php5.3.10/php-win.exe";Parameters: "refresh.php";WorkingDir: "C:/wamp/scripts"; Flags: waituntilterminated
    Action: resetservices
    Action: readconfig;
    Action: service; Service: wampapache; ServiceAction: startresume; Flags: ignoreerrors
    Action: service; Service: wampmysqld; ServiceAction: startresume; Flags: ignoreerrors
    ;WAMPSTARTUPACTIONEND

    [Menu.Right.Settings]
    ;WAMPMENURIGHTSETTINGSSTART
    BarVisible=no
    SeparatorsAlignment=center
    SeparatorsFade=yes
    SeparatorsFadeColor=clBtnShadow
    SeparatorsFlatLines=yes
    SeparatorsGradientEnd=clSilver
    SeparatorsGradientStart=clGray
    SeparatorsGradientStyle=horizontal
    SeparatorsSeparatorStyle=shortline
    ;WAMPMENURIGHTSETTINGSEND

    [Menu.Left.Settings]
    ;WAMPMENULEFTSETTINGSSTART
    AutoLineReduction=no
    BarVisible=yes
    BarCaptionAlignment=bottom
    BarCaptionCaption=WAMPSERVER 2.2
    BarCaptionDepth=1
    BarCaptionDirection=downtoup
    BarCaptionFont=Tahoma,16,clWhite,bold italic