php-install Digest 21 Sep 2001 18:25:25 -0000 Issue 469 Topics (messages 4363 through 4367): Re: PHP on WinNT + IIS4 4363 by: Arnaud Lesauvage Re: HELP! create gifs and jpgs 4364 by: Stefan Siefert compile problem on rh 7.1 w/ apache 2.0.6 4365 by: Justin Compiling problems with PHP4.0.6+apache1.3.20+mysql3.23.39 4366 by: Stefano Baronio File download? 4367 by: Steve Blair 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] ----------------------------------------------------------------------
I have just the same problem : win1k sp2 + iis5 + php 4.06. I am a php newbie, so I followed install.txt. I checked "check if file exists", I tried "php -i " and it outputs something that looks good. I need help too! -- Arnaud Lesauvage Greg <[EMAIL PROTECTED]> a écrit dans le message : [EMAIL PROTECTED] > Hey, > > I know this was awhile ago, but I managed to break it again. > > I'm getting the "cgi error" that says there is no output from the program. > > I've set it as "script engine" and "check file exists" for ".php" and the > exe name is correct (it gives a different error otherwise). I tried doing > php.exe -i and also typing : > > <?php phpinfo(); ?> into the program on the command line and it looks good. > > Any suggestions would be helpful, > > Greg > > "Phil Driscoll" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Sunday 12 August 2001 8:46 pm, Greg wrote: > > > I had a similar problem. I installed PHP 4.0.6 on Windows 2000 Server > and > > > IIS 5.0. I got the same error. I checked the command line and the > output > > > looks good to me. > > > > > > does the PHP.exe need to be in the cgi-bin directory? currently it is > not > > > in a web-shared directory. > > No it doesn't. > > > > Have you tried following the instructions in install.txt to tick the > 'check > > file exists' box in the script mapping dialog? If not, try it - your error > > may then turn into a 404 implying that your script is not where you think > it > > is, or has a silly hidden file extension on the end or similar. > > > > Cheers > > -- > > Phil Driscoll > >
Hi Aaron, I can't answer all the question of yours (cause we only use linux) but I think I might give you some hints (I'm not sure if this works on Windows). On Linux, you can create Images from PHP withe the php own functions (requires gdlib) or with an external tool (think there exists maybe more than one, I only know of this one). Image Magick is, I think, also available for Windows systems and allows you a lot Image Manipulations (IMHO more than the php own functions). Probelm is, that Image Magick doesn't support Gifs anymore in the "new" versions, cause of an Licenceproblem with gif. I'm not sure, bu you might have the problem also with the phpown function (cause gdlib on linux supports also no longer gifs). The benefit and also the solution of your problem might be, that Image Magick supports instead of Gifs the newer and technically better format png. Jpeg is no problem at all. If you need to support gifs, you need to find another solution, if pngs anf jpegs are enought to you Image Magick could be a solution for your problem. Greetings, Stefan -----Ursprüngliche Nachricht----- Von: aaron [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 21. September 2001 03:57 An: [EMAIL PROTECTED] Betreff: [PHP-INST] HELP! create gifs and jpgs 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 -- 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]
It goes through the configure process fine, but when i try to make on it it gives me this error: make[3]: Entering directory `/root/progs/php/php-4.0.6/sapi/apache' /bin/sh /root/progs/php/php-4.0.6/libtool --silent --mode=compile gcc -I. -I/ro ot/progs/php/php-4.0.6/sapi/apache -I/root/progs/php/php-4.0.6/main -I/root/ prog s/php/php-4.0.6 -I/www/include -I/root/progs/php/php-4.0.6/Zend -I/root/prog s/ph p/php-4.0.6/ext/mysql/libmysql -I/root/progs/php/php-4.0.6/ext/xml/expat/xml tok -I/root/progs/php/php-4.0.6/ext/xml/expat/xmlparse -I/root/progs/php/php-4.0 .6/T SRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c sapi_apache.c sapi_apache.c: In function `apache_php_module_main': sapi_apache.c:80: `NOT_FOUND' undeclared (first use in this function) sapi_apache.c:80: (Each undeclared identifier is reported only once sapi_apache.c:80: for each function it appears in.) make[3]: *** [sapi_apache.lo] Error 1 make[3]: Leaving directory `/root/progs/php/php-4.0.6/sapi/apache' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/progs/php/php-4.0.6/sapi/apache' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/progs/php/php-4.0.6/sapi' make: *** [all-recursive] Error 1 I'm trying to compile it as a module so i can load it into an already configured apache. justin
These are the ./configure commands: apache ./configure --prefix=/opt/apache --enable-module=most --enab le-shared=max php ./configure --with-apache=/opt/apache_1.3.20 --enable-discar d-path --enab le-safe-mode --with-mysql=/opt/mysql --enable-sockets --with -vpopmail=/home/vpopmail The error appears when I recompile apache: ... -L../../modules/php4 -lmodphp4 -lpam -ldl -lvpopmail -lmys qlclient -lcrypt -lresolv -lm -ldl -lns l -lresolv -lm -lcrypt /opt/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress': my_compress.o(.text+0x9a): undefined reference to `uncompress' /opt/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0x12a): undefined reference to `compress' collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/opt/apache_1.3.20/src' make[1]: *** [build-std] Error 2 And also if I do not specify the mysql path.. Does someone can help me ? Thanks Stefano _______________________________________________ Per i principianti: ricordatevi di usare "Reply all" per rispondere a tutti. Per tutti: ricordatevi che la pagina dalla quale potete gestire i parametri della vostra iscrizione e' (es: email = [EMAIL PROTECTED]) http://lists.torino.linux.it/cgi-bin/mailman/options/forum/p inco__at__pallino.it forum at lists.torino.linux.it http://lists.torino.linux.it/cgi-bin/mailman/listinfo/forum Stefano Baronio Cefin Systems Italia s.r.l. 88, c.so Duca degli Abruzzi 10129, Torino -ITALY- Tel:+39.011.504609 Fax:+39.011.504386 [EMAIL PROTECTED] www.sateltrack.com
I finally got PHP 4.06/Apache 1.3.20 to compile on Solaris 8, I did the static module. I ran into another problem though. When I try to access my test.php both Mozilla and IE prompt me for an application/download. I ran httpd -l and it shows mod_php4.c, I checked the httpd.conf and the 'AddType application/x-httpd-php .php' is there. I also placed a false LoadModule statement in the httpd.conf file and tried a reload which failed, so I've got the right configuration file. Am I missing something else here? Any help is greatly appreciated Steve