xampp

Visual Studio Code - Xdebug won't work

时光怂恿深爱的人放手 提交于 2019-12-08 00:34:55
问题 In Visual Studio Code (1.9.1) (mac) i have setup the php-debug plugin. In the debug screen i start ' listen for Xdebug '. After this i open the index.php on my XAMPP server (local). But nothing happens. the blue bar at the bottom of the screen turns orange. the step over, step into and step out buttons are greyed out. Also the following error message occurs at the watched variables: cannot evaluate code without an connection I try to use breakpoints on the following code: <?php $i = 0; do {

How to set the web root and hide app.php and app_dev.php in localhost using xampp and apache?

六眼飞鱼酱① 提交于 2019-12-07 22:16:07
问题 I'm using symfony in my local computer for programming. its address is http://localhost/RTL/web/app_dev.php/secure_area . How can I change this address to http://localhost/secure_area ? I mean removing RTL/web/app_dev.php . I'm using xampp, apache and symfony 2.6. other addresses could be something like these: http://localhost/RTL/web/app_dev.php/login => http://localhost/login http://localhost/RTL/web/app_dev.php/logout => http://localhost/logout http://localhost/RTL/web/app_dev.php/admin =>

SGML::Parser::OpenSP doesn't work when installing local W3C validator on Windows

[亡魂溺海] 提交于 2019-12-07 21:55:05
问题 I am trying to configure a local W3C validator on my XAMPP server in Windows. I have copied the validator to XAMPP. When I try to run validator/htdocs/index.html it's giving some error like Can't locate loadable object for module SGML::Parser::OpenSP in @INC (@INC contains: D:/Web/xampp/perl/site/lib/ But I have my OpenSP.pm (and it's the correct version 0.991) in D:\Web\xampp\perl\site\lib\SGML\Parser. The procedure I am following to add new .pm file is download the tar.gz file unzip it

Update ICU extension within xampp?

青春壹個敷衍的年華 提交于 2019-12-07 20:44:31
I'm running xampp and I need to upgrade ICU (php_intl extension) to the latest version - I downloaded 54 from the ICU page but unsure how to go about upgrading it. There is a bin , include and lib folder - where do I put these files and do I have to do anything else? To upgrade existing ICU in you XAMP installation you'll need to: copy php_intl.dll to your_xamp_folder/php copy all the icu*.dll files to your_xamp_folder/apache/bin check if extension=php_intl.dll is enabled in your_xamp_folder/php/php.ini restart Apache Let me know if it works (i'm currently on nginx) Edit: you'll find php_intl

Installing Yaml in xampp windows

[亡魂溺海] 提交于 2019-12-07 20:39:59
问题 I am trying to install YAML in XAMPP windows 64 bit Downloaded the .dll file from http://pecl.php.net/package/yaml/1.1.1/windows enabled the extension in php ini as follows extension=php_yaml.dll Restarted the Apache Getting the following error php startup unable to load dynamic library "\xampp\php\ext\php_yaml.dll" Is this is the right way or I am missing any thing ? Please help me 回答1: After searched lot finally found a solution Go to https://github.com/LegendOfMCPE/LoM-CMS/wiki/How-to

XAMPP Apache无法启动的一种解决方法

落爺英雄遲暮 提交于 2019-12-07 19:37:21
好久没用XAMPP了,刚才在开启Apache服务时遇到了问题。 Error: Apache shutdown unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method Check the "/xampp/apache/logs/error.log" file and the Windows Event Viewer for more clues This may be due to a blocked port 一种可能的原因就是端口被占用了。 以前在XAMPP里开启Apache时一般都占据了80和443端口。 去检查下这两个端口是否被占用。 可以在CMD里输入 netstat -ano来查看,也可以直接按XAMPP的控制面板上的Netstat按来查看当前占用的端口。 我这边很快发现443端口被虚拟机占用了,关掉这个进程。再次开启Apache就可以。 一般遇到问题就先检查下80和443端口吧。 来源: oschina 链接: https://my.oschina.net/u/176931/blog/174886

XAMPP 1.7.3, Eclipse PDT & XDebug - Debugging a PHP web page in Eclipse never stops at breakpoints

Deadly 提交于 2019-12-07 17:58:39
My development web server is currently a XAMPP 1.7.3 on my localhost (Win XP). I just set up my Eclipse 3.6 PDT with XDebug . It works fine, if I debug a file as a "PHP script", but when it comes to debugging it as a "PHP web page", XDebug ignores the breakpoints completely. Only a manually inserted xdebug_break() inside the code stops the debugger. This isn't very useful, if you want to use conditions with Eclipse's breakpoints. Here my config: php.ini: zend_extension = "C:\xampp\php\ext\php_xdebug.dll" xdebug.remote_autostart=1 xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote

xampp not working on windows 7 - Windows 7 Forums

感情迁移 提交于 2019-12-07 17:31:14
问题 My xampp installation 1.7.4 in windows 7 does not seem to work. http://localhost returns not found error. Xampp Control panel shows both mysql & apache service running fine. Frustrated since past 2 weeks to find a solution to this. Any pointers and support will be appreciated! 回答1: Do you have Skype or something similar running on your computer? Skype uses the default http and https ports 80 and 443 unless you explicitly change that in its settings. 回答2: As I saw this is common "problem" for

Apache as root on ubuntu

前提是你 提交于 2019-12-07 13:27:11
问题 Ok I need to run my Apache web server as root . For this I typed whoami; in terminal. It gives me output: root . But when I check my apache server running as a root user or not by executing following php-script: < ?php echo whoami; ?> It gives me output: nobody . So any suggestions to execute/login as a root user in apache?? 回答1: I would suggest creating an external PHP file on your server that would handle everything related with this extension. And then, you could call this script with

Not able to connect android app running on phone with localhost

≯℡__Kan透↙ 提交于 2019-12-07 13:14:00
问题 I am making an Android Application using GCM. I am trying to register through my app running on phone, the inputs are not able to store on localhost XAMPP using php. My phone and laptop are running on the same network. There is some problem with the ip address of localhost. I am using this url for saving on local host, where 192.168.43.247 is the ip address when pc is running with the help of phone's 3G network. 192.168.43.247/gcm_server_php/register.php Please help! 回答1: Open Xampp>apache