php-install Digest 21 Sep 2001 01:57:31 -0000 Issue 468 Topics (messages 4353 through 4362): $PHP_SELF = php4/php.exe on win2000 4353 by: youx.free.fr 4354 by: Data Driven Design 4355 by: Bertrand PERRINE Re: Missing functions? 4356 by: Bertrand PERRINE PHP make fails (db2 and informix) 4357 by: Chris.Kulish.ing-bdn.com PHP on IIS5/Win2K as isapi error 4358 by: Sean Capstick Resolved: Missing DLLs 4359 by: Geoff Lane PHP as FastCGI 4360 by: Przemyslaw Wegrzyn Help installing PHP on Windows 2000 4361 by: James Edmonds HELP! create gifs and jpgs 4362 by: aaron 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] ----------------------------------------------------------------------
Hi, I'm sure this point has been discussed thousand of times, but does anyone know what to do to make the $PHP_SELF working well under win2000 because in my case, echo $PHP_SELF returns php4/php.exe/path_to_my_file.php I understood tha this piece of path (php4/php.exe) is tooken in the Apache httpd.conf ScriptAlias /php4/ "C:/php4/" line, but I don't know what to do to get the good $PHP_SELF (www.mydomain.com/path_to_my_file.php) Thanks a lot for helping me, Loic
Maybe you can use the $SCRIPT_NAME variable instead? Data Driven Design 1506 Tuscaloosa Ave Holly Hill, Florida 32117 http://www.datadrivendesign.com Phone: (386) 226-8979 Websites That WORK For You ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 20, 2001 9:27 AM Subject: [PHP-INST] $PHP_SELF = php4/php.exe on win2000 Hi, I'm sure this point has been discussed thousand of times, but does anyone know what to do to make the $PHP_SELF working well under win2000 because in my case, echo $PHP_SELF returns php4/php.exe/path_to_my_file.php I understood tha this piece of path (php4/php.exe) is tooken in the Apache httpd.conf ScriptAlias /php4/ "C:/php4/" line, but I don't know what to do to get the good $PHP_SELF (www.mydomain.com/path_to_my_file.php) Thanks a lot for helping me, Loic
Use the function phpinfo() in your script and choose. B. Le 2001.09.20 15:27, [EMAIL PROTECTED] a écrit : > Hi, > I'm sure this point has been discussed thousand of times, but does anyone > know what to do to make the $PHP_SELF working well under win2000 because > in > my case, > > echo $PHP_SELF > > returns > > php4/php.exe/path_to_my_file.php > > I understood tha this piece of path (php4/php.exe) is tooken in the > Apache > httpd.conf > ScriptAlias /php4/ "C:/php4/" > line, but I don't know what to do to get the good $PHP_SELF > (www.mydomain.com/path_to_my_file.php) > > Thanks a lot for helping me, > Loic > >
First read the install docs. (dll part) Second Change W2000 for one of the UNICES to use the GD Library Third It Work. B. Le 2001.09.20 15:20, Phillip van Studinski a écrit : > Hi, > > I just installed PHP4.0.6 om my Apache server. I'm using Windows2k > Professional. > > It works fine, but some functions seem to be missing. In fact all > functions > related to imageprocessing doesn't work - e.g. imagecopy(), > createimagefrompng() etc. > > Every time I try to use them I get a "call to undefined function". What > should I do? > > - Phillip. > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
Morning All, I am currently trying to compile PHP4.0.6 (with both informix and db2 support) on a Redhat 7.1 based system. The source was obtain from php.net, blah blah blah. Everything is pretty standard on this end. Here is my configure command: ./configure --with-ibm-db2=/usr/IBMdb2/V7.1 --with-informix And this is the error I get when I make: In file included from /usr/IBMdb2/V7.1/include/sqlcli1.h:42, from /root/temp/php-4.0.6/ext/odbc/php_odbc.h:170, from internal_functions.c:38: /usr/IBMdb2/V7.1/include/sqlcli.h:323: parse error before `7' /usr/IBMdb2/V7.1/include/sqlcli.h:326: parse error before `5' Some C programmer types have told me it has something to do with the " #define SQLDATE" in the .h files for either informix or db2. Being the non-programmer that I am, this didnt help much... Our developers have a test system up and running and using their excellent documentation skills (none), we have no documentation on how they munged it to get it going. I found some references to this error around, but couldnt locate a resolution. Thanks for any help! ----- Chris Kulish Systems Engineer ING Advisors Network Ph. (515) 698-7583 Fx. (515) 698-3583 -----
When I try to access a test page, I get the error "The specified module could not be found." If I look under ISAPI filters, the PHP dll is not loaded. (I've rebooted the machine). So then I look in Event Viewer and there's an HTTP service error saying it could not load php4isapi.dll. Error data 7E 00 00 00. Anyone know what's wrong? Sean
I wrote: > I'm trying to set up an old Windows 95 box to test PHP scripts before > uploading to my ISP. I'm successfully running Apache 1.3.20 and I've > installed PHP4.0.6 from the zipped binaries to the same machine. When I > try <? phpinfo() ?>, I get a server error in my browser and a Windows error > message that tells me that MSVCRT40.DLL is missing. Searching my hard drive > shows that this file is nowhere to be seen. > > In desparation, I tried copying msvcrt40.dll from another machine to the the > \windows\system directory. Restarted Apache then tried again. This time I > got an error that MSVCIRT.DLL is missing. I copied that file to > \windows\system; restarted Apache; tried again and got a "missing export in > OLE32.DLL". ---- The situation is now resolved on my machine, although this could be a bug in the PHP distribution. I suspect that the missing DLLs are installed by some extremely common software (e.g. Microsoft Office), so very few do not have these installed prior to installing PHP. However, I'm one of these few. I installed Microsoft Data Access Components 2.1, and the problem no longer occurs -- the phpinfo() page appears in all its glory. HTH
Hello ! I've tried to setup php 4.0.5 as FastCGI app, with Apache using mod_fastcgi. Without success. Is there any FAQ (or so) available,sa ying how it should be done ? BTW, is there any other way of securing php (I mean - preventing one VitualHosts's user accessing other VH user's files) other than using PHP as CGI ? It kills much of the performance. That's why I want to give FastCGI a try... Greetings -=Czaj-nick=-
Hello, I am trying to setup php on a Windows 2000 server running Apache. I am real new to this but I would like to set up serveral virtual hosts under Apache runnning PHP and mySQL. I would like to have a test bed for me to play on prior to uploading it to my ISP. Any pointers, hard lessons learned, will be appreciated. Thanks, James Edmonds [EMAIL PROTECTED]
I'm using Windows IIS 4.0 and am trying to create gifs and jpgs and manipulate them but there is NO documentation describing what components I need to install so I can do so. There is some documentation on installation packages needed for Unix but none work on Windows or require a C compiler to build the files which eventually fail during build as well. Where is the windows documenatation? What components do I need to manipulate gifs and jpgs and in what order do I need to install them, and what versions do I need? Thanks for any help. Aaron