wampserver

locale_get_default() function issue on localhost

让人想犯罪 __ 提交于 2019-12-25 02:39:08
问题 Im using wampserver on localhost with; PHP 5.3.13 Apache 2.2.22 Enabled php_intl.dll extension But i got following error while using locale_get_default() function Fatal error: Call to undefined function locale_get_default() in Or using Locale::getDefault() function Fatal error: Class 'Locale' not found in 回答1: snip didnt read: Are you sure the extension is loaded? (See phpinfo(); ) 回答2: Solved with Following Link http://forum.wampserver.com/read.php?2,80704,116793 Ok, I got it to work. It

Strange problem with Wampserver 2.0 - rollback change of file

老子叫甜甜 提交于 2019-12-25 02:34:08
问题 I have running Wampserver 2.0 on Windows 7, I get some php files, insert them on www folder... and when I tried edit any with running server, its rollback for few seconds (in notepad++ I get alert with massage: "some other program modified that file, do you want to reload it?") when I reload file I got old version of file. With server turned off, I can edit files, but when it goes on again files rollback again. Please help. 回答1: Probably the cause may not related to Wampserver. It does not

Corrupt Wampserver - how to recover?

妖精的绣舞 提交于 2019-12-25 02:21:46
问题 My laptop crashed this morning after which the wampmanager.ini was corrupted. I found out how to resolve that by pasting in a replacement and ensuring that this line pointed to the correct directories: Action: run; FileName: “c:/wamp/bin/php/php5.4.3/php-win.exe”;Parameters: “refresh.php”;WorkingDir: “c:/wamp/scripts”; Flags: waituntilterminated However, I still get an error "Exception Eception in module wampmanager.exe at 000F15A0. Could not execute run action: The directory name is invalid.

Wampserver - page is displaying differently depending on how I visit it?

我的未来我决定 提交于 2019-12-25 00:24:53
问题 To get used to using server software (and to make it easier to test PHP scripts), I thought I'd host a website myself. I successfully installed Wampserver, and I can visit the page by going to either file:///C:/wamp/www/site/index.php or 127.0.0.1/site/index.php. Going to the former displays the page how I want it; http://i49.tinypic.com/19xqn6.png. But when I visit it at the latter, it displays differently (the "logged in" notice moves down); http://i49.tinypic.com/sy9feg.png. Why does it

Angular and PHP project 'Access-Control-Allow-Origin' header contains multiple values

最后都变了- 提交于 2019-12-25 00:13:28
问题 I am working on a php and angular 6 based single page application. The project runs normally except for today when I saw the following error at the console: Access to XMLHttpRequest at 'http://dev.local/scripts/login.php' from origin 'http://localhost:4200' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'http://localhost:4200, *', but only one is allowed. By dev.local I mean, the virtual host created using wampserver for testing purposes. On

WAMP server stays yellow, though server is functioning normally?

橙三吉。 提交于 2019-12-24 23:17:49
问题 I turned on my computer today and it performed three unexpected updates (I had updates disabled, yet for some reason it continues to update). Now, my wampserver will launch and will run essentially normally but the icon refuses to change to green. I don't know why it's doing this and am worried that it may have a negative impact in someway. Couldn't find much about it elsewhere. Sorry for the lack of details, I really don't know what the issue could even be. Edit: I cleared my apache error

Wamp Server 3.1.4 showing (environment variable PATH) error

为君一笑 提交于 2019-12-24 22:54:38
问题 I am getting environment variable PATH error from wamp server. already set the path (C:\wamp64\bin\php\php7.2.10) in advance system settings but again getting the same error Sorry, There is an error. There is Wampserver path (c:/wamp64) into Windows PATH environnement variable: (C:\wamp64\bin\php\php7.2.10) It seems that a PHP installation is declared in the environment variable PATH C:\wamp64\bin\php\php7.2.10 Wampserver does not use, modify or require the PATH environment variable. Using a

Wamp is not working after Windows 10 upgrade

寵の児 提交于 2019-12-24 16:14:28
问题 WampServer worked fine on my computer running Windows 8.1. I've upgraded to Windows 10, and now Wamp is not working. The WAMP icon is red. I've looked into the Internet Information Services and found that World Wide Web Services folder was unchecked. I went to services.msc and the World Wide Web Publishing Service is missing from the list. Took off skype from port80. I've tried changing the port address in httpd.conf to 8090 and 9080. I tested port80 through WAMP - Apache interface and found

Warning: DOMDocument::load() [domdocument.load]: I/O warning : failed to load external entity

谁说胖子不能爱 提交于 2019-12-24 11:56:54
问题 I was using this piece of php script in a application running under over XAMPP on my local machine: $dom = new DomDocument(); $filename = "library.xml"; if (!$dom->load($filename)) die("Could not parse iTunes XML file: ".$filename); Then i tried to move this application to a WampServer without success, with the following warning: Warning: DOMDocument::load() [domdocument.load]: I/O warning : failed to load external entity "file:///C:/wamp/www/parser/library.xml" in C:\wamp\www\parser\includes

InputStream is = httpURLConnection.getInputStream(); stop working

梦想的初衷 提交于 2019-12-24 10:18:13
问题 I'm creating an Android project where the Registrationadmin activity connects to a PHP file (in a local server, localhost) using HttpURLConnection; I have a problem with the following code line: InputStream is = httpURLConnection.getInputStream(); When I run the project, the application stops at this point,and it also gives D/NetworkSecurityConfig: No Network Security Config specified, using platform default this error Where is the problem? I report the code part here: package com.example.hp