|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
php with IIS
I'm having problems setting up php on my new computer (WinXP pro).
when I run the file test.php I just get a line in my browser <?php phpinfo(); ?> just as I would have written it in html (it just comes up as a line of text. I added the php extension to the application configuration in IIS. At the same time ASP applications run just fine. I think it's something with IIS? Anyone know what the problem is? |
|
#2
|
|||
|
|||
|
RE: php with IIS
I have php running fine on XP pro/IIS...what version of PHP are you running and have you set it up as and isapi mopdule or CGI?
|
|
#3
|
|||
|
|||
|
RE: php with IIS
I downloaded the lates version today (4.3.3 it think it is...)
"have you set it up as and isapi mopdule or CGI?" -Actually I'm not sure. If to any help, I set up almost all the default values, at least none that had to do anything to do with what you mentioned. I followed a step by step procedure... this is from my teachers homepage: http://www.enges.org/phpkurs/default2.php (swedish, sorry - but you might make something out of it) |
|
#4
|
|||
|
|||
|
RE: php with IIS
based on my limited knowledge of the Swedish language (actually I couldn't read the text but luckily, swedish pictures are the same as english ones...
|
|
#5
|
|||
|
|||
|
RE: php with IIS
just remove the ; in your code and try once, if it wont work try with reinstalling php with installer version.
|
|
#6
|
|||
|
|||
|
RE: php with IIS
Well you are missing the echo keyword. <?php echo phpinfo(); ?> |
|
#7
|
||||
|
||||
|
RE: php with IIS
No, you do not need to echo first.
|
|
#8
|
|||
|
|||
|
RE: php with IIS
Thank you! I'm very satisfied with http://wizwebhost.com , the speed and stable conditions, of course the technical support is great and the professional plan with http://wizwebhost.com is extremely affordable and supported with a lot of features and reasonable prices.
Gary Smith |
|
#9
|
|||
|
|||
|
RE: php with IIS
as trippleweb said, you don't need echo with phpinfo(). and I suggest just using the .exe installer, it is MUCH easier to work with for windows than a manual install.
|
|
#10
|
|||
|
|||
|
RE: php with IIS
You all should probably take a look at the date of the post you are replying to. That was a thread from 2003...
As to the new 2006 posts - The semi-colon in the original code is correct syntax. Because there is a closing ?> php tag immediately following the statement, it is permitted to leave the semi-colon off, but it is not required. You don't put an echo before a phpinfo() statement. The .exe installer for PHP does not include any of the extensions and is more trouble than it is worth. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > php with IIS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|