I see you're on a Mac: things are easier than on Windows. All you have to do is to open the "terminal" application and to type the command ifconfig (and, of course, ENTER). In the result, pretty similar to the screenshot above, you'll see a line like inet 10.1.1.2 netmask...
apache,.htaccess,mod-rewrite,xampp,virtualhost
These are very simple rules, but it should work fine for your case, and it should help you start building some more complex rewrite rules. RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(404|404\/)$ /404.html [L] # Make sure to avoid loops. # Ignore rewrite rules for the files and...
I think your composer PATH or shortcut/batch file is kind of broken, because it tries to read the php.exe file as a JSON file. Try to remove composer completely and start with a clean install Download and install composer using the automated installer. It sets up the PATH for you,...
After checking the error logs (duh?!) I noticed the permissions for the storage/ directory were insufficient. After fixing this, I still needed to: add "illuminate/html": "5.0.*" to the composer.json file. add 'lluminate\Html\HtmlServiceProvider' to the providers array, and 'Form'=> 'Illuminate\Html\FormFacade', 'HTML'=> 'Illuminate\Html\HtmlFacade' to the aliases array in the config/app.php file. Add...
I was having trouble including files as well. Here is what I found. Includes in PHP can only pull files from the current directory <?php include('data.php'); ?> Or directories up the "ladder" One level <?php include('../data.php'); ?> Two levels <?php include('../../data.php'); ?> To my knowledge it's not possible to jump...
php,regex,apache,mod-rewrite,xampp
From the logs: '^(dev_[^/]*)/justink/public_html/search/manufacturer/?(.*)$' to uri 'search/manufacturer/hewlett-packard' You have to much prefix information in your regex. As you can see the URL provided to your regex is only 'search/manufacturer/hewlett-packard' I believe you also want to redirect to a new HTTP location and not to a file, so that your mod_php...
mysql,database,xampp,database-connection
XAMPP does not have a performance monitoring tool built in for Mysql, since it is a web server and just comes packaged with Mysql when installed. There are a number of free and paid ways to monitor I/O performance for Mysql. If you are on a linux server you can...
apache,xampp,load-balancing,virtual-hosts
There many ways to accomplish this, but what you are trying to do it won't work. The /etc/hosts is a basic way of IP to host name mapping. If you want round-robin resolution you will have to use DNS server. Also, it doesn't make much sense to load balance on...
This is likely because short_open_tag is disabled when you test locally. This setting controls whether or not <? ?> among other tags are interpreted as PHP during parsing. The result is that this block: <? $fields = array("email", "pass"); for ($i=0 ; $i<count($fields) ; $i++) { if ($form->Error($fields[$i]) != "")...
Check your server error logs under <XAMPP_INSTALLATION_PATH>/apache/logs/ directory. It will guide you if any port is already occupied. I agree with @ErasmoOliveira as most of the time I faced similar thing & exiting skype fixed this issue....
If the log shows an "XAMPPErrorDomain error 1" error, then its a permission problem. To solve this on OS X, try this: sudo chmod 600 /Applications/XAMPP/xamppfiles/etc/my.cnf ...
amazon-web-services,xampp,bitnami
Bitnami developer here, XAMPP includes MySQL and Apache. If you want to connect a remote MySQL, you need to follow this guide: https://wiki.bitnami.com/Components/MySQL#How_to_connect_to_the_MySQL_database_from_a_different_machine.3f But in your case, I think you want to migrate you XAMPP site to your AMI. This guide could help you with that purpose: https://www.apachefriends.org/docs/hosting-xampp-on-aws.html I hope...
Check the MIME type the server is returning your css with. https://developer.mozilla.org/en-US/docs/Incorrect_MIME_Type_for_CSS_Files Note: Even though you wil get it to work the way you want, you should double-check if the reduction in CSS file size makes up for the impossibility to cache the CSS client-side. Apart from that, the actual...
Apparently what I did wrong was giving my user access to the /opt folder which contains mysql without knowing that I am preventing the access from the root, and mysql needs root access. If you're facing the same issue try this: sudo chmod 755 /opt/lampp/etc/my.cnf sudo chmod -R 777 /opt/lampp/var/mysql...
SOLUTION: I just allocate the folder of Slim framework in C:\xampp\htdocs\project where project it's the folder of my app. It works properly.
mysql,sql,phpmyadmin,xampp,checksum
As already commented MySQL doesn't support CHECK constraint. Per MySQL Documentation it says: The CHECK clause is parsed but ignored by all storage engines You should rather use a BEFORE INSERT trigger as an alternative like below DELIMITER // CREATE TRIGGER sumcheck_before_insert BEFORE INSERT ON bla_table FOR EACH ROW BEGIN...
linux,apache,security,ssl,xampp
Bitnami developer here, In XAMPP the SSL configuration is located at /opt/lampp/etc/extras/httpd-ssl.conf file, where there is a default VirtualHost already configured in port 443, and you are trying to bind again the same port. Please, try to modify this file instead. You can check if there is any other process...
After some wondering around and splitting the problem in little subtasks, i believe I managed to understand that that little stupid extra comma in the list was preventig me to run the program, I copy pasted a syntax shared on-line and now everything seems to work... outcome: - check the...
You need to start mongod brew update brew install mongodb mkdir -p /data/db mongod --dbpath /data/db Before running mongod for the first time, ensure that the user account running mongod has read and write permissions for the /data/db directory. Install MongoDB PHP driver brew install php56-mongo OR sudo pecl install...
Try running control panel with admin rights. Right click on control panel icon and select "Run as administrator". Also it would help if you pasted here the messages that you get in control panel when you start apache (mysql is not needed to run your hello.php file since you don't...
php,.htaccess,codeigniter,url-rewriting,xampp
This .htaccess works for me: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [L] ...
Okay, I found the solution, for whatever reason the sendmail path in php.ini has to look like this for PHP's mail to work through Apache on OS X Yosemite: sendmail_path = "env -i /usr/sbin/sendmail -t -i" Thanks to everyone who tried to find an answer....
home.php is one of the default index page to show in apache settings. If you will check xampp/apache/httpd.conf file you will find the following code <IfModule dir_module> DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \ default.php default.pl default.cgi default.asp default.shtml default.html default.htm \ home.php home.pl home.cgi home.asp home.shtml home.html...
For change port skype, you can choose menu Tools > options then choose advanced > Connection read it change port besides 80
javascript,php,html,email,xampp
I figured it out using php and installing XAMPP. I used apache, mysql, and mercury in XAMPP. I followed the steps for mercury here. I also had to change some things in the php.ini file and sendmail.ini file. Those steps can be found here. Hope this helps cut down the...
After: git clone --depth=1 git://github.com/phalcon/cphalcon.git cd cphalcon/build sudo ./install I found phalcon.so in this location: /usr/local/Cellar/php56/5.6.8/lib/php/extensions/no-debug-non-zts-20131226/phalcon.so so in my /Applications/XAMPP/etc/php.ini I added this: extension=/usr/local/Cellar/php56/5.6.8/lib/php/extensions/no-debug-non-zts-20131226/phalcon.so and now seems to work fine....
You need to un-install everything given from xampp previous installation. And why is there an Apache folder in the c:\ drive? Everything controlled by xampp will reside on c:\xampp directory. It contains mysql, php, ftp, apache and the entire bundle of software in xampp folder. Delete everything with the apache...
apache,xampp,localhost,wamp,wampserver
According to RFC2616, the default port for HTTP is 80, so browsers are designed to interpret a request without a defined port as a request to port 80. As far as I'm aware, there is no way to override this default (without some serious modification of the browser's code), either...
Disable the FTP Server that is already running (most likely running via Windows Add/Remove Programs -> Windows Features). Otherwise, you will need to change the port in the FileZilla settings located at %APPDATA%/FileZilla
Ok, So i got it working. I just needed the web server (user daemon) to own a folder in which the share is mounted. EG. created a folder called "tempshare" that user daemon owns and is in the same folder as the php script (don't worry, it will be placed...
By default, Xampp has FollowSymlinks disabled. See point 4 on how to enable mod rewrite (if not done already) set AllowOverride from none to all https://codex.wordpress.org/Using_Permalinks#Fixing_Permalink_Problems If AllowOverride is not set to all, permalinks will cause exactly these 404 errors you describe ("Not found" on existing pages). ...
In your xampp folder you will see the folder named htdocs.YOu can place your project in that htdocs folder. You can run that project by using localhost/yourproject_folder_name in your browser. Hope this will help....
php,mysql,apache,phpmyadmin,xampp
Goto xampp>phpMyAdmin Directory. Find config.inc.php file. Now change this line: $cfg['Servers'][$i]['host'] = '127.0.0.1'; To $cfg['Servers'][$i]['host'] = '127.0.0.1:3307'; Now, restart your server.
I realized it was a port issue since I was running IIS and other web servers in my machine. But I was more interested to see a detailed error message with the port number in the UI. Seems like it was not logged in the UI or log file (at...
php,ssl,active-directory,ldap,xampp
I have solved the problem, as there no replies here's how I went about it. Firstly and most importantly, if you're new to Active Directory, before reading up on any material download Active Directory Explorer. You would have far more context about every aspect of Active Directory while researching your...
Your foreach loops are not correct, single loop is enough, it should be: while ($row = $result->fetch_row()) { //recupero singoli attributi della tabella 'libro' e li stampo print $count.". "; print " ".$row[0]. " - ".$row[1]." - ".$row[2]." - "; ... } Also, much better for readability and manageability is...
The lines below are causing the redirect: RewriteCond %{HTTP_HOST} !^www.baseballforbusypeople.com$ [NC] RewriteRule ^(.*)$ http://www.baseballforbusypeople.com/$1 [L,R=301] As such, requests to www.baseball.dev will redirect to www.baseballforbusypeople.com. On your dev server, comment the above lines and leave them uncommented on your production server. Also, be sure to clear your browser cache if you...
Stop Apache if already running. Go to C:\xampp\apache\conf Open httpd.confusing notepad or any other editor. Change the listener to another port like Listen 80 to Listen 1234 Start The apache , it will work....
If you notice in the ones where you do not get all the array occurances filled you do get all the uploaded files flagged with errors! [error] => Array ( [0] => 1 [1] => 1 [2] => 1 ) 1 = UPLOAD_ERR_INI_SIZE That will be why none of the...
You should read database manual. The query should be: $dbh->do("INSERT INTO $table(name,nametwo) VALUES ('".$enter."', '".$enter2."')"); ...
php,mysql,apache,phpmyadmin,xampp
Finally, I realized that I had installed Apache 2.4 in my real machine so the main page that I saw before and could see this: "It works" was from this Apache. I solved it uninstalling Apache, and now it works perfectly. Thanks all of you for your answers!...
php,google-apps-script,google-api,google-drive-sdk,xampp
This is what I came up with, thanks to the help of the above code and some other code I found, put the two together and it does what I need. It may be useful for some one else. Thanks function listFilesInFolder() { var MAX_FILES = 2000; //use a safe...
browser,xampp,localhost,dreamweaver
This path "localhost/~user/mySite/index.htm does not look correct. Usually on XAMPP goes as follows. If I consider that your files are located in a "mySite" folder inside htdocs and an index.html exists then you can access them by typing on the browser localhost/mySite. Note: Turn on Apache, and MySQL if you...
The thing is that mail() didn't work on Xampp before but since I updated to Xampp 5.6.3 (on mac) it suddenly did. But not all emails would receive it. My mail on gmx.net wouldn't accept the mails but my mail addresses connected to my webhotel did. But I use phpmailer...
php,codeigniter,xampp,localhost
Blank page is likely due to PHP errors with directives to display errors turned off. Check your php.ini for display_errors, html_errors and error_reporting directives. Should be: display_errors = On html_errors = On error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT ...
php,jquery,mysql,database,xampp
I found a problem in your php script. In your AJAX call you are declaring the HTTP request as post. But in your php script you are using the $_GET method to look for the variable. Use $_POST. In your PHP script: $name = $_GET['fullName'] turns into $name = $_POST['fullName'];...
wordpress,apache,xampp,virtualhost,virtual-hosts
Alright, finally figured it out. Here is my step-by-step guide: 1) Open up C:\xampp\apache\conf\extra\httpd-vhosts.conf, or wherever your httpd-vhosts.conf file is. Enter this first below the comments: <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs" ServerName localhost </VirtualHost> 2) Next enter the sites you want to be locally hosted. For example: <VirtualHost *:80> DocumentRoot "C:/sites/dev.mysite.org"...
I am pretty sure you need origami_making.eot as well, and use relative urls. example @font-face { font-family: "Flaticon"; src: url("flaticon.eot"); src: url("flaticon.eot#iefix") format("embedded-opentype"), url("flaticon.woff") format("woff"), url("flaticon.ttf") format("truetype"), url("flaticon.svg") format("svg"); font-weight: normal; font-style: normal; } ...
$return_var = NULL; $output = NULL; $command = "mysqldump -u mysql-user -h your_host -pmysql-pass database_name > /directory_path/file.sql"; exec($command, $output, $return_var); or you can refer to this answer mysqldump via PHP...
html,apache,dns,xampp,windows-server-2003
Just rename the file to index.html or index.htm or home.html or home.htm so it will show the page for your default uri
Go to your xampp installation directory. Right click on "xampp-control" then choose "Run as administrator" If prompted, choose Yes You do not have to disable UAC. You are simply getting this message because the application was started with normal user rights, while the application needs administrator rights to be able...
The JavaScript print() function can be called to open the print dialog in the browser. You could try adding a script element to your page that calls print: <script type="text/javascript">print();</script> I'm not sure how the timing would work, but you might need to do it on the onload event instead...
linux,shell,xampp,server,putty
Putty is a Telnet and SSH client. You need to run a SSH or Telnet service for Putty to connect to. For example, an SSH service setup on localhost. Then, you create a user account for the SSH service and that's what you type into Putty. A better way to...
php,linux,.htaccess,mod-rewrite,xampp
I have found the solution, issue was related to mod_rewrite function was disabled in apache in linux operating system. To find out mod_rewrite is enabled or disabled. just run php_info() and search for mod_rewrite. this is an easy technique, there are multiple ways to find out mod_rewrite. To enable mod_rewrite,...
wordpress,xampp,localhost,wordpress-theming,subdomain
I do blogging a bit. I found this video tutorial, I have used this one to successfully set up a new subdomain and install Wordpress sometimes ago. STEPS:: Use cpanel to create the subdomain Download the latest version of wordpress to your local drive Upload to subdomain folder on your...
Rename index.php in your htdocs folder to index1.php, then try to access http://localhost, so now you will see Apache's default Directory listing instead of XAMPP homepage. If you somehow want to move back to the default XAMPP homepage, do rename index1.php to index.php...
1) My windows has sh.exe available and can run .sh files - just type it into the command line, git bash works fine too. UPDATE: my sh.exe was likely installed along with git. It is relatively easy to install though. 2) On windows machines you may need to edit the...
@Anshu already pointed out that you seem to have a Web server running on port 8880, so SSH cannot possibly be listening on the same port (and IP address). My best guesses are that either, you don't have SSH running on port 22, or that the Windows firewall blocks port...
$state = $_POST["state"]; You are sending the data as type application/json, but PHP won't auto de-serialize the string into json for you. Also Python Requests will not autoserialize: [ ('state','true'), ('humidity', 45), ('temperature',76) ] into json. What you will want to do is serialize the request for on the client...
This will implicitly attempt to convert to a Double to attempt to run the comparison: If TextBox1.Text = 0 Then MessageBox.Show("Please enter text") End If You may want to wrap it (and any other occurrence) in If Textbox1.Text <> "" Then If TextBox1.Text = 0 Then MessageBox.Show("Please enter text") End...
facebook,permissions,xampp,localhost,photos
Yes you need to host it so that they can access and check for the review process. Hosting in your local server won't help. Try something like Amazon services/Digital Ocean which helped me to get it reviewed for publish_actions permission. Review Guidelines are below from Facebook Guide...
php,codeigniter,ubuntu,frameworks,xampp
Unfortunately for me. The way I did the installation was 1. Create folder (htdocs/ci) 2. Unzip installer to downloads 3. Paste installer files from /downloads to ci. But when I did installation like 1. Unzip install archive 2. RENAME folder I get from archive to CI all begin woking fine!...
You can pass the proxy settings to the SoapClient class like this: $client = new SoapClient("request.wsdl", array('proxy_host' => "localhost", 'proxy_port' => 8888)); This assumes that fiddler is running on it's default port (8888). ...
You were on the right track, but went down the wrong path somewhere along the way. Comment out the bind-address in your my.cnf/my.ini (depending on OS). Then restart mysql so that the changes to the my.cnf/my.ini file will take affect. You can read more here at DigitalOcean. Now, anyone will...
Not sure exactly what your getting, an iframe might be more strait forward . Don't use this if you are just trying to get text or something else: <div id="mainContent"> <iframe src="built.html"></iframe> </div> php PHP, you may need to make sure the path is actually correct: include __DIR__ + '/built.html';...
Probably you already installed LAMP. Check if Apche is installed: dpkg --get-selections | grep -v deinstal | grep apache You might get this: apache2 install apache2-bin install apache2-data install apache2-mpm-prefork install apache2-mpm-worker install libapache2-mod-fastcgi install libapache2-mod-php5 install ...
You need to close your default virtual host directive. <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs" ServerName localhost </VirtualHost> # <<< missing closing directiv!!! ...
http://localhost/lee.php&name=lee Is an incorrect URL altogether, it should be http://localhost/lee.php?name=lee ^ Now if you were to add a new parameter you would use an & only then. First one always comes after an ?, for example http://localhost/lee.php?name=lee&age=20 I was going to refer you to HTTP Specifications documents but since...
php,caching,xampp,memcached,amazon-elasticache
You're confusing the two. memcached is the Memcache daemon program (the d stands for daemon). This has to be running for you to use Memcache. This is NOT what you use inside PHP. You launch this inside Windows like you would any other program. The Memcache PECL library is how...
Looks like you have the "Searchbase.exe" malware on your PC. Check your installed programs (Control Panel > Programs > Uninstall a program) for anything that resembles what you're seeing. It's probably hogging port 80. Might consider doing a virus scan. Don't type anything sensitive into that engine. Looks weird......
This Warning is not Failed opening required global.php. This warning says line number 104 of global.php have a statement for requiring a file named class.inputfilter.php But, failed to load it. This issue can occur in following cases : --> File does not exists. --> File exists but do not have...
There are two major issues here: Strings in Java are objects, so they need to be compared with the equals method, not the == operator, which checks object identity, not equality. Calling ResultSet.next() will advance the cursor, so you should do it before the if-else structure. In the current code,...
Start Run Type "Services.msc" Find the "Apache" service Right click and stop
You must change .env File in Laravel Root Directory. Give proper credential and also make sure that given database name is exists in MYSQL. Then after modifying .env File , make changes to config/database.php here use env so that it will check for that variable in .env File.If not found...
Download the package from following url: http://windows.php.net/download/. Make sure the “Thread Safe” zip file with around 20MB was downloaded. Extract and rename the folder to “php”. Rename the existing “php” folder to something and place the new bundle with folder name “php”. Then restart the apache server. It will...
Instead of $name = $_POST['name']; if ($_POST['submit'] && $human == '4') { use $name = isset($_POST['name']) ? $_POST['name'] : ''; if (isset($_POST['submit']) && $human == '4') { ...
This error occurs on older versions of xampp. Update it to a later version.
Your Linux result is produced using 64-bit software. The Windows result comes from 32-bit software. The difference here is the maximum size of an integer, which in a 32-bit system is 2147483647. When you try to parse the string to an integer the value is too large for a 32-bit...
php,html,pdo,xampp,virtual-machine
In order to do so, you will need to generate a with an to send the data and then collect it into your PHP file. HTML: <form action="submit.php" method="post"> <input type="text" name="search" /> <input type="submit" value="Submit" /> </form> PHP: <?php if(isset($_POST['search']){ //do database request here $db=mysql_connect ("servername", "<username>", "<password>") or...
php,cordova,file-upload,xampp,server
Thank you all for your response. i found the solution of my problem. i checked the php error log, it was showing the following error POST Content-Length of 4456596 bytes exceeds the limit of 3145728 bytes in Unknown on line 0 Then i check post_max_size value in php.ini file. it...
Put this at the end of your php.ini error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT Make that is right php.ini...
Check for spelling errors in your Form and your SQL Statement. Also, consider making your username/email field/s non-nullable as a good practice.
I found the answer out. Kind of feel stupid, it was because I was pasting a shortcut and assumed that it was the same. I needed to use the windows "mklink" command. Didnt know they were different....
python,flask,xampp,flask-socketio
Author of Flask-SocketIO here. Unfortunately this extension cannot work with a standard web server, you will not be able to host an app that uses it over apache/mod_wsgi. You need to use a gevent server, and not a generic one, but one that is customized for Socket.IO. That means that...
Apache (which is the web server in XAMPP) .htaccess (mod_rewrite) rules won't work on IIS6. You need to install a third party rewriter such as HeliconTech's ISAPI_Rewrite to achieve this. IIS7+ supports rewriting out of the box but the format is different....
When creating more than one virtual host on the same port, you must specify each host name. Otherwise you only have one site bound to port 80, and all localhost calls will direct to the folder you specified. Here is the missing code, add just before or after similar code...
In skype >> Go to Tools -> Options -> Advanced -> Connections and uncheck the box "use port 80 and 443 as alternative". ...
apache,xampp,skype,ports,windows-10
How about unistalling Skype from Windows 10 and installing the desktop version? I'm not sure, because I don't own Win10, but in my Win8.1 I unistalled the Skype that comes with my PC and reinstalled the desktop version, then changed the ports in advanced settings. It worked for me. ^^