xampp

Installing ssh2 on xampp

徘徊边缘 提交于 2019-11-28 10:48:49
问题 I am trying to install ssh2 on xampp Xampp version : 3.2.1 PHP version : 5.4.19 Until now I have used following step to install: download and copied libssh2.dll file to c:\windows\system32 php_ssh2.dll and php_ssh2.pdb files in the "ext" (e.g c:\xampp\php\ext ) folder; remove ; from this line extention:php_ssh2.dll in php.ini. restart xampp But I am getting error in log file: unable to load dynamic library php_ssh2.dll Can anyone help me with this? 回答1: A couple of things you may have missed

Accesing XAMPP MySql Database from Another Computer

感情迁移 提交于 2019-11-28 10:26:16
So a friend of mine and I are using both xampp on ubuntu, if that helps, to connect between each other's website, We both created the same php file to connect, so we use de IP of the other, but then it says an error Warning: mysql_connect() [function.mysql-connect]: Host 'coke-laptop.local' is not allowed to connect to this MySQL server in /opt/lampp/htdocs/connection.php on line 2 Could not connect: Host 'coke-laptop.local' is not allowed to connect to this MySQL server We have this code on the connection.php file: <?php $link = mysql_connect('10.100.161.37','root',''); if (!$link) { die(

Remove index.php from codeigniter in xamp

徘徊边缘 提交于 2019-11-28 09:17:53
问题 I've tried quite a few answers but keep coming up against the good ol, 404 wall of terror. I'm on Windows 7 using a xamp stack. mod_rewrite is enabled. I put the htaccess file in the main "codeigniter" directory, that is, the directory with application, system and user_guide. Should I put it under the application directory instead? The one with the views/model/config/etc.? Here is my current .htaccess file: RewriteEngine On # Put your installation directory here: # If your URL is www.example

Install PHP Internationalization extension (Intl) on XAMPP on Mac

心不动则不痛 提交于 2019-11-28 09:15:49
How can I install Intl on my XAMPP server on OS X? I tried modifying my XAMPP>etc>php.ini and uncommenting the line: ;extension=php_intl.dll and restarting Apache, but it didn't work. Installing "intl" extension on OSX. Normally, the PHP is automatically installed on OSX. So, if you would like to use the XAMPP, or whatever apache server, you must change the path point to XAMPP. You can check the path by using: $ which php You should get /Applications/XAMPP/xamppfiles/bin/php if not, you will get /usr/bin/php. This is OSX' php. So, you have to change it by using: $ PATH="/Applications/XAMPP

PHP with MySQL is Slow

╄→гoц情女王★ 提交于 2019-11-28 09:13:29
(IMPORTANT) EDIT 3: Running the testajax2.php by itself and NOT AJAX. The duration is about the same, 1.02-1.03s. So I guess that means the problem is in PHP-MYSQL or XAMPP?? When ran through phpmyadmin query, here's the result: Showing rows 0 - 29 ( ~50 total , Query took 0.0015 sec ). It appears the problem lies not in Ajax after all, but perhaps in PHP. Help please... (I've also just edited the question title.) Answer: Add the following line in the hosts file located in ”C:\Windows\System32\drivers\etc” 127.0.0.1 localhost The question before: Is it normal for Jquery Ajax with sql queries

How to remove port number from http://localhost:8123 to use as http://localhost? [closed]

安稳与你 提交于 2019-11-28 08:41:10
I had to change my default apache port number 80 to 8123 (just random number) I changed the following files .. httpd.conf Listen 8123 ServerName localhost:8123 httpd-vhosts.conf NameVirtualHost *:8123 <VirtualHost *:8123> ServerName localhost DocumentRoot "C:/xampp/htdocs" DirectoryIndex index.php </VirtualHost> Windows Hosts file 127.0.0.1:8123 localhost ::1:8123 localhost I am using Windows 7. After making all these changes, I restarted apache but I am still unable to access http://localhost .... however http://localhost:8123 works fine ... can someone help me find what I am doing wrong here

New line (“\\n”) in PHP is not working

谁都会走 提交于 2019-11-28 08:32:17
For some strange reason, inserting echo "\n"; and other scape sequence characters are not working for me, that's why I am just using <br /> instead. The images of the results of examples in books and other documentations seems just alright. I'm currently using XAMPP and already used WAMPP with the same actual result. Why is that? Edit: It seems that I cannot understand the concept after comparing your answers with this: PHP Linefeeds (\n) Not Working Edit: Sorry I didn't realized that the link above is referring to a php code writing to a file. I just wonder why I have these few php sample

PHP Curl on 81 port

一个人想着一个人 提交于 2019-11-28 08:25:53
问题 I have locally set 2 Apache Server on Port 80 and port 81 using XAMPP. Iam successfully able to access them through my browser. Currently the URL can be accessed at http://27.4.198.225/ncmsl/check.php and http://27.4.198.225:81/ncmsl/check.php. When I try to write a simple curl code for them $ch=curl_init(); $url = "http://27.4.198.225/ncmsl/check.php"; curl_setopt($ch, CURLOPT_TIMEOUT, 60); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60); curl_setopt($ch, CURLOPT_URL, $url); curl_exec($ch);

xampp change document root

无人久伴 提交于 2019-11-28 07:03:48
I have eclipse IDE and I have set up a workspace in "C:/users/matt/documents/web/". I set up a project called test in the folder test "C:/users/matt/documents/web/test". I have changed the Document root in the httpd file to "C:/users/matt/documents/web/" and the same for I put "C:/users/matt/documents/web/test" into the browser but I cant access the files in the workspace, same for http://localhost/xampp/web/test/ , http://localhost/web/test/ and http://localhost/test/ . I'm out of my depth with server configurations, please help! Tineo c:\XAMPP\apache\conf\httpd.conf <VirtualHost *:80>

Xdebug and Netbeans are not communicating with each other

牧云@^-^@ 提交于 2019-11-28 06:30:32
问题 I have spent a couple of days surfing the internet to find an answer to my question. I have tried everything I could but have been unsuccessful thus far in solving this problem. Netbeans keeps giving Waiting for Connection (netbeans-xdebug) . I am using the following software: XAMPP Version 1.8.1. Windows 7 Netbeans IDE 7.2.1 Xdebug 2.2.1 I installed the latest version according via the wizard for the xdebug.org site (http://xdebug.org/wizard.php). Xdebug is working according to phpinfo().The