xampp

Extension PHP5 does not parse in XAMPP

◇◆丶佛笑我妖孽 提交于 2019-11-27 23:23:38
I've installed XAMPP Apache server and put my website into htdocs. I've started Apache server. On my website I've got files with extension PHP and with extension PHP5.The difference is that when I type in into browser localhost/file.php - I see a parsed website. But when I type localhost/file.php5 (i have this file on server), than browser asks me if I want to download or open this file. And if I choose open than I see PHP code of file.php5! I've looked into configuration, so: I dont have htaccess file PHPINFO() shows PHP 5 c:\xampp\apache\conf\extra\httpd-xampp is included into configuration

How to install mod_wsgi for apache 2.4 and python 3.4 on windows?

╄→尐↘猪︶ㄣ 提交于 2019-11-27 23:20:48
I had apache 2.4 already installed with xampp.I tried adding mod_wsgi using the steps mentioned here But when I add the line LoadModule wsgi_module modules/mod_wsgi-py34-vc10.so Apache does not start. Graham Dumpleton It is better to build mod_wsgi yourself from code rather than use an arbitrary binary off the net. The steps are as follows. Ensure you have a decent Apache installation which includes header files, e.g. Apache 2.4.37 Win64 from Apache Lounge . Preferably installed at location of C:/Apache24 . Ensure your Python installation is set up so that you can pip install modules. This

No mail received in inbox with XAMPP 1.8.0, MercuryMail and mail()

﹥>﹥吖頭↗ 提交于 2019-11-27 23:12:46
I upgraded my local server using XAMPP 1.8.0 which contains Apache 2.4.2, PHP 5.4.5 and MySQL 5.5. I send mails with PHP mail() function by running MercuryMail, but no email received in my inbox. Sending mails are working when I tested with Mozilla Thunderbird. And the mail() function seems to be working with no error issued. I checked php.ini in my XAMPP installation path D:\xampp\php . I saw this below [mail function] ; XAMPP: Comment out this if you want to work with an SMTP Server like Mercury ; SMTP = localhost ; smtp_port = 25 ; For Win32 only. ; http://php.net/sendmail-from ; sendmail

Fatal error: Class 'XSLTProcessor' not found

江枫思渺然 提交于 2019-11-27 22:43:37
I'm using XAMPP Server 1.7.7 While opening the php file, i receive the error Fatal error: Class 'XSLTProcessor' not found Berry Langerak Install the XSL extension to get that class. This might be as easy as uncommenting (remove the starting ';') on the line that reads extension=php_xsl.dll in php.ini on Windows, or apt-get install php5-xsl on most Linux-based systems. For custom builds of PHP, use configure option --with-xsl (requires package libxslt1-dev). Its necessary install the XLS extension. My solution by my context. I'm using one docker container contain ubuntu base and using php-fpm

PHP session_start fails

梦想的初衷 提交于 2019-11-27 22:22:56
问题 I'm trying to start the session in a header page in my webiste. But it seems there might be some sort of bug because it fails with the following error: Warning: session_start() [function.session-start]: open(\xampp\tmp\sess_a7430aab4dd08d5fc0d511f781f41fe5, O_RDWR) failed: No such file or directory (2) in D:\Development\PHP\tt\Include\header.php on line 3 I'm using the default settings for xampp, everything is straight out of the box. For some reason its failing to open the file. however when

error running apache after xampp install

空扰寡人 提交于 2019-11-27 21:56:07
I installed xampp on win7 and get this error when starting apache. I unchecked skype and nothing changes. How do I find what is using port 80? How do I fix this please. I dont have another server running. update this is the error. I click on start and get this problem Error: Apache shutdown unexpectedly. 11:27:19 PM [Apache] This may be due to a blocked port, missing dependencies, 11:27:19 PM [Apache] improper privileges, a crash, or a shutdown by another method. 11:27:19 PM [Apache] Press the Logs button to view error logs and check 11:27:19 PM [Apache] the Windows Event Viewer for more clues

PHP: get_current_user() vs. exec('whoami')

江枫思渺然 提交于 2019-11-27 21:39:39
问题 Short version of the question: What's the difference between get_current_user(); and exec('whoami'); ? Long version of the question: I'm on a XAMPP Localhost on a Mac. I'm using Apache, building a PHP based website in a folder (let's call it folderxyz ) within the htdocs folder (var/www in some flavors of Linux+Apache). I was playing around with a database connection, testing out PDO::ERRMODE_EXCEPTION described here: Link And I got this error: file_put_contents( PDOErrors.txt ): failed to

Fatal error: Call to undefined function sqlsrv_connect() in C:\\xampp\\htdocs

旧巷老猫 提交于 2019-11-27 21:27:18
I am using Xampp version 3.2.1 with PHP version 5.6.8. Microsoft Azure SQL server GOAL I am trying to create a web app that will access to my database, and be able to SELECT , INSERT , UPDATE and DELETE records. PROBLEM I cannot connect to the database server ERROR Fatal error: Call to undefined function sqlsrv_connect() in C:\xampp\htdocs\BLT\Employee_Database .php on line 25 CODE <html> <head> <Title>Employee Database</Title> </head> <body> <form method="post" action="?action=add" enctype="multipart/form-data"> Last name <input type="text" name="LastName" id="LastName"/></br> First name

How can I change MariaDB to MySQL in XAMPP?

我是研究僧i 提交于 2019-11-27 21:17:24
A. First things first: Mr. Google hasn't helped me to found any reply to my question above Yes, I have read a solution to the opposite question here How to upgrade MySQL to MariaDB in XAMPP in 5 minutes on Windows (and it hasn't helped me: MySQL simply doesn't start) I don't expect replies like 'MariaDB is better, - stop your silly exercises'. B. I am working with MySQL Workbench and because of that don't want to face any incompatibilities either now or in future. C. Can someone share their experience (if any) in solving this problem? You can use the following way. Stop MariaDB in Xampp which

How do I use MySQL through XAMPP?

瘦欲@ 提交于 2019-11-27 20:07:55
问题 I installed XAMPP v3.2.1 because I wanted to learn how to create database in MySQL and learn more about TOMCAT. However, I am a little confused about what to do now. I have read many blogs and the documentation on this page http://dev.mysql.com/doc/refman/5.0/en/creating-database.html. While following the directions I found that: I can't access my local host. Attempted Solution: I shut down skype because I read that might be an issue. I don't have any older versions of XAMPP on my computer