wampserver

wamp server php extension PECL Missing

我是研究僧i 提交于 2020-01-03 00:44:05
问题 Does any one know why the PECL extension in wamp server does not exists? I am trying to use the http_build_url() but I get this error: Fatal error: Call to undefined function http_build_url() in ... 回答1: The function http_build_url() is part of the PECL extension pecl_http . In your WAMP directory locate pecl.exe and open a command shell. Type: pecl install pecl_http and the function call should work. 回答2: i have found this source of pecl_http package, but dont know how to make it work on

Wamp server 403 forbidden using a public ip (works with localhost and ipv4 address)

前提是你 提交于 2020-01-02 21:58:08
问题 I have just installed wamp server and tried to set it up to allow people from other ip addresses to view my website. I have forwarded the port in my router and tested with http://www.yougetsignal.com/tools/open-ports/. In the httpd.conf file I have set Listen 0.0.0.0:8080 Listen [::0]:8080 ServerName 192.168.1.69:8080 # onlineoffline tag - don't remove Require all granted The problem is that if I use localhost:8080 or 192.168.1.69:8080 the wampserver homepage will show up, but if I use my

IP address is shown in address bar instead of domain

亡梦爱人 提交于 2020-01-01 12:12:56
问题 I have a WAMP home web server up and running on a static IP and registered a domain with Namecheap, but I'm a bit shaky with DNS. At first I used URL Redirect and pointed it to my IP. This meant that when you typed in the domain (like example.com) it just redirected you right to my IP, replacing the domain name with it in the address bar. Now I'm trying to get the domain to show instead of the IP in the address bar, which I'm struggling to understand exactly how to do. The latest thing I've

Enable SSL support for pgsql

限于喜欢 提交于 2019-12-31 00:09:09
问题 In phpinfo() , under the pgsql section, SSL support is currently disabled : How can I enable it? 回答1: This is about SSL support of Pgsql really. The library libpq is probably not compiled with SSL support. Have you built the package of pgsql and/or libpg yourself? If so, you can enable it by compiling with the option --with-openssl If you did not compile it yourself, try to find a package with SSL built in. 回答2: First, you need to determine “How your current PostgreSQL extension has been

wamp server 3.0 virtual host on another device

百般思念 提交于 2019-12-30 14:15:09
问题 I am trying to view my site on other devices, mainly mobile devices. I am using Wampserver 3.0 with apache 2.4.17. I am also using the virtual host feature built in wampserver to view my site and my code is not in the wamp64\www\ folder, instead it is in my documents folder. I have been able to allow other devices view the wampserver default page but whenever I go to my website i get "fitly's server DNS address could not be found" Here is the httpd-vhosts.conf file <VirtualHost *:80>

PHP SESSION data lost between page loads with WAMPserver 2.0 on localhost

两盒软妹~` 提交于 2019-12-30 11:22:46
问题 I have a PHP authentication system on my website using the $_SESSION variable. A form submits a username and password to the file "login.php". It is handled like this: <?php include '../includes/sessionstart.inc.php'; ?> <?php ob_start(); ?> if($_POST){ $q = mysql_query("SELECT id, company FROM users WHERE username = '".mysql_real_escape_string($_POST['username'])."' AND password = '".md5($_POST['password'])."'"); if(mysql_num_rows($q) >= 1){ $f = mysql_fetch_Array($q); $_SESSION['company'] =

Wampserver: problems to load php_pdo_pgsql and php_pgsql modules

寵の児 提交于 2019-12-30 09:39:09
问题 Wampserver has a problem when loading php_pdo_pgsql and php_pgsql modules. After searching on several forums the solution is to download from http://www.bmedon.net/download.html both .dll files and overwrite the existing ones. The problem is that it didn't work! I checked all php.ini files. I followed http://diego-loquese.blogspot.com/2010/12/conectar-wampserver-con-postgresql.html instructions (which is a summary of all the forums I found). I am using WampServer 2.2 for Windows x64 with PHP

Wampserver: problems to load php_pdo_pgsql and php_pgsql modules

南楼画角 提交于 2019-12-30 09:38:07
问题 Wampserver has a problem when loading php_pdo_pgsql and php_pgsql modules. After searching on several forums the solution is to download from http://www.bmedon.net/download.html both .dll files and overwrite the existing ones. The problem is that it didn't work! I checked all php.ini files. I followed http://diego-loquese.blogspot.com/2010/12/conectar-wampserver-con-postgresql.html instructions (which is a summary of all the forums I found). I am using WampServer 2.2 for Windows x64 with PHP

How to install ImageMagick with Wampserver 3.0.0 64?

这一生的挚爱 提交于 2019-12-30 05:16:32
问题 I lost a day trying to figure this out, at various times getting "no decode delegate for this image format" and "The specified module could not be found" errors. The information I could find on these problems was dated in terms of version numbers, and many included instructions like overwriting the ImageMagick-installed dlls from the PECL distribution or copying dlls into windows/system32; two things I didn't want to do. Environment: Windows 10 Wampserver: 3.0.0, Apache/2.4.17 (Win64) PHP/5.6

Wamp Server: Multiple Virtual Hosts are not working on Windows

安稳与你 提交于 2019-12-29 04:50:26
问题 I have two virtual hosts on windows(for example: test1.dev and test2.dev). But it always load content of test1.dev for both virtual hosts. Following are my files: hosts: 127.0.0.1 localhost 127.0.0.1 test1.dev 127.0.0.1 test2.dev httpd.conf: <IfModule ssl_module> SSLRandomSeed startup builtin SSLRandomSeed connect builtin </IfModule> Include "c:/wamp/alias/*" <VirtualHost 127.0.0.1> ServerName test1.dev DocumentRoot "C:\wamp\www\test1\public" </VirtualHost> <VirtualHost 127.0.0.1> ServerName