wamp

Access Denied when opening phpMyAdmin

时光怂恿深爱的人放手 提交于 2019-11-28 07:40:28
What could be the problem of my mysql database server in WAMP. I can't open it. The error says: MySQL said: Documentation #2002 - No connection could be made because the target machine actively refused it. The server is not responding (or the local server's socket is not correctly configured). I checked the ports, but no other apps are using port 3306 which is dedicated to mysqld. Here's what mysql.log says: 120728 22:34:40 [Note] Plugin 'FEDERATED' is disabled. 120728 22:34:42 InnoDB: The InnoDB memory heap is disabled 120728 22:34:42 InnoDB: Mutexes and rw_locks use Windows interlocked

Forbidden: You don't have permission to access / on this server, WAMP Error

断了今生、忘了曾经 提交于 2019-11-28 07:33:51
I have installed wamp on windows 8 and received above error whenever I go to localhost or phpmyadmin. After much searching I found many answers which includes modifying the httpd.conf to Allow from All etc. This link shows such a common answer with further information. My problem is that many have argued that it gives permission to all users to access phpMyAdmin and it is insecure and vulnerable etc. I want to create perfectly secure WAMP server and is it OK if I do this? Can someone please provide me with some reference or information? Sarah Kemp I find the best (and least frustrating) path

file_exists() returns false, but the file DOES exist

旧街凉风 提交于 2019-11-28 07:14:28
I'm having a very weird issue with file_exists(). I'm using this function to check if 2 different files in the same folders do exist. I've double-checked, they BOTH do exist. echo $relative . $url['path'] . '/' . $path['filename'] . '.jpg'; Result: ../../images/example/001-001.jpg echo $relative . $url['path'] . '/' . $path['filename'] . '.' . $path['extension']; Result: ../../images/example/001-001.PNG Now let's use file_exists() on these: var_dump(file_exists($relative . $url['path'] . '/' . $path['filename'] . '.jpg')); Result: bool(false) var_dump(file_exists($relative . $url['path'] . '/'

Run a php script as a background process in wamp server

若如初见. 提交于 2019-11-28 07:05:57
I have two php scripts that need to be run as continuous back ground processes in WAMP server. Wamp server is installed in window 7 PC. These scripts are already reside in separate folder in the www root directory. Apache Version :2.2.8 PHP Version :5.2.6 Since this is not a unix platform I can't use nohup php script.php > /dev/null & command to do this job. I'm looking for similar kind of command or method which works in wamp server windows platform. Can anyone explain the steps I need to be taken to do this task? create a batch file to run your php script using php executable "C:\wamp\php

WAMP Virtual Host not working

强颜欢笑 提交于 2019-11-28 06:35:16
I am using a wamp version 2.5 My Apache is 2.4.9 PHP: 5.5.12 MySQL: 5.6.17 I have these configurations: On my httpd.conf # Virtual hosts Include conf/extra/httpd-vhosts.conf On my G:\wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhost.conf # Virtual Hosts # # Required modules: mod_log_config # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see

How to enable https (localhost) url in WAMP server (v2.5)? [duplicate]

六眼飞鱼酱① 提交于 2019-11-28 06:30:59
This question already has an answer here: How to enable SSL in Wamp Server? 3 answers I am using wamp server and running php project in localhost. I would like to test my project using "https" based url. I tried with " https://localhost/myproject/ " and it redirecting me to "This webpage is not available" page. I have enabled "php_openssl" and "ssl" module into apache config. But still unable to access https based url. azdoud You have to set up your WAMP first with key and a certificate: Download openssl choose the appropriate version according to your Operating system from here . Install it,

How to downgrade Wampserver PHP and Apache?

天涯浪子 提交于 2019-11-28 06:24:44
问题 I have a project that runs on Apache 2.2.21 and PHP 5.3.10. I installed the latest wampserver which have Apache 2.4.4 and PHP 5.4.16. How can I downgrade the version? I also have a project that runs in the latest and not in the old version that's why I can't install the old version of wampserver. In my wampserver I installed the Apache and PHP which is old version. But after installing it and restarting my server. I can't run the Apache and PHP. If I start the version of Apache it says the

Call to undefined function curl_init() - with WAMP

情到浓时终转凉″ 提交于 2019-11-28 06:18:25
I'm trying to get cUrl to work, and I'm stumped. I've uncommented extension=php_curl.dll in the php.ini file and checked that php_curl.dll exists in the directory that extension_dir points to. I've also checked that the php.ini in the Apache directory is right. I've copied the libcurl.dll 's to Windows/System32, Windows/SysWOW64 and wamp\bin\php\php5.4.3 And I've restarted the services every time. And still I get the Fatal error: Call to undefined function curl_init() . Curl doesn't show up when I run a phpInfo() . But when I look in the WAMP-menu PHP->PHP extensions php_curl does has a

Where to find php_imagick.dll for php 5.5.12 for Windows wampserver 2.5?

∥☆過路亽.° 提交于 2019-11-28 06:06:54
I am using Wampserver 2.5 on my Windows 7 (32 bit) and my PHP version is 5.5.12 . I am unable to use IMAGICK . I have installed IMAGICK version 6.8.9 on my system and it works like charm on the command line. Further, I have followed instructions to enable it on my wampserver. Inserted " SetEnv MAGICK_HOME C:/imagemagick " in httpd.conf at Appache. Downloaded php_imagick-3.1.2-5.5-ts-vc11-x86.zip Copied and pasted the php_imagick.dll from zip to php.ini at Appache. While running a simple script on php [$a = new Imagick()] I get the error [Class 'Imagick' not found] . Kindly direct me to the

WAMPserver - why is the stack installed with 2 php.ini files?

前提是你 提交于 2019-11-28 04:36:59
问题 I'm a beginner programmer, and I'm learning to program a web app using WampServer. Recently I have tried to modify the internal encoding setting in the php.ini file, and I discovered that there are 2 or them. One is under wamp\bin\php\php5.3.0 and the other one is under wamp\bin\apache\Apache2.2.11\bin . It turns out the 2nd one is the one that governs the behavior of php when I run my program. So why are there 2 of those files, and what is their respective function? Thanks, JDelage 回答1: One