Need some php5 help in IIS 6
-
Iccy (temp)
- Posts: 412
- Joined: Mon May 16, 2005 1:32 am
Need some php5 help in IIS 6
Yea i googled, yea i used other messageboards along with this post. I just know there is some real talent here which im hoping can help.
Hi. I am trying to get php5 to run on my win2003 server using IIS6. I seem to be having a problem getting it to function.
I used 2 tutorials now and this one was what i just used.
http://www.peterguy.com/php/install_IIS6.html
Ok. I Have downloaded the latest version of php and the extensions zip from http://www.php.net.
I have unzipped them to c:\php and c:\php\ext respectivly.
I changed the name of the php.ini accordingly.
I opened the php.ini and took out the ; for cgi.force_redirect in php.ini and set equal to 0.
I change the extension_dir = to extension_dir = "c:/php/ext" ( dont understand the / instead of \ but ok )
Then i copy and pasted the extension config from the article and pasted it over the exiting variables like so..
extension=php_mbstring.dll
extension=php_bz2.dll
extension=php_cpdf.dll
extension=php_curl.dll
extension=php_dba.dll
extension=php_dbase.dll
extension=php_dbx.dll
;extension=php_exif.dll
extension=php_fdf.dll
extension=php_filepro.dll
extension=php_gd2.dll
extension=php_gettext.dll
;extension=php_ifx.dll
extension=php_iisfunc.dll
extension=php_imap.dll
extension=php_interbase.dll
extension=php_java.dll
extension=php_ldap.dll
;extension=php_mcrypt.dll
extension=php_mhash.dll
extension=php_mime_magic.dll
extension=php_ming.dll
extension=php_mssql.dll
extension=php_msql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
extension=php_openssl.dll
;extension=php_oracle.dll
extension=php_pdf.dll
extension=php_pgsql.dll
extension=php_shmop.dll
extension=php_snmp.dll
extension=php_sockets.dll
;extension=php_sybase_ct.dll
extension=php_tidy.dll
extension=php_ffi.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
;extension=php_yaz.dll
extension=php_zip.dll
After which i opened up IIS Manager and added in the php exention entry and pointed it to c:\php\php5isapi.dll
I also added ;c:\php to the enviroment variable.
I cant get it to work. The best i have gotten is for it to connect to the local host then just sit there waiting. Not ever stoping, just waiting. localhost works, so the IIS is function properly. Im just at a complete lose where to go. Any help would be appreciated, thank you.
Hi. I am trying to get php5 to run on my win2003 server using IIS6. I seem to be having a problem getting it to function.
I used 2 tutorials now and this one was what i just used.
http://www.peterguy.com/php/install_IIS6.html
Ok. I Have downloaded the latest version of php and the extensions zip from http://www.php.net.
I have unzipped them to c:\php and c:\php\ext respectivly.
I changed the name of the php.ini accordingly.
I opened the php.ini and took out the ; for cgi.force_redirect in php.ini and set equal to 0.
I change the extension_dir = to extension_dir = "c:/php/ext" ( dont understand the / instead of \ but ok )
Then i copy and pasted the extension config from the article and pasted it over the exiting variables like so..
extension=php_mbstring.dll
extension=php_bz2.dll
extension=php_cpdf.dll
extension=php_curl.dll
extension=php_dba.dll
extension=php_dbase.dll
extension=php_dbx.dll
;extension=php_exif.dll
extension=php_fdf.dll
extension=php_filepro.dll
extension=php_gd2.dll
extension=php_gettext.dll
;extension=php_ifx.dll
extension=php_iisfunc.dll
extension=php_imap.dll
extension=php_interbase.dll
extension=php_java.dll
extension=php_ldap.dll
;extension=php_mcrypt.dll
extension=php_mhash.dll
extension=php_mime_magic.dll
extension=php_ming.dll
extension=php_mssql.dll
extension=php_msql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
extension=php_openssl.dll
;extension=php_oracle.dll
extension=php_pdf.dll
extension=php_pgsql.dll
extension=php_shmop.dll
extension=php_snmp.dll
extension=php_sockets.dll
;extension=php_sybase_ct.dll
extension=php_tidy.dll
extension=php_ffi.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
;extension=php_yaz.dll
extension=php_zip.dll
After which i opened up IIS Manager and added in the php exention entry and pointed it to c:\php\php5isapi.dll
I also added ;c:\php to the enviroment variable.
I cant get it to work. The best i have gotten is for it to connect to the local host then just sit there waiting. Not ever stoping, just waiting. localhost works, so the IIS is function properly. Im just at a complete lose where to go. Any help would be appreciated, thank you.
" I thought i could handle the power, Ive alway been a kind and gentle person.
But once i was finaly able to split the atom
i built me some bombs and droped them on every mother fucker that got in my way."
But once i was finaly able to split the atom
i built me some bombs and droped them on every mother fucker that got in my way."
Re: Need some php5 help in IIS 6
wouldn't it be c:\php\ext for a win box? did you try that to see what happened?Iccy (temp) wrote:I change the extension_dir = to extension_dir = "c:/php/ext" ( dont understand the / instead of \ but ok )
and what pho said.
-
Iccy (temp)
- Posts: 412
- Joined: Mon May 16, 2005 1:32 am
yea i tried that 4days. i didnt understand that either, but its what the tuts says to do. I tried it both ways and no go.
As far as using apache, im studying in the world of MS right now, so i am TRYING to keep it all MS for now. Im about gonna give up though cause something is stupidly wrong. Part that pisses me off is this jack ass at work got it up and running in one night, i even had him watch me this morning at work while i TS'd into the server and installed it all, exactly how he did it. Still doesnt work. :icon33:
As far as using apache, im studying in the world of MS right now, so i am TRYING to keep it all MS for now. Im about gonna give up though cause something is stupidly wrong. Part that pisses me off is this jack ass at work got it up and running in one night, i even had him watch me this morning at work while i TS'd into the server and installed it all, exactly how he did it. Still doesnt work. :icon33:
" I thought i could handle the power, Ive alway been a kind and gentle person.
But once i was finaly able to split the atom
i built me some bombs and droped them on every mother fucker that got in my way."
But once i was finaly able to split the atom
i built me some bombs and droped them on every mother fucker that got in my way."
you added the reg key so that php could find it's ini file?My browser just hangs when I try to open test.php
Did you uncomment any extensions in step 2.4? If an extension errors while loading, PHP throws up a dialog box to the console of the server displaying the name of the extension and the error. In order for PHP to continue processing (e.g., in order for the page to continue loading), you have to click the "OK" button on the dialog box.
I know, I know, pretty stoopid, but that's the way it is.
Go login to your server's console (not Terminal Services, the dialog doesn't show up there) and click "OK" to the 50 million dialogs that have popped up there (one for each time you frustratedly restarted IIS and tried to load the page again).
Then go re-comment out the troublesome extension(s) and try it again, this time keeping an eye on the server console.
Make sure you have the extensions in the order specified in 2.4; that order has been tested to load all the uncommented extensions w/out complaining.
Make sure you have downloaded and installed the "Collection of PECL modules for PHP 5.0.3" as described in step 1.1
and you tried this bit?
Re: Need some php5 help in IIS 6
I imagine they could be safeguarding against \ being an escape character (plus it doesn't really matter which character you use in the end)4days wrote:wouldn't it be c:\php\ext for a win box? did you try that to see what happened?Iccy (temp) wrote:I change the extension_dir = to extension_dir = "c:/php/ext" ( dont understand the / instead of \ but ok )
and what pho said.
this might be a stupid question, but have you tried setting it up with just the php.ini-reccomended as php.ini, without any wierd adjustments ?
also (stupider question) make sure your php binaries are actually in c:\php, and your extensions are actually in c:\php\ext
Re: Need some php5 help in IIS 6
Ah, this could be a point of error too. In my settings I have the extension dir set to "c:\\php\\ext".4days wrote:wouldn't it be c:\php\ext for a win box? did you try that to see what happened?Iccy (temp) wrote:I change the extension_dir = to extension_dir = "c:/php/ext" ( dont understand the / instead of \ but ok )
and what pho said.
-
Iccy (temp)
- Posts: 412
- Joined: Mon May 16, 2005 1:32 am
well just fyi guys, thnx for the help, but i just dont have the time to mess with this now, got studies to do. Pick this up in 2 months 
" I thought i could handle the power, Ive alway been a kind and gentle person.
But once i was finaly able to split the atom
i built me some bombs and droped them on every mother fucker that got in my way."
But once i was finaly able to split the atom
i built me some bombs and droped them on every mother fucker that got in my way."
-
Iccy (temp)
- Posts: 412
- Joined: Mon May 16, 2005 1:32 am
you know, i was always a lil afraid of apache cause of the cfg files. I tried last night to get this working through apache and even though i failed i learned just how freaking easy apache is once you get past the initial learning phase. I got stuck with the php interface and ended up finding a really good php and IIS6 tutorial and trying it again and got it working. Your all going to laugh but it turns out i think my problem was permissions. I didnt fully read the error page, but last night i did and saw it said i was trying to run a cgi or isapi from a directory that wouldnt allow it. Havent found wher ein the default IIS website that this setting is that doesnt allow them, but when i created a new website and told it to allow scripts to run, bam, all set.
Now i just need to figure out how to get phpbb to work with the mysql server i have running and im golden.
Thnx a lot of the input though guys, people wonder why i still come to a quake3 forum, especialy with titles like " do you squeeze your dogs nut sack " or whatever it was. I keep telling them, they dont know
Now i just need to figure out how to get phpbb to work with the mysql server i have running and im golden.
Thnx a lot of the input though guys, people wonder why i still come to a quake3 forum, especialy with titles like " do you squeeze your dogs nut sack " or whatever it was. I keep telling them, they dont know
" I thought i could handle the power, Ive alway been a kind and gentle person.
But once i was finaly able to split the atom
i built me some bombs and droped them on every mother fucker that got in my way."
But once i was finaly able to split the atom
i built me some bombs and droped them on every mother fucker that got in my way."