Solved

SOAP extension in PHP5 withing IIS7 not working

Posted on 2009-05-19
4
1,896 Views
Last Modified: 2013-12-13
I have a client trying to create a PHP script using soap. I have the default php5 installed on my sbs 2008 server with IIS 7. The original php.ini did not have the soap extension so i added it. I added it but when i pull up phpinfo it does not show.

help?
0
Comment
Question by:Macky4546
  • 3
4 Comments
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 24431231
What INI file is shown in phpinfo (near the top).

Did you edit that file?

It may be worth just cycling the site/pool/server (stop/start).


0
 

Accepted Solution

by:
Macky4546 earned 0 total points
ID: 24433781
Configuration File (php.ini) Path       C:\Windows
Loaded Configuration File       C:\Program Files (x86)\PHP\php.ini


that is the one im editing
0
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 24439061
OK.

Can you go to the command line and type the following line (you will need to amend the paths)..

"C:\Program Files (x86)\PHP\PHP.EXE" -c "C:\Program Files (x86)\PHP\php.ini" -v
and then
"C:\Program Files (x86)\PHP\PHP.EXE" -c "C:\Program Files (x86)\PHP\php.ini" --ini
and then
"C:\Program Files (x86)\PHP\PHP.EXE" -c "C:\Program Files (x86)\PHP\php.ini" -m

You should get some output like the snippet below.

You can make your life a lot easier by amending your PATH to include the location of PHP.EXE.
[21/05/2009  9:12:36] [C:\] [] >php -v
PHP 5.3.0RC3-dev (cli) (built: May 19 2009 12:57:00)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
 
[21/05/2009  9:12:39] [C:\] [] >php --ini
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File:         D:\PHP\INI\php-cli.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed:      (none)
 
[21/05/2009  9:12:41] [C:\] [] >php -m
[PHP Modules]
bcmath
bz2
calendar
com_dotnet
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
imap
intl
json
ldap
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
odbc
openssl
pcre
PDO
pdo_mysql
PDO_ODBC
pdo_sqlite
Phar
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
SQLite
sqlite3
standard
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib
 
[Zend Modules]

Open in new window

0
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 24779290
So what was the issue? Did I not help?
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question