|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
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 doesn't work
Hey
At the end of php4.3.4 installation, the window pops up saying that it cannot find c:WINNTsystem32iisext.vbs (or one of its components). When i go to http://localhost/test.php it comes up with the "Page Cannot be Displayed". test.php cantains: <?php phpinfo() ?> During the installation i've set php to configure for IIS6 or higher. Can anyone help? Thanks |
|
#2
|
||||
|
||||
|
RE: php doesn't work
make sure you have apache running or whatever server software you use.
|
|
#3
|
|||
|
|||
|
RE: php doesn't work
I use IIS and it works fine. I've tried it with the html file and it worked. I think it something to do with the php.
|
|
#4
|
|||
|
|||
|
RE: php doesn't work
is the test.php file located in the root folder of the web server? You would get a page cannot be displayed if IIS cannot find the file. If php is not working and IIS finds the file it would just output the contents of the file...in your case you would see <?php phpinfo() ?> displayed in the browser.
|
|
#5
|
|||
|
|||
|
RE: php doesn't work
test.php is in the web root directory (c:Inetpubwwwroot)
|
|
#6
|
|||
|
|||
|
RE: php doesn't work
Is PHP installed as a CGI? if it is it, the file has to be in an exec directory. Put it in the cgi bin and see if it works.
|
|
#7
|
|||
|
|||
|
RE: php doesn't work
Where is cgi bin? I'm using win2k sever and i did normal php installtion, i don't know if php is installed as CGI.
|
|
#8
|
|||
|
|||
|
RE: php doesn't work
Do you have something where your html documents go, in there should be a directory like cgi-bin or something like that. Put it in that and change the permissions to 755.
I have never played with a windows server before so I am guessing a little on locations. Sorry, |
|
#9
|
|||
|
|||
|
RE: php doesn't work
Ha!
I managed to get it to work. Typical! When i saved the file test.php in notepad, "Save as type" window said *.txt. When i choose "All Files" instead of default "*.txt", it worked. It can see that it is a php file when u choose "All Files" in the "Save as type". Thanks for all the help |
|
#10
|
|||
|
|||
|
RE: php doesn't work
I just love windows...
|
|
#11
|
|||
|
|||
|
RE: php doesn't work
If you want to use notepad to edit files other than text files and save a file to a specific extension other than .txt , you have to enclose the filename in quotes (e.i. "myfile.php") in the save as dialog box.
|
|
#12
|
||||
|
||||
|
RE: RE: php doesn't work
Quote:
i dont like windows for doing that because if i try making a .sql file containing queries it changes it to run.sql.txt every time and you cant remove the .txt to i have to ftp it then change it. I dont like windows im going to change to linux soon. |
|
#13
|
|||
|
|||
|
RE: php doesn't work
Like I stated in my post, enclose the filename and extension in quotes and the .txt extension will not be added to the filename. Switching operating systems for this reason alone seems pretty drastic if you ask me...
|
|
#14
|
||||
|
||||
|
RE: php doesn't work
ok thanks for the tip blindeddie.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > php doesn't work |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
![]() |
|