wampserver

wamp server php extension PECL Missing

a 夏天 提交于 2019-12-07 10:42:28
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 ... 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. i have found this source of pecl_http package, but dont know how to make it work on wamp as there is no .dll file in there. http://pecl.php.net/package/pecl_http This question is old now, so if you

PHP refuses to output data from var_dump, print, etc

笑着哭i 提交于 2019-12-07 09:59:27
问题 I'm running a WAMP server at the moment, and have been spending the past 30 minutes trying to figure out how and why my project won't output any PHP data specified. At first, I thought that it was because I had an .htaccess file which output_buffering disabled, so I deleted that. Still, no dice. Then, I checked my httpd.conf , looked around for keywords such as display_errors , output_buffering , etc. and all seemed to be checked out just fine. Then, I tried turning on all error reporting by

Can't access files in a subdirectory using Apache server

送分小仙女□ 提交于 2019-12-07 07:30:48
问题 I have an Apache 2.2.21 server installed on my Windows 7 machine. My site is up and my scripts from /scripts subdirectory are working but when I try to load icons from /icons I get a 403 forbidden error. I've already added this to my httpd.conf file: <Directory "c:/wamp/www/icons/"> Options Indexes FollowSymLinks Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory> Still no effect. So the question is: how can I access files in my /icons subfolder? P.S.: Using /images subdirectory

Reinstalled WAMP, Wordpress Tables Not Found BUT Are in PHPMYADMIN

六眼飞鱼酱① 提交于 2019-12-07 04:27:34
问题 OK strange situation and I hope I am not just out of luck. I upgraded from Windows 7 to 8 and when I did WAMP would not work. I reinstalled WAMP not thinking and followed instructions online to get WAMP working. Now though my Wordpress site redirets me to the install page. When I go into phpmyadmin it looks like all of my tables are there but when I click on the wordpress database is says "No tables found in database". If I click on one of the tables listed under wordpress it gives me the

WAMPServer not working properly on Windows 10, “could not perform service action”

妖精的绣舞 提交于 2019-12-07 03:24:06
问题 Recently I have upgraded from windows 7 64 to windows 10 64. Before that I've had WAMPServer running like a charm, but now it doesn't work. Whenever I launch it I get the server offline. Clicking on the "put online" results only in getting the "could not perform service action" error pop up. I have already tried reinstalling Visual C++ Redistributable for Visual Studio 2012 Update 4, renaming the localhost and listen from 80 to 8080, turning off skype, none of these worked. Does anybody know

PHP header location - not displaying error?

[亡魂溺海] 提交于 2019-12-07 01:31:17
When I echo something before header("LOCATION: page.php"); - I expect to show an error but it didnt, it just redirect to that page. What gone wrong? Example: <?php error_reporting(E_ALL); ini_set('display_errors', '1'); echo "Hello"; header("LOCATION: page.php"); ?> In the php.ini output_buffering = off error_reporting = E_ALL display_errors = on I am using Wamp, PHP 5.3.0 var_dump(ini_get('output_buffering')); and what about this one var_dump(ob_get_status(1)); ? 来源: https://stackoverflow.com/questions/8093719/php-header-location-not-displaying-error

Install PEAR with Wamp 2.1

五迷三道 提交于 2019-12-07 00:45:27
问题 I want to install PEAR on my windows 7. I have Wamp 2.1 with php 5.3.4 It seems that there's no such files as "go-pear.bat" in this new version of wamp. Then how can I install PEAR ? Thank you. 回答1: Please follow the PEAR installation instructions on the PEAR website. And yes, you can follow the Unix steps to get a go-pear.phar file. 回答2: I have followed these steps and it works for me 1. download go-pear.phar right from pear website. http://pear.php.net/go-pear.phar 2. Copy this file in c:

WAMP server switch MySQL to MariaDB

别来无恙 提交于 2019-12-06 22:01:07
问题 How can I switch the database from MySQL to MariaDB in WAMP 3.1.0? I'm looking for it, but I can not find it. 回答1: From the image you show it looks like both MySQL and MariaDB are already running! NOTE: Thats a bit memory hungry! Simple test to see if both MySQL and MariaDB are running. Launch phpMyAdmin and look at the login screen. If both are running you should see a Server Choise dropdown under the Username and Password fields. In there you will see 2 options like below. To pick MySQL or

WAMPserver, two php.ini files

混江龙づ霸主 提交于 2019-12-06 20:24:26
问题 I was looking for a way to change the max file size in phpmyadmin (mysql imports). I solved it after discovering there were two php.ini files : one is located at C:\wamp\bin\apache\Apache2.4.4\bin considering the default install path, while the other one is at C:\wamp\bin\php\php5.4.16. The funny aspect here is that, when I want to change variables, I should pay attention to the apache/-located php.ini file, instead of the php/-located one. And here comes my question: why ? Why are there two

How to find if my WAMP Server is 32bit or 64bit?

醉酒当歌 提交于 2019-12-06 17:24:08
问题 I have installed WAMP on my Windows 8, now for some reasons I need to know if it is 32bit or 64. Browsed around and looked in 'abouts' and version/licence files but couldn't find anywhere. It is WAMPServer 2.2 by the way. 回答1: One easy way is to look in the process list. Bring up the Windows Task Manager. On the processes tab locate the WAMPServer process. If it is running as a 32-bit process it was say "(32 bit)" after the name. If it doesn't it is a 64-bit process. Obviously... if you are