Skip to content

Commit f7a674f

Browse files
committed
Add some FAQs.
1 parent fb4d3f7 commit f7a674f

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Before trying to deploy a Laravel/Lumen application on a shared hosting, you nee
1414
* Mbstring PHP Extension
1515
* Tokenizer PHP Extension
1616

17+
Next, you need to have the SSH access permission for your hosting account; otherwise, none of these will work.
18+
1719
Besides PHP and those required extensions, you might need some utilities to make deployment much easier.
1820

1921
* [Git](https://git-scm.com/)
@@ -27,7 +29,26 @@ TBU.
2729

2830
## FAQs
2931

30-
TBU.
32+
> **1. How to acquire SSH access permission for my account?**
33+
34+
Just contact your hosting support, they will need to confirm your identity and will permit your SSH access in no time.
35+
36+
> **2. Where is git? I can't find it.**
37+
38+
`git` is often put under this place in CPanel hosting services, `/usr/local/cpanel/3rdparty/bin/git`. So you need to provide full path to `git` if you want to issue a `git` command; or, you can also create an alias for convenient use,
39+
40+
```
41+
alias git="/usr/local/cpanel/3rdparty/bin/git"
42+
```
43+
44+
> **3. How to get composer?**
45+
46+
You can use FTP or SCP command to upload `composer.phar` to the host after downloading it locally. Or use `wget` and `curl` to get the file directly on host,
47+
48+
```
49+
$ wget https://getcomposer.org/composer.phar
50+
```
51+
3152

3253
## List of service providers tested and worked
3354

0 commit comments

Comments
 (0)