Unable to start xampp on mac os sierra? - php

I have installed xampp on my mac os sierra.Now when i try start the server it shows me some error.It does not start.I have tried restarting & reinstalling the server but still i am facing the issue.
failed to start machine: hyperkit: [ERROR] Found a reference to cluster 19715 outside the file (max cluster 19711) from cluster 4.2165
hyperkit: [ERROR] Mirage block device raised exception: Qcow.Make(Base)(Time).Reference_outside_file(_, _)
Mirage-block error: Block device is disconnected
Could not open mirage-block device: Invalid argument
Could not open backing file: Invalid argument
I am not able to find any solution. Please suggest what should i do ?

Although i could not fix this particular error with xammpp software.This xampp software was XAMPP-VM / PHP 7.1.7.So i deleted this software from my machine and downloaded another version of xampp which is 7.1.7 / PHP 7.1.7.Actually there are 4 software listed on the xampp website earlier i download the VM version of xampp.But after intsalling another version of XAMPP solved my problem.

Related

MAMP server configuration error + PHP & MySQL error

I'm attempting to use MAMP on a windows laptop, so I can run a JavaScript experiment for my Phd. Unfortunately I can't seem to get past startup.When I open Mamp and select 'Start Servers' the following message pops up:
MAMP could not start servers as configuration is not valid. Please check logs...
Despite this message the Apache Server and My SQL Server boxes turn green to suggest they are active.
After looking through a few logs I find the following errors, but I'm not sure how to address or fix them.
Apache_error.log
[Sat Mar 03 08:10:15 2018] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Php_error.log
[02-Mar-2018 21:10:22 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'D:\MAMP\bin\php\php7.1.7\ext\php_imagick.dll' - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
in Unknown on line 0
Mampapp.log
textMessage:The description for Event ID '-1073741724' in Source 'MySQL' cannot be found. The local computer may not have the necessary registry information or message DLL files to display the message, or you may not have permission to access them. The following information is part of the event:'D:\MAMP\bin\mysql\bin\mysqld.exe: ready for connections.
Version: '5.6.34-log' socket: '' port: 3306 MySQL Community Server (GPL)
'
Source:MySQL
Category:(0)
EntryType:Information
EventID:100
Thanks, any help is appreciated.
MAMP is for mac specific. You would better take Xamp cross-platform (personal recommendation) or Wamp that is windows specific.

GAE dev_appserver crashes CGI / FastCGI on windows

I installed python 2.7 and the Goole Cloud SDK.
After that I installed the php runtime using this command :
gcloud components install app-engine-php-windows
I then boot up a local dev server using this line :
dev_appserver.py <app-directory>
The server boots up fine, but when I send multiple requests to the server, I see multiple popups (one after te other) saying "CGI / FastCGI has stopped working". I can then "Debug" or "Close program".
In the logfile I see this :
ERROR:root:php failure (255) with:
stdout:
ERROR:root:php failure (-1073741819) with:
stdout:
OS specifics : Windows 10 Pro 64-bit.
Also, adding extension="php_curl.dll" to php.ini does not avoid my problem as stated in other issues similar to this one.
Can anyone help with this issue?

Laravel Homestead error: Failed to create host-only adaptor

This error occurs with all Vagrant boxes with a private network IP.
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["hostonlyif", "create"]
Stderr: 0%...
Progress state: E_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
VBoxManage.exe: error: Context: "int __cdecl handleCreate(struct HandlerArg *,int,int *)" at line 66 of file VBoxManageHostonly.cpp
I've tried composer install, manual install, downgrading virtualbox to 4.2.x - nothing works.
Please help!
Thanks
Turns out to be a common 'issue' on Windows 7 hosts with any vagrant box with a private network.
The Windows host user account needs to have admin rights.
There's a known bug # 14040 in VirtualBox 5. Updating to Vbox 5.0.9 worked for me.
I had the same problem using virtualbox 5.0.26 when I updated to 5.1.4 it worked! am using vagrant version 1.9.1

How to connect with sql server using php in xampp

I have xampp install in my computer and xampp php version is 5.5.15 i want to connect with a sql server (which is also install in my computer sql server 2005) i download php driver and copy paste two php file "php_pdo_sqlsrv_55_ts.dll" and "php_sqlsrv_55_ts.dll" in "C:\xampp\php\ext" folder and format php.ini file extension=php_pdo_sqlsrv_55_ts.dll and extension="php_sqlsrv_55_ts.dll" my problem is when i am restart the apache server (from xampp control panel) it's display two error message one is
httpd.exe error "http.exe error msvcp110.dll is missing from your computer"
another one is
"xampp error php startup unable to load dynamic library the specific module could not be found"
beside this error i am trying to connect with sql server using code but the code return with undefined sqlsrv_connect function error
My code is simple
<?php
$serverName='SANTUNU23-PC\SQLEXPRESS';
$connectioninfo=array ('Database'=>'DB2662_cslBeseElec');
$myuser='santunu23';
$conn=sqlsrv_connect($serverName,$connectioninfo);
if($conn)
{
echo 'connection established';
}
else
{
echo 'can not make the connection';
die(print_r(sqlsrv_errors(),TRUE));
}
?>
What to do now?any suggestion My system is windows 7 32bit
You could've googled "msvcp110.dll", then you would know that this file belongs to the "Microsoft Visual C++ 2012 Redistributable Package". So download it, install it, try it again.

Nginx and Aegir installation on Ubuntu fails

I am installing Aegir with Nginx on vanilla Ubuntu 14.04 VPS following:
http://community.aegirproject.org/content/installing/manual/nginx-mariadb-php-fpm-single-server-installation
At the very end, during Aegir install I get following error:
Could not rsync from '/var/aegir/config/server_master/nginx/subdir.d' to 'aegir# nginx.drophost.eu:/' [error]
/var/aegir/config/server_master/nginx/subdir.d could not be synced to remote server nginx.drophost.eu. Changes might not be available[error]
until this has been done. (error: ssh: Could not resolve hostname nginx.drophost.eu: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.0])
Server domain is nginx.drophost.eu and it resolves correctly to server IP, so what's wrong?

Categories