| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Php extensions
I'm not sure if this should be in c/c++ or php since its related to both but I'll put it here.
Have been working through the php extension tutorial and after setting up the environment as instructed I tried to compile the code provided in the article. VS couldn't find php_info_print_table_start, php_info_print_table_row or php_info_print_table_end and when attempting to link it couldn't open php4ts.lib. I have read the discussion thread for the article and other people have had these problems but no answers were forth coming. A quick look around google didn't yield any answers either so if someone else has had these problems and knows how to fix them could you let me know. Thanks, -KM- |
|
#2
|
||||
|
||||
|
Could it be a permissions thing? I've never written an extension on Windows, but I have written and successfully compiled a test extension (function myadd(), which takes two numeric arguments and returns their sum -- fancy, huh?) on Linux. The instructions were substantially different than those provided in the argument, involving things like running various commands to build makefiles from a function prototype list, etc. I think I got my instructions from PHP Architect.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
|
#3
|
|||
|
|||
|
Possibly but since i'm signed in as administrator on my home machine trying this I'm not sure if thats a possibility or not.
Have read the instructions on phparchitect and would much rather be doing this under linux but will be writing a php extension to talk to a windows only program so will need to do it under windows. Heres hoping someone's tried this before and knows the answer since I'm stumped on this one, -KM- |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > Php extensions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|