php-windows Digest 9 Jul 2001 10:00:08 -0000 Issue 643 Topics (messages 8190 through 8197): Re: installing php on apache 8190 by: Alan Popow 8191 by: Alan Popow Re: Spell checking w. PHP in Windows 8192 by: Johan c-client imap lib functionality with php4 8193 by: Gormley, David Re: opendir(); 8194 by: nicolas toniazzi access remote files 8195 by: nicolas toniazzi Re:Re: [PHP-WIN] installing php on apache 8196 by: Jimm Sockets on PHP 4.0.7 8197 by: Steven Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
On Sun, 8 Jul 2001 13:37:12 +0100, you wrote: David, change your action application line to "/php/php.exe" AFAIK, since you aliased /php/ as "c:/php/", your action line gets translated wrong by apache. In other words, I;m pretty sure that your "c:/php/php.exe" gets transformed internally to "c:c:/php/php.exe". Alan >I am trying in vain to get php running. > >I have win98 and apache1.3.6 server running. > >I unzipped the php-4.0.6-Win32 into c:\php > >I then downloaded php406-installer and I ran that, did a standard install. > >I was told that the installer hadn't edited my httpd.conf file for apache >and i would have to do this with accordance with the php\install.txt file. >Which has the following instructions:- >If you unzipped the PHP package to C:\PHP\ as desribed > above, you need to insert these lines to your Apache conf > file to set up the CGI binary: > > ScriptAlias /php/ "c:/php/" > AddType application/x-httpd-php .php > Action application/x-httpd-php "/php/php.exe" > >So this I did, so my httpd.conf file within apache looks like this:- ># For example, the PHP3 module (not part of the Apache distribution) ># will typically use: ># >#AddType application/x-httpd-php3 .phtml >#AddType application/x-httpd-php3-source .phps >ScriptAlias /php/ "c:/php/" > AddType application/x-httpd-php .php > Action application/x-httpd-php "c:/php/php.exe" > >But I shutdown and restart apache and try to run load a .html file in my >browser ><html> ><head> ><title>Untitled Document</title> ><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ></head> > ><body bgcolor="#FFFFFF" text="#000000"> ><?php echo "Hello World<p>"; ?> ></body> ></html> > >But nothing happens. > >I have tried to be as verbose as possible in the hope that someone can help >me out here. > >Thankyou.
On Sun, 08 Jul 2001 21:11:19 -0400, you wrote: >On Sun, 8 Jul 2001 13:37:12 +0100, you wrote: Sorry about that, I was looking at the wrong line. This was intended for Michael, not David. Alan >David, change your action application line to "/php/php.exe" > >AFAIK, since you aliased /php/ as "c:/php/", your action line gets >translated wrong by apache. In other words, I;m pretty sure that your >"c:/php/php.exe" gets transformed internally to "c:c:/php/php.exe". > >Alan > >>I am trying in vain to get php running. >> >>I have win98 and apache1.3.6 server running. >> >>I unzipped the php-4.0.6-Win32 into c:\php >> >>I then downloaded php406-installer and I ran that, did a standard install. >> >>I was told that the installer hadn't edited my httpd.conf file for apache >>and i would have to do this with accordance with the php\install.txt file. >>Which has the following instructions:- >>If you unzipped the PHP package to C:\PHP\ as desribed >> above, you need to insert these lines to your Apache conf >> file to set up the CGI binary: >> >> ScriptAlias /php/ "c:/php/" >> AddType application/x-httpd-php .php >> Action application/x-httpd-php "/php/php.exe" >> >>So this I did, so my httpd.conf file within apache looks like this:- >># For example, the PHP3 module (not part of the Apache distribution) >># will typically use: >># >>#AddType application/x-httpd-php3 .phtml >>#AddType application/x-httpd-php3-source .phps >>ScriptAlias /php/ "c:/php/" >> AddType application/x-httpd-php .php >> Action application/x-httpd-php "c:/php/php.exe" >> >>But I shutdown and restart apache and try to run load a .html file in my >>browser >><html> >><head> >><title>Untitled Document</title> >><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> >></head> >> >><body bgcolor="#FFFFFF" text="#000000"> >><?php echo "Hello World<p>"; ?> >></body> >></html> >> >>But nothing happens. >> >>I have tried to be as verbose as possible in the hope that someone can help >>me out here. >> >>Thankyou.
Hi Just an idea... Workaround1: Use exec/system with some command line spell checker? I dunno where to find one, but if using Word and C++ u could make a wrapper for the ActiveX spell checker... Workaround2: Isn't there any COM-spell checker? I belive I've heard something about it, but since I don't use COM that much... /Johan
hi, i've been told that to get imap functionality with php4 i need to compile php with the c-client lib. i've made the c-client lib, i've got the php4 src, my quetion is how do i now compile/make my php4 src with the c-client lib? any help would be greatly appreciated. thanks, david. This e-mail and any attachments accompanying this transmission may contain information which is or may be confidential and / or legally privileged. The information is intended for the use of the individuals or entities named on this transmission. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this information is strictly prohibited, and that this e-mail and any attachments should be returned to the sender immediately. If you have received this e-mail in error please notify the sender immediately and permanently delete the original and any copy or print-out thereof. Although this e-mail and any attachments are believed to be free of any virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by RCI Europe for any loss or damage arising in any way from receipt or use thereof. RCI Europe. Registered office: Kettering Parkway, Kettering, Northants NN15 6EY, England. Registered in England and Wales: Registered No: 1148410. VAT No: 217 7047 68
There is a simple method, but it has nothing to do with php : "whereisit" is a nice tool that let you index the file of every kind of medium... "Diverge" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > Hi alles. > > I'm having some problems with the opendir() command. > Basically what i want to do is create an index from the files on my CD-rom. > But opendir("e:\\"); wont do the trick. > Any suggestions? > >
Does someone know if it is possible to list the content of a remote directory on a miscrosoft network (having all the permissions of course). I tried the opendir and readdir functions, but they don't seem to work properly on remote directories. Thanks for any information. Nicolas Toniazzi
hello, Make sure that your ScriptAlias, Addtype, and Action lines are in the correct places in the config file (you should find other similar lines with a 'find' of your editor...)...if I remeber right the ScriptAlias does not belong with the others, but farther up in the config file (I don't have one handy to give the exact location, but you should see others) -jimm ----------------------------------------------- Runbox Mail Manager - www.runbox.com Free online email application
I am using the socket functions in PHP4.0.7, on Win 2000. Everything works fine, but when I use the same scripts on a Win98 or a Win95 machine the scripts fail. The problem is with the socket_connect() function. The error is 'unable to connect'. Does anyone know if the PHP4.0.7 version from www.php4win.de has been compiled for Win2000/NT only? Or is there a problem? Steven