xampp

How can I add an alias to Apache in XAMPP v3.2.1?

喜你入骨 提交于 2019-12-13 00:40:59
问题 I have added an alias in the httpd.conf file to access my folder at localhost/projects : <IfModule alias_module> Alias /projects "C:/Users/Ben/Google Drive/Projects" <Directory "C:/Users/Ben/Google Drive/Projects"> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all Require all granted </Directory> ScriptAlias /cgi-bin/ "C:/xampp/cgi-bin/" </IfModule> When I try to start Apache in XAMPP 3.2.1 nothing is written to the error.log and Apache fails to start

Can't run PHP after a new installation of XAMPP

落花浮王杯 提交于 2019-12-13 00:17:46
问题 I have been a happy user of XAMPP for years, but today I have updated to the latest Windows 32 bit version on a Windows 10 machine. I couldn't see a 64 bit version. Anyway, all went well, and once I changed some settings, I was able to see all my old databases under the new phpMyAdmin. But my PHP scripts are bombing out before they start. Even phpinfo gives the same error message, which is... "Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0 Fatal error:

form action=“<?=$PHP_SELF?>” results in error 403

♀尐吖头ヾ 提交于 2019-12-12 23:06:01
问题 I got an exaple of submting images to a submit images to a dB http://www.anyexample.com/programming/php/php_mysql_example__image_gallery_%28blob_storage%29.xml#search This php script above Works really fine when I execute it on MAMP. But when I execute on a PC with XAMPP I just can't get it working gives the 403 error on XAMPP. Checked the php.ini file on the XAMPP installation and read something like short tags = on. Also noticed many people use <form action="<?php echo htmlentities($_SERVER

How to configure PhpUnit in Xampp?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 19:42:26
问题 I have successfully installed PhpUnit in Xampp, now I need to configure it, i need to take this steps from the documentation: 2. Prepare the phpunit script: 1. Rename the phpunit.php script to phpunit. 2. Replace the @php_bin@ string in it with the path to your PHP command-line interpreter (usually /usr/bin/php). 3. Copy it to a directory that is in your path and make it executable (chmod +x phpunit). 3. Prepare the PHPUnit/Util/PHP.php script: 1. Replace the @php_bin@ string in it with the

How can I remove index.php using Codeigniter on XAMPP?

非 Y 不嫁゛ 提交于 2019-12-12 17:33:45
问题 I can't hide Codeigniter index.php on XAMPP 1.7.3 URL: http://localhost/Servidor/agentesRainbow/index.php/agentes/tony tony is an argument My actual .htaccess: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /Servidor/agentesRainbow/ #'system' can be replaced if you have renamed your system folder. RewriteCond %{REQUEST_URI} ^system.* RewriteRule ^(.*)$ /Servidor/agentesRainbow/index.php/$1 [L] #Checks to see if the user is attempting to access a valid file, #such as an image or css

How do I know which file system apache can not access on windows?

笑着哭i 提交于 2019-12-12 17:03:16
问题 I have a Typo3 application which is running on Apache2 on Windows 10 (as a part of XAMPP). In apache error log I see this: Das System kann den angegebenen Pfad nicht finden. Das System kann den angegebenen Pfad nicht finden. Das System kann den angegebenen Pfad nicht finden. ... Das System kann den angegebenen Pfad nicht finden. with no information about which file can not be opened. The string is in german and stands for "The System can not find specified path.". I gave up trying to find the

Xampp PHP server GET works Fine POST isn't working

痞子三分冷 提交于 2019-12-12 16:28:03
问题 I was building a basic php site for my school assignment and I realised that I'm not receiving any data on my save php page. After that I switch my method to GET and my pages works perfectly. Here is my form page <form action="save-input.php" method="POST"> <div class="form-group"> <label for="todoTitle">Todo Title</label> <input type="text" class="form-control" name="todoTitle" id="todoTitle" placeholder="Example Title" required> </div> <div class="form-group"> <label for=

FOSuserBundle and php 5.5

﹥>﹥吖頭↗ 提交于 2019-12-12 15:32:24
问题 Ive searched the PHPuserBundle documentation and cannot find any reference to php version support issues. Ive just upgraded my php version to 5.6 (using XAMPP) and I get the following error when sending to login_check. Attempted to call function "mb_convert_case" from namespace "FOS\UserBundle\Util Is it best to stick with 5.4 for now? I tried 5.5 and got the same error. My only reason for wanting to upgrade was to stay up to date, so its not life or death but Im curious. thanks. 回答1: Try to

Fatal error: Class 'Mongo' not found in xampp

左心房为你撑大大i 提交于 2019-12-12 15:24:08
问题 I'm using Windows 7 64 bit with XAMPP for Windows and can't seem to find the solution to the issue with the installation. I have gone through the Windows and PHP driver installation guides at MongoDB. From PHP info my environment specs: XAMPP 1.7.4 PHP: 5.3.3 Apache 2.0 Handler Does anyone have an idea how to finish the installation? I have read tons of peoples comments and tried different troubleshooting and workarounds but nothing worked so far for me. I am doing the following steps:

how to enable SOAP,CURL,OPENSSL extension dynamically?

怎甘沉沦 提交于 2019-12-12 15:02:29
问题 i trying to enable SOAP,CURL,OPENSSL extension using ini_set() dynamically.what is the syntax to enable these above ext using ini_set()? i dont have permission to edit php.ini file. thanks... 回答1: You can't. The list of ini parameters and where you can change them is here: List of php.ini directives You'll see that the extension parameter is only configurable in the php.ini file. 来源: https://stackoverflow.com/questions/8103735/how-to-enable-soap-curl-openssl-extension-dynamically