Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5532 Lượt xem

Can you give me more direction on how to install phpxmlrpc on Windows?
The instructions for XML-RPC web services for PHP say to:
"extract file xmlrpc-2.2.tar.gz and take the file xmlrpc.inc from lib directory place the xmlrpc.inc in the php library folder restart the apache/iis server"
I'm using IIS Express for a proof of concept, and I can't find a library folder. Here's my structure:
C:\Program Files (x86)\IIS Express\PHP\v5.3\dev
C:\Program Files (x86)\IIS Express\PHP\v5.3\ext
C:\Program Files (x86)\IIS Express\PHP\v5.3\extras
No other sub-folders. I tried connecting and got nothing after checking for the cookie. The xmlrcp_client is failing probably because the xmlrpc.inc file is not where it should be.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

As ugly as it is, I dropped the xmlrpc.inc file in my project folder, and now it works. I suspect there's a proper "global" spot I should put it. However all the places in IIS-Express I tried don't seem to work so I suspect it should be under WebMatrix, not IIS - in any case it works now, so I'm done with this challenge. (I had toyed with the idea of compiling it to a DLL, but that seems like overkill for a proof-of-concept!)

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 20
4950
1
thg 3 15
7569
1
thg 9 20
7336
0
thg 3 18
4267
2
thg 7 16
10862