wamp

WAMP error: Forbidden You don't have permission to access /phpmyadmin/ on this server

假如想象 提交于 2019-11-26 03:17:13
问题 I am new to WAMP and I have just installed it today. The setup went well and localhost seems to work, but when I try to access phpMyAdmin I get this error: Forbidden You don\'t have permission to access /phpmyadmin/ on this server. Why do I get this permission access error with phpMyAdmin? I am using Windows 7. 回答1: Change the file content of c:\wamp\alias\phpmyadmin.conf to the following. Note: You should set the Allow Directive to allow from your local machine for security purposes. The

Fatal error: Call to undefined function sqlsrv_connect()

对着背影说爱祢 提交于 2019-11-26 02:58:38
问题 I have come across quite a few post regarding the same subject question, however I am still unable to resolve it and so I ask. I am trying to connect to sql in my php script. My connection string is: /* Specify the server and connection string attributes. */ $serverName = \"xxx-PC\\SQLExpress\"; $connectionOptions = array(\"Database\"=>\"Salesforce\"); $conn = sqlsrv_connect($serverName, $connectionOptions); if($conn === false) { die(print_r(sqlsrv_errors(), true)); } I have installed and

How to increase maximum POST variable in PHP?

╄→尐↘猪︶ㄣ 提交于 2019-11-26 02:37:43
问题 I\'m using WAMP in my local machine, when a FORM(method=\"POST\") with 2000 input fields is submitted I\'m able to read only 1001 _POST variable. i.e With Netbeans debugger I can clearly see _POST size is always 1001 if there are more than 1001 input fields in the form. I used this http://ideone.com/GAw14 java code to generate form with N input fields and tested. The same is working fine in another machine(WAMP), where I can see all the POST variables. Please help me to solve my problem. 回答1:

Configure WAMP server to send email

人盡茶涼 提交于 2019-11-26 02:28:22
问题 Is there a way that I can configure the WAMP server for PHP to enable the mail() function? 回答1: Configuring a working email client from localhost is quite a chore, I have spent hours of frustration attempting it. I'm sure someone more experienced may be able to help, or they may perhaps agree with me. If you just want to test, here is a great tool for testing mail locally, that requires almost no configuration: http://www.toolheap.com/test-mail-server-tool/ It worked right off the bat for me,

Project Links do not work on Wamp Server

人盡茶涼 提交于 2019-11-26 01:17:37
问题 I am installing the Wamp Server on another computer to run a mid-sized database and UI. I have been successful in blocking IIS and routing the server to Localhost:8080. But whenever I try to access on of my projects from the localhost homepage, in the www file; I get redirected to a Page not found error. When I hover above the links the directory always comes up \"http:// ProjectFolderNameHere /\". when it\'s supposed to be \"http:// LocalHost:8080 / ProjectFolderNameHere /\". What can I do

How To Set Up Apache Virtual Hosts on XAMPP (Windows)

三世轮回 提交于 2019-11-25 23:46:40
问题 Where does this tag go? Where do I find the vhosts file? I couldn\'t find it in the documentation. <VirtualHost hostname:80> ... SetEnv NS_ENV variable_value ... </VirtualHost> 回答1: Full guideline to make VHOST (Virtual Host) on XAMPP/WAMP Note: To start with, the only difference for this guideline, between XAMPP and WAMP or other Apache packages for Windows, is question where those packages are installed on your computer. Introduction: vhost (virtual host) is a great solution if you intend

How to enable local network users to access my WAMP sites?

你离开我真会死。 提交于 2019-11-25 23:37:00
问题 First of all, I read at least 20 articles about this topic, and not one of them can match up the scenario and I screwed up the process numerous times. So I turn help by offering my specific scenario if any help will be appreciated. Laptops or other devices are connected through a wireless router. I\'ve tried: Enable Port 80 on firewall. nothing happened. Run ping , ipconfig and tried IPv4 address there, denied access or bring me to verizon (my ISP), router config page. Tried config Apache,

cURL error 60: SSL certificate: unable to get local issuer certificate

倾然丶 夕夏残阳落幕 提交于 2019-11-25 23:33:18
问题 I use WAMP on a local development environment and am trying to charge a credit card but get the error message: cURL error 60: SSL certificate problem: unable to get local issuer certificate I searched a lot on Google and lots of people are suggesting that I download this file: cacert.pem, put it somewhere and reference it in my php.ini. This is the part in my php.ini: curl.cainfo = \"C:\\Windows\\cacert.pem\" Yet, even after restarting my server several times and changing the path, I get the

How to send an email using PHP?

流过昼夜 提交于 2019-11-25 22:54:36
问题 I am using PHP on a website and I want to add emailing functionality. I have WAMPSERVER installed. How do I send an email using PHP? 回答1: Using PHP's mail() function it's possible. Remember mail function will not work in Local server. <?php $to = 'nobody@example.com'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); ?>