Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Trying to Create My own Extension #68

Closed
DDAmine opened this issue Feb 25, 2020 · 3 comments
Closed

Trying to Create My own Extension #68

DDAmine opened this issue Feb 25, 2020 · 3 comments

Comments

@DDAmine
Copy link

DDAmine commented Feb 25, 2020

i m trying to make my own extension but when i execute "nmake" it says enable to found "Myextesion.c " is there away to make the compiler generate the "Myextesion.c " for me or i have to created myself
ps: i m trying to avoid re-implementing the modules on c

@cmb69
Copy link
Contributor

cmb69 commented Feb 25, 2020

See http://www.phpinternalsbook.com/ on how to write PHP extensions. See https://www.php.net/support on where to ask for help. Thanks.

@cmb69 cmb69 closed this as completed Feb 25, 2020
@DDAmine
Copy link
Author

DDAmine commented Feb 25, 2020

i did @cmb69 but i m working on windows not linux
i just wanna know if i can generate my extension without writing the "***.c" files
if there's a way to make the compiler make them , cause i have the code in php and i want to make it a "
.dll" and i have no c knowledge and thx

@cmb69
Copy link
Contributor

cmb69 commented Feb 25, 2020

PHP extensions are written in C, not PHP, and there is no way to translate PHP to C.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants