MwSpaceLLC

MwSpaceLLC

𝓘𝓵 𝓶𝓸𝓷𝓭𝓸 è 𝓹𝓲𝓮𝓷𝓸 𝓭𝓲 𝓹𝓮𝓻𝓼𝓸𝓷𝓮 𝓬𝓱𝓮 𝓼𝓽𝓪𝓷𝓷𝓸 𝓭𝓲𝓮𝓽𝓻𝓸 𝓪 𝓾𝓷 𝓶𝓸𝓷𝓲𝓽𝓸𝓻 𝓪 𝓼𝓬𝓻𝓲𝓿𝓮𝓻𝓮 𝓬𝓸𝓭𝓲𝓬𝓮 𝓮 𝓪 𝓭𝓲𝓯𝓯𝓸𝓷𝓭𝓮

Member Since 4 years ago

Italian Development Team, Milano / Italia

Experience Points
4
follower
Lessons Completed
1
follow
Lessons Completed
14
stars
Best Reply Awards
17
repos

48 contributions in the last year

Pinned
⚡ Small library to test Google Cloud Vision's artificial intelligence & AE Security
⚡ 💎 Make easy develop addon for [WHMCS Marketplace]
⚡ Portable Development Server with Nginx, Php7, Composer, Node & MySql
⚡ Check if email exist before Login - Laravel
⚡ A PHP package for work with namirial sws
⚡ Small Library for send real time push notification in client user agent with firebase
Activity
Sep
24
1 month ago
Activity icon
created tag
createdAt 1 month ago
push

MwSpaceLLC push MwSpaceLLC/packlink-php

MwSpaceLLC
MwSpaceLLC
MwSpaceLLC
MwSpaceLLC

commit sha: e2a17f46584b8a63f6410bee5b8ce96c27ef0367

push time in 1 month ago
Activity icon
created tag
createdAt 1 month ago
Sep
23
1 month ago
Sep
7
1 month ago
Activity icon
issue

MwSpaceLLC issue comment microsoft/msphpsql

MwSpaceLLC
MwSpaceLLC

aws | Debian 10/11 [hvm] (64-bit aarch64/Arm) | Unknown processor architecture

Hi there, we have a cloud project arm64/aarch64 based

We can't use x86 arch. We must use new arm. we tried this script to force install correctly driver for arm, but php return "Unknown processor architecture."

the script:

    sudo curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
    sudo printf "deb [arch=arm64,amd64] https://packages.microsoft.com/debian/10/prod buster main" | sudo tee /etc/apt/sources.list.d/mssql-release.list

    sudo apt update -y && sudo apt upgrade -y
    sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17

    # optional: for bcp and sqlcmd
    sudo ACCEPT_EULA=Y apt-get install -y mssql-tools
    echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
    source ~/.bashrc

    # optional: for unixODBC development headers
    sudo apt-get install -y unixodbc-dev

    # optional: kerberos library for debian-slim distributions
    sudo apt-get install -y libgssapi-krb5-2

    # install php 8 ext
    sudo pecl config-set php_ini /etc/php/8.0/fpm/php.ini
    sudo pecl install sqlsrv
    sudo pecl install pdo_sqlsrv

    sudo printf "; priority=20\nextension=sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/sqlsrv.ini
    sudo printf "; priority=30\nextension=pdo_sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/pdo_sqlsrv.ini

    sudo phpenmod -v 8.0 sqlsrv pdo_sqlsrv

php try script:

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

$serverName = "serverName\\sqlexpress"; //serverName\instanceName

// Since UID and PWD are not specified in the $connectionInfo array,
// The connection will be attempted using Windows Authentication.
$connectionInfo = array( "Database"=>"dbName");
$conn = sqlsrv_connect( $serverName, $connectionInfo);

if( $conn ) {
     echo "Connection established.<br />";
}else{
     echo "Connection could not be established.<br />";
     die( print_r( sqlsrv_errors(), true));
}
?>
MwSpaceLLC
MwSpaceLLC

Thanks @yitam, I fully understand that without a high demand Microsoft cannot release a version for arm64, but I wanted to inform you that this platform is in use right now throughout the Amazon cloud.

So any person could choose this type of car your driver will not work.

Linux machines on the arm64 processor go considerably faster, like the M1 processor, because they are technologies (deriving from mobile) made especially for multitasking, so inevitably sooner or later users will start installing their web platforms on arm64. Our little Cloud will exclusively have the arm64e M1 processor.

So we will have a problem for all versions of Linux our customers will not be able to install Microsoft SQL Driver. (https://weeblify.com/en)

Having said that in our installations we have told users that the driver does not work and they will be sent on this page to request support. (see installation sh: https://bash.weeblify.net/hosting)

Activity icon
issue

MwSpaceLLC issue comment microsoft/msphpsql

MwSpaceLLC
MwSpaceLLC

aws | Debian 10/11 [hvm] (64-bit aarch64/Arm) | Unknown processor architecture

Hi there, we have a cloud project arm64/aarch64 based

We can't use x86 arch. We must use new arm. we tried this script to force install correctly driver for arm, but php return "Unknown processor architecture."

the script:

    sudo curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
    sudo printf "deb [arch=arm64,amd64] https://packages.microsoft.com/debian/10/prod buster main" | sudo tee /etc/apt/sources.list.d/mssql-release.list

    sudo apt update -y && sudo apt upgrade -y
    sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17

    # optional: for bcp and sqlcmd
    sudo ACCEPT_EULA=Y apt-get install -y mssql-tools
    echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
    source ~/.bashrc

    # optional: for unixODBC development headers
    sudo apt-get install -y unixodbc-dev

    # optional: kerberos library for debian-slim distributions
    sudo apt-get install -y libgssapi-krb5-2

    # install php 8 ext
    sudo pecl config-set php_ini /etc/php/8.0/fpm/php.ini
    sudo pecl install sqlsrv
    sudo pecl install pdo_sqlsrv

    sudo printf "; priority=20\nextension=sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/sqlsrv.ini
    sudo printf "; priority=30\nextension=pdo_sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/pdo_sqlsrv.ini

    sudo phpenmod -v 8.0 sqlsrv pdo_sqlsrv

php try script:

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

$serverName = "serverName\\sqlexpress"; //serverName\instanceName

// Since UID and PWD are not specified in the $connectionInfo array,
// The connection will be attempted using Windows Authentication.
$connectionInfo = array( "Database"=>"dbName");
$conn = sqlsrv_connect( $serverName, $connectionInfo);

if( $conn ) {
     echo "Connection established.<br />";
}else{
     echo "Connection could not be established.<br />";
     die( print_r( sqlsrv_errors(), true));
}
?>
MwSpaceLLC
MwSpaceLLC

Thanks @yitam for your response, I wanted to know if you have a future release plan as we are building an arm64 cloud and have recently released the Apple M1 update.

Sep
4
1 month ago
Activity icon
issue

MwSpaceLLC issue comment microsoft/msphpsql

MwSpaceLLC
MwSpaceLLC

Debian 10/11 [hvm] (64-bit aarch64/Arm) | Unknown processor architecture

Hi there, we have a cloud project arm64 based

We can't use x86 arch. We must use new arm. we tried this script to force install correctly driver for arm, but php return "Unknown processor architecture."

the script:

    sudo curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
    sudo printf "deb [arch=arm64,amd64] https://packages.microsoft.com/debian/10/prod buster main" | sudo tee /etc/apt/sources.list.d/mssql-release.list

    sudo apt update -y && sudo apt upgrade -y
    sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17

    # optional: for bcp and sqlcmd
    sudo ACCEPT_EULA=Y apt-get install -y mssql-tools
    echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
    source ~/.bashrc

    # optional: for unixODBC development headers
    sudo apt-get install -y unixodbc-dev

    # optional: kerberos library for debian-slim distributions
    sudo apt-get install -y libgssapi-krb5-2

    # install php 8 ext
    sudo pecl config-set php_ini /etc/php/8.0/fpm/php.ini
    sudo pecl install sqlsrv
    sudo pecl install pdo_sqlsrv

    sudo printf "; priority=20\nextension=sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/sqlsrv.ini
    sudo printf "; priority=30\nextension=pdo_sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/pdo_sqlsrv.ini

    sudo phpenmod -v 8.0 sqlsrv pdo_sqlsrv

php try script:

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

$serverName = "serverName\\sqlexpress"; //serverName\instanceName

// Since UID and PWD are not specified in the $connectionInfo array,
// The connection will be attempted using Windows Authentication.
$connectionInfo = array( "Database"=>"dbName");
$conn = sqlsrv_connect( $serverName, $connectionInfo);

if( $conn ) {
     echo "Connection established.<br />";
}else{
     echo "Connection could not be established.<br />";
     die( print_r( sqlsrv_errors(), true));
}
?>
MwSpaceLLC
MwSpaceLLC

** x86_64 Not work on new installation**, see below:

lsb_release -a

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

uname -mrs

Linux 4.19.0-17-cloud-amd64 x86_64

lscpu

Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
Address sizes:       46 bits physical, 48 bits virtual
CPU(s):              2
On-line CPU(s) list: 0,1
Thread(s) per core:  2
Core(s) per socket:  1
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               85
Model name:          Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
Stepping:            7
CPU MHz:             2499.998
BogoMIPS:            4999.99
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            1024K
L3 cache:            36608K
NUMA node0 CPU(s):   0,1
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke
Activity icon
issue

MwSpaceLLC issue comment microsoft/msphpsql

MwSpaceLLC
MwSpaceLLC

Debian 10 [hvm, booster] (64-bit Arm) | Unknown processor architecture

Hi there, we have a cloud project arm64 based

We can't use x86 arch. We must use new arm. we tried this script to force install correctly driver for arm, but php return "Unknown processor architecture."

the script:

    sudo curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
    sudo printf "deb [arch=arm64,amd64] https://packages.microsoft.com/debian/10/prod buster main" | sudo tee /etc/apt/sources.list.d/mssql-release.list

    sudo apt update -y && sudo apt upgrade -y
    sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17

    # optional: for bcp and sqlcmd
    sudo ACCEPT_EULA=Y apt-get install -y mssql-tools
    echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
    source ~/.bashrc

    # optional: for unixODBC development headers
    sudo apt-get install -y unixodbc-dev

    # optional: kerberos library for debian-slim distributions
    sudo apt-get install -y libgssapi-krb5-2

    # install php 8 ext
    sudo pecl config-set php_ini /etc/php/8.0/fpm/php.ini
    sudo pecl install sqlsrv
    sudo pecl install pdo_sqlsrv

    sudo printf "; priority=20\nextension=sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/sqlsrv.ini
    sudo printf "; priority=30\nextension=pdo_sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/pdo_sqlsrv.ini

    sudo phpenmod -v 8.0 sqlsrv pdo_sqlsrv

php try script:

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

$serverName = "serverName\\sqlexpress"; //serverName\instanceName

// Since UID and PWD are not specified in the $connectionInfo array,
// The connection will be attempted using Windows Authentication.
$connectionInfo = array( "Database"=>"dbName");
$conn = sqlsrv_connect( $serverName, $connectionInfo);

if( $conn ) {
     echo "Connection established.<br />";
}else{
     echo "Connection could not be established.<br />";
     die( print_r( sqlsrv_errors(), true));
}
?>
MwSpaceLLC
MwSpaceLLC

Not work on new installation, see below:

lsb_release -a

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

uname -mrs

Linux 5.10.0-8-cloud-arm64 aarch64

lscpu

Architecture:                    aarch64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
CPU(s):                          2
On-line CPU(s) list:             0,1
Thread(s) per core:              1
Core(s) per socket:              2
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       ARM
Model:                           1
Model name:                      Neoverse-N1
Stepping:                        r3p1
BogoMIPS:                        243.75
L1d cache:                       128 KiB
L1i cache:                       128 KiB
L2 cache:                        2 MiB
L3 cache:                        32 MiB
NUMA node0 CPU(s):               0,1
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
Vulnerability Spectre v2:        Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs
Activity icon
issue

MwSpaceLLC issue comment microsoft/msphpsql

MwSpaceLLC
MwSpaceLLC

Debian 10 [hvm, booster] (64-bit Arm) | Unknown processor architecture

Hi there, we have a cloud project arm64 based

We can't use x86 arch. We must use new arm. we tried this script to force install correctly driver for arm, but php return "Unknown processor architecture."

the script:

    sudo curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
    sudo printf "deb [arch=arm64,amd64] https://packages.microsoft.com/debian/10/prod buster main" | sudo tee /etc/apt/sources.list.d/mssql-release.list

    sudo apt update -y && sudo apt upgrade -y
    sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17

    # optional: for bcp and sqlcmd
    sudo ACCEPT_EULA=Y apt-get install -y mssql-tools
    echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
    source ~/.bashrc

    # optional: for unixODBC development headers
    sudo apt-get install -y unixodbc-dev

    # optional: kerberos library for debian-slim distributions
    sudo apt-get install -y libgssapi-krb5-2

    # install php 8 ext
    sudo pecl config-set php_ini /etc/php/8.0/fpm/php.ini
    sudo pecl install sqlsrv
    sudo pecl install pdo_sqlsrv

    sudo printf "; priority=20\nextension=sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/sqlsrv.ini
    sudo printf "; priority=30\nextension=pdo_sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/pdo_sqlsrv.ini

    sudo phpenmod -v 8.0 sqlsrv pdo_sqlsrv

php try script:

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

$serverName = "serverName\\sqlexpress"; //serverName\instanceName

// Since UID and PWD are not specified in the $connectionInfo array,
// The connection will be attempted using Windows Authentication.
$connectionInfo = array( "Database"=>"dbName");
$conn = sqlsrv_connect( $serverName, $connectionInfo);

if( $conn ) {
     echo "Connection established.<br />";
}else{
     echo "Connection could not be established.<br />";
     die( print_r( sqlsrv_errors(), true));
}
?>

u can find realtime error: http://15.160.60.26/

MwSpaceLLC
MwSpaceLLC

So we try to install in Debian 11, we can't see repo in guide, but in repo.list we can find:

#Debian 11
curl https://packages.microsoft.com/config/debian/11/prod.list > /etc/apt/sources.list.d/mssql-release.list

# in source file
deb [arch=amd64,armhf,arm64] https://packages.microsoft.com/debian/11/prod bullseye main

So, important to know processor type to test => aarch64 on aws instances

Sep
3
1 month ago
Activity icon
issue

MwSpaceLLC issue microsoft/msphpsql

MwSpaceLLC
MwSpaceLLC

Debian 10 (HVM) booster (64-bit (Arm))

Hi there, we have a cloud project arm64 based

We can't use x86 arch. We must use new arm. we tried this script to force install correctly driver for arm, but php return "Unknown processor architecture."

the script:

    sudo curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
    sudo printf "deb [arch=arm64,amd64] https://packages.microsoft.com/debian/10/prod buster main" | sudo tee /etc/apt/sources.list.d/mssql-release.list

    sudo apt update -y && sudo apt upgrade -y
    sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17

    # optional: for bcp and sqlcmd
    sudo ACCEPT_EULA=Y apt-get install -y mssql-tools
    echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
    source ~/.bashrc

    # optional: for unixODBC development headers
    sudo apt-get install -y unixodbc-dev

    # optional: kerberos library for debian-slim distributions
    sudo apt-get install -y libgssapi-krb5-2

    # install php 8 ext
    sudo pecl config-set php_ini /etc/php/8.0/fpm/php.ini
    sudo pecl install sqlsrv
    sudo pecl install pdo_sqlsrv

    sudo printf "; priority=20\nextension=sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/sqlsrv.ini
    sudo printf "; priority=30\nextension=pdo_sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/pdo_sqlsrv.ini

    sudo phpenmod -v 8.0 sqlsrv pdo_sqlsrv

php try script:

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

$serverName = "serverName\\sqlexpress"; //serverName\instanceName

// Since UID and PWD are not specified in the $connectionInfo array,
// The connection will be attempted using Windows Authentication.
$connectionInfo = array( "Database"=>"dbName");
$conn = sqlsrv_connect( $serverName, $connectionInfo);

if( $conn ) {
     echo "Connection established.<br />";
}else{
     echo "Connection could not be established.<br />";
     die( print_r( sqlsrv_errors(), true));
}
?>

u can find realtime error: http://15.160.60.26/

Activity icon
issue

MwSpaceLLC issue barryvdh/laravel-ide-helper

MwSpaceLLC
MwSpaceLLC

Unknown database type xml requested, Doctrine\DBAL\Platforms\SQLServer2012Platform may not support it

Versions:

  • barryvdh/laravel-ide-helper": "^2.10",
  • Laravel Framework 8.57.0
  • PHP Version: 7.3

Description:

Today I started a new project Connected with Microsoft SQL usually nothing has ever happened but today when I go to run this command it gives me this error

image

Steps To Reproduce:

Install laravel, ide helper, set model remote connection, use microsoft sql 2019

Aug
31
1 month ago
Activity icon
issue

MwSpaceLLC issue comment shakaran/packlink-php-sdk

MwSpaceLLC
MwSpaceLLC

Hi there, we under dev our custom api.

U can find more at => https://github.com/MwSpaceLLC/packlink-php

MwSpaceLLC
MwSpaceLLC

Thanks to you @shakaran for sharing our work. We appreciate very much!

Aug
26
2 months ago
Activity icon
issue

MwSpaceLLC issue MwSpaceLLC/LaraveX

MwSpaceLLC
MwSpaceLLC

increase server_names_hash_bucket_size: 32

image

Activity icon
issue

MwSpaceLLC issue comment MwSpaceLLC/LaraveX

MwSpaceLLC
MwSpaceLLC

increase server_names_hash_bucket_size: 32

image

MwSpaceLLC
MwSpaceLLC

Please, add follow nginx config and work.

image

Activity icon
issue

MwSpaceLLC issue MwSpaceLLC/LaraveX

MwSpaceLLC
MwSpaceLLC

increase server_names_hash_bucket_size: 32

image

Aug
20
2 months ago
Activity icon
fork

MwSpaceLLC forked probablyup/markdown-to-jsx

⚡ 🏭 The most lightweight, customizable React markdown component.
MwSpaceLLC MIT License Updated
fork time in 2 months ago
Aug
19
2 months ago
Activity icon
fork

MwSpaceLLC forked stripe/stripe-php

⚡ PHP library for the Stripe API.
MwSpaceLLC MIT License Updated
fork time in 2 months ago
push

MwSpaceLLC push MwSpaceLLC/packlink-php

MwSpaceLLC
MwSpaceLLC

Merge branch 'main' of github.com:MwSpaceLLC/packlink-php into main

commit sha: 1a98754392de7e16f8dedca456d9f8a00921a580

push time in 2 months ago
Previous