xampp

You are using mariadb as an anonymous user

孤街醉人 提交于 2019-12-22 10:04:15
问题 All the privileges have been denied and all my databases seem to have been deleted. I get the error mentioned in the subject when I try to change the password. Initially there was no password set and this behaviour started after executing the following command update mysql.user set password=password('newpass') where user='root'; I enter mysql using: mysql -u root Every command I try to execute gives me access denied error. I tried surfing on google but did not get a solution to solve the

how to replace the xampp favicon with my own one?

女生的网名这么多〃 提交于 2019-12-22 09:59:47
问题 trying to edit the xampp favicon but coudn't do that so revomed them. now my webpages don't even have xampp favicon and i'm unable to add my own icon.can someone walk me through the whole process that really works. if can't then just teach me how to add an icon on a real server where my site soon going to b hosted? Thanks! 回答1: just add the code bellow to your file. <head> <link rel="icon" href="images/favicon.ico" type="image/ico"> </head> 回答2: I think that this will work for you. Just go to

Error installing MongoDb PHP driver with XAMPP on Max OS Lion

限于喜欢 提交于 2019-12-22 09:46:56
问题 I get this error when i try to run following command sudo pecl install mongo Error: ...php_mongo.c:22:10: fatal error: 'php.h' file not found #include <php.h> ^ 1 error generated. make: *** [php_mongo.lo] Error 1 ERROR: `make' failed I am new to MAC, please help me to resolve this and get Mongo Working with PHP. I have installed MacPorts and autoconf 回答1: It seems, that you did not install the xampp "Developer Package", required to build additional php extension. You can download the

when I try to open an HTML file through `http://localhost/xampp/htdocs/index.html` it says unable to connect to localhost

血红的双手。 提交于 2019-12-22 09:18:26
问题 I have installed XAMPP , there is a htdocs folder and inside it index.html file , when I try to open it in my browser through http://localhost/xampp/htdocs/index.html it says unable to connect to localhost . what is wrong ? 回答1: instead of http://localhost/xampp/htdocs/index.html try just http://localhost/index.html or if index.html is saved in a folder in htdocs then http://localhost/<folder-name>/index.html 回答2: htdocs is your default document-root directory, so you have to use localhost

Laravel SMTP Email

限于喜欢 提交于 2019-12-22 08:41:22
问题 Start working with Laravel 4.2 I tried to send email using Gmail STMP server. Below is my app/config/mail.php. return array( 'driver' => 'smtp', 'host' => 'smtp.gmail.com', 'port' => 465, 'from' => array('address' => 'sample_address@gmail.com', 'name' => 'Sample'), 'encryption' => 'tls', 'username' => 'sample_address@gmail.com', 'password' => 'sample password', 'sendmail' => '/usr/sbin/sendmail -bs', 'pretend' => false, ); Below is my php code. <!-- app/views/emails/welcome.php --> Mail::send

XAMPP (WIndows) PHP GMP Functions

眉间皱痕 提交于 2019-12-22 08:33:44
问题 Is there any way to use PHP GMP Functions on windows without using a virtual machine? Thanks in advance. [http://php.net/manual/en/ref.gmp.ph] 回答1: According to GMP's website: GMP's main target platforms are Unix-type systems, such as GNU/Linux, Solaris, HP-UX, Mac OS X/Darwin, BSD, AIX, etc. It also is known to work on Windows in both 32-bit and 64-bit mode. Also try to uncomment ;extension=php_gmp.dll in php.ini Hope it works! 回答2: Now, in XAMPP that uses PHP 7.2.4 comment has another

Stuck Call to undefined function oci_connect() using XAMPP

你离开我真会死。 提交于 2019-12-22 08:12:20
问题 i'm want connect PHP to Oracle Database 12c, i'm already try in this video https://www.youtube.com/watch?v=KJme5JMxKeo i'm already install xampp v3.2.2 and using PHP 5.6 install oracle database 12c : http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html test login in SQLPlus unzip and paste Instant Client(Version 12.1.0.2.0) http://www.oracle.com/technetwork/topics/winsoft-085727.html to directory C set path environtment C:\instantclient_12_1; uncoment semicolon (

Starting Tomcat add-on XAMPP not working

回眸只為那壹抹淺笑 提交于 2019-12-22 07:45:14
问题 I installed XAMPP 1.7.7, including: Apache 2.2.21 MySQL 5.5.16 PHP 5.3.8 phpMyAdmin 3.4.5 FileZilla FTP Server 0.9.39 Tomcat 7.0.21 (with mod_proxy_ajp as connector). My all other services work expect for Tomcat. Things that I did right now, to fix this: I realized that I did not had java on my computer, as on command prompt there was no path for java. So I installed JAVA 1.7.0 and also set the "Environment path". But still its not getting started. Any help would be appreciated. Regards

need help with xampp virtual host

六眼飞鱼酱① 提交于 2019-12-22 06:36:48
问题 I am using XAMPP, Apache 2.2.17. I have added virtual host but my virtual host and localhost both point to the same location. Here is my code in httpd-vhosts.conf <VirtualHost www.domain.tld:80> ServerName www.domain.tld ServerAlias domain.tld *.domain.tld DocumentRoot "C:/xampp/htdocs/workspace/testsite" </VirtualHost> <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs/xampp" ServerAlias localhost ServerName localhost </VirtualHost> With the above code, I get testsite with www.domain.tld so

How do I change default directory and index file for Apache (installed via XAMPP) [closed]

北慕城南 提交于 2019-12-22 05:43:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . How do I change default Directory and index File for Apache (installed via XAMPP) so instead of looking for htdocs and index , it looks for myPath and myFile , respectively? 回答1: The research link you pasted has the first part of the answer to your question, changing the path you want serve but the second part