File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
guide/src/getting-started Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ pub fn module(module: ModuleBuilder) -> ModuleBuilder {
41
41
Use [ ` cargo-php ` ] to build IDE stubs and install the extension:
42
42
43
43
``` text
44
- $ cargo install cargo-php
44
+ $ cargo install cargo-php --locked
45
45
Installing cargo-php v0.1.0
46
46
$ cargo php stubs --stdout
47
47
Compiling example-ext v0.1.0
@@ -148,7 +148,7 @@ best resource at the moment. This can be viewed at [docs.rs].
148
148
functionality to be cross-platform is on the roadmap.
149
149
- To build the application in ` DEBUG ` mode on Windows,
150
150
you must have a ` PHP SDK ` built with the ` DEBUG ` option enabled
151
- and specify the ` PHP_LIB ` to the folder containing the lib files.
151
+ and specify the ` PHP_LIB ` to the folder containing the lib files.
152
152
For example: set ` PHP_LIB=C:\php-sdk\php-dev\vc16\x64\php-8.3.13-src\x64\Debug_TS ` .
153
153
154
154
[ vectorcall ] : https://docs.microsoft.com/en-us/cpp/cpp/vectorcall?view=msvc-170
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Installs extensions and generates stub files for PHP extensions generated with
7
7
8
8
## Installation
9
9
10
- Install with Cargo: ` cargo install cargo-php ` .
10
+ Install with Cargo: ` cargo install cargo-php --locked ` .
11
11
12
12
## Usage
13
13
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ The subcommand is installed through composer like any other Rust CLI
31
31
application:
32
32
33
33
``` text
34
- $ cargo install cargo-php
34
+ $ cargo install cargo-php --locked
35
35
```
36
36
37
37
You can then call the application via ` cargo php ` (assuming the cargo
You can’t perform that action at this time.
0 commit comments