php-install Digest 20 Jul 2001 02:55:11 -0000 Issue 371 Topics (messages 3618 through 3631): to install PHP 4.0.3 on window2000 3618 by: giovanni cordeschi Re: php 4.0.6 & SCO: intallation nitemare.. as usual. Please help? 3619 by: g.giunta.libero. Re: Php-mysql-what os ? 3620 by: Stuart Hunter Install Trouble on RedHat 6.2 & Apache 1.13.14 3621 by: Mark S Russell 3627 by: Steve Brazill 3630 by: Rasmus Lerdorf undefined function 3622 by: Chuck Lidderdale 3626 by: Walter, Marcel AIX 4,3,3, Netscape 3.6.1 3623 by: Kenneth Lee How to compile php and all extension on windows platform 3624 by: Steen Rabøl Compile problems with AIX 4.3.3, PHP4.0.4pl1 and xlc5 3625 by: Klaus Wolf Installing PHP4 on IIS4 server-interpreter problems 3628 by: david lamson GD 1.8.4+PHP 4.0.6 3629 by: tom.optimer.isomedia.com Apache, PHP, and undefined references 3631 by: Brian & Shannon Windsor 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] ----------------------------------------------------------------------
Hy I'm trying to install PHP 4.0.3 with IIS. If I choice the php.exe in home_directory tab, when I run http://my_ip/file.php I obtain: "Errore CGI L'applicazione CGI specificata non ha restituito un insieme completo di intestazioni HTTP. Sono state restituite le seguenti intestazioni:" which in english should sound : "CGI errors , application doesn't product the HTTP headers". If I instead use the php4isapi.dll of SAPI files when i run http://my_ip/file.php I obtain : "Warning: Failed opening 'c:\inetpub\wwwroot\phpinfo.php' for inclusion (include_path='c:\inetpub\wwwroot\phpinfo.php;c:\winnt\system32\inetsrv\php\ ') in Unknown on line 0" thank you _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> I forgot to mention though I also use gd 1.3 and zlib 1.1.3. I tried to get > other goodies like gd 1.8.x, jpeg-6b, libpng-1.0.8, tiff-3.5.5, pdflib-3.02 > etc.... to work but gave up in the end. It was doing my head in ;o( The one > I'd really like to get working is pdflib. If you or anyone else does anage > to get this working I'd be most grateful if you let me know how. Maybe I'll > have another stab at it when I'm less busy. > One configuration that I got working: php4.0.3/4.0.4 + graphic libraries from SCO Skunkware (GLIB 1.5): gd 1.2 with freetype + Oracle 7.3.4 + Sybase DB (libs 10.0.3, probably) + pdflib 3.0.2. Unfortunately if you install GD 1.5 you'll automatically downgrade zlib to version 1.0.4, and all other graphics libs too. Maybe you can manage to keep different versions of any lib installed, but IMHO this would lead to library hell... Anyway, that's my recipe, as far as I can recall: -install gcc2.95.2pl1 + GNU make + glib1.5 (+ Apache 1.3.12) from skunkware (not too sure: SCO make is also ok???) -install pdflib 3.02: use "configure –enable-cxx --with-tiffauxlib='- ljpeg -lz'" -install php 4.03/4.04: you could get an error about the pdflib version in use, try changing line 31946 (or around there) of file configure from LIBS="$LIBS -ltiff -ljpeg -lpng -lz" to LIBS="$LIBS -ltiff -ljpeg -lpng -lz -lm" Hope this helps, Gaetano
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Also what should i install first Apache, MySql or Php.(Im not all that > confident with linux yet, and im sick of M$ server crashing.) > > I have installed it a couple of times now, andthe way I did it was Apache first, then MySQL and then PHP. Regards. Stuart
Hello. I'm a newbie to PHP. I don't seem to have any of the PHP Modules (other than libphp4.so).. Is there any way to download the modules listed below? mod_php.so libphp3.so libperl.so <-- Which I would think that I should have but don't.. odd.. I did the RPM install mod_php.c mod_php3.c mod_perl.c As always if you have any questions please feel free to contact me. Mark S Russell Sysadmin, Index Page ltd. http://www.indexpage.net/ Ph 716 743 1001 Fx 716 743 9608 Email [EMAIL PROTECTED]
Here's an 'abridged' version of the message I sent (since the 'list' doesn't accept anything over 40k), without the 'attachment'... ----- Original Message ----- From: "Steve Brazill" <[EMAIL PROTECTED]> To: "Mark S Russell" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, July 19, 2001 10:47 AM Subject: Re: [PHP-INST] Install Trouble on RedHat 6.2 & Apache 1.13.14 > Since your 'title' at the bottom of the Email you sent, said that you're a > "Sysadmin", I'll assume that you should know most of this already... > > You should first upgrade your version of Apache (and probably what you're > using for PHP and mod_perl). The current versions are apache-1.3.20, > php-4.0.6, mod_perl-1.25, mysql-3.23.39. > > I would remove ALL the RPMs for Apache, PHP, etc, and use the 'source' > method of configuring and installing the packages... (don't just start > copying individual files all over the place) > > I'm attaching my 'webdocs' which outline how I build a RedHat 6.2 system > that includes (among other things) instructions on how to install MySQL, > Apache, Mod_Perl, and PHP. You should at least read thru it, and note that > the 'order' of the installation is important !!! (the caviate of my method, > is that the 'DSO' option for Apache is configured during the installation of > "mod_ssl", which if you can figure it out, can be done elsewhere...). > > Besides using an 'insecure' version of Apache, you have a lot of other > security issues with your system(s)... > > It's nice that you're Email server let's me 'verify' addresses to see if > they actually exist on your system (spammers love this stuff)... > > 250 root <[EMAIL PROTECTED]> > VRFY mrussell > 250 <[EMAIL PROTECTED]> > VRFY mysql > 250 MySQL server <[EMAIL PROTECTED]> > > You might want to get rid of some of the ports you have 'exposed' to the > outside world as well (before you get 'hacked'): > > Port State Service > 21/tcp open ftp > 23/tcp open telnet > 25/tcp open smtp > 79/tcp open finger > 80/tcp open http > 98/tcp open linuxconf > 110/tcp open pop-3 > 111/tcp open sunrpc > 513/tcp open login > 514/tcp open shell > > Read my 'webdocs' on how to install SSH, and use it instead of "ftp, > telnet, login, shell" for access to the system from both 'outside' as well > as 'inside'.... (set the "allowhosts" variable in the "sshd_config" file to > only IP addresses or subnets YOU would come in from). You might ask your > ISP (or 'colo' person) for help, since it appears that the other sites > sitting next to yours, i.e. .phconsulting.com, are already setup with it). > Don't use the excuse "people who need to connect to the system from the > outside don't have and SSH client...". You can get a great FREE one from: > http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html > > Once you're all done, I'll let you know how to 'hide' all the versions of > your software your 'advertising' to the outside 'hacker' world... (for now, > I want to watch to see if your "www" site keeps the 'exploitable' version of > Apache online...) > > ----- Original Message ----- > From: "Mark S Russell" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, July 19, 2001 7:35 AM > Subject: [PHP-INST] Install Trouble on RedHat 6.2 & Apache 1.13.14 > > > > Hello. > > I'm a newbie to PHP. I don't seem to have any of the PHP Modules (other > than > > libphp4.so).. Is there any way to download the modules listed below? > > mod_php.so > > libphp3.so > > libperl.so <-- Which I would think that I should have but don't.. odd.. I > > did the RPM install > > mod_php.c > > mod_php3.c > > mod_perl.c > > > > > > As always if you have any questions please feel free to contact me. > > > > Mark S Russell > > Sysadmin, Index Page ltd. > > http://www.indexpage.net/ > > Ph 716 743 1001 > > Fx 716 743 9608 > > Email [EMAIL PROTECTED]
> Hello. > I'm a newbie to PHP. I don't seem to have any of the PHP Modules (other than > libphp4.so).. Is there any way to download the modules listed below? You only need that one. Everything is included in that one file. -Rasmus
Fatal error: Call to undefined function: ora_logon() in /var/www/html/St.... I did the standard install from RH - what did I miss? Chuck [EMAIL PROTECTED]
Create a PHP-Script with <?php phpinfo() ?> Then you can see how PHP was compiled ... If there is nothing like: --with-oracle then it won´t work You´ll have to compile a new PHP-Engine with Oracle-support but thats not so difficult ... > -----Original Message----- > From: Chuck Lidderdale [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, July 19, 2001 16:49 > To: [EMAIL PROTECTED] > Subject: [PHP-INST] undefined function > > Fatal error: Call to undefined function: ora_logon() in > /var/www/html/St.... > > I did the standard install from RH - what did I miss? > > Chuck > [EMAIL PROTECTED] > > > -- > 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]
I am having problems trying to get php 4.0.6 to work on AIX 4.3.3 as NSAPI. Here is how I ran the configure ./configure --with-zlib \ --enable-libgcc \ --with-nsapi=/www/a/netscape/suitespot \ --with-mysql=/usr/local/mysql The make and make install ran without any errors. I used gcc 2.95.3 I referenced /php-source-path/sapi/nsap/nsapi-readme.txt and http://benoit.noss.free.fr/php/install-php4.html to make the updates to mime.types, obj.conf and the start script. When I try to start my web server I receive the following messages: conf_init: Error running init function load-modules: dlopen of /www/a/netscape/suitespot/bin/libphp4.so failed (could not dlopen() the named object file) I have searched the archives and have not found anything that has helped. I am at a loss at how to resolve this issue. Has anyone run into this issue and have a solution for it? Does anyone have any thoughts as to what I should try next? Regards, Ken ===================================================== Kenneth H. Lee [EMAIL PROTECTED]; kennethl at ibmusm04 office: 914 784 5612, TL 863; fax: 914 784 3833, TL 863
Hi I have been struggeling for the last days, trying to compile php and all extensions on my Windows 2000. I have read the FAQ on www.php.net, but still after downloading the support files and a lot of other files, I'm not able to compile it. My hope is now that some one on this list have a step-by-step guide on wich files/libraries is needed in order to do a complete build of php and all the extension on windows platform. My setup is: Windows 2000, VC++6,SP5 Thanks in advance. Steen
Did anyone ever compile the following configuration: I tried to compile PHP4 under AIX 4.3.3 using xlC version 5 doing this: configue --with-mysql --with-apache=/usr/local/include make Configure runs without a problem. During make, the following error occurs: "/opt/pub/php-4.0.4pl1/ext/standard/fsock.h", line 82.60: 1506-046 (S) Syntax error. "main.c", line 1181.17: 1506-068 (W) Operation between types "unsigned char*" and "int" is not allowed. make: 1254-004 The error code from the last command is 1. Line 82 of fsock.h shows the following: PHPAPI int connect_nonb(int sockfd, struct sockaddr *addr, socklen_t addrlen, struct timeval *timeout); I suppose, there is anything wrong with the compatibility of some header-files or data types. Any ideas? Thanks a lot, Klaus
Hi I am trying to install php4.0.6 on a windows2000Adv server with IIS4 and am having configuration problems. I can get the test phpinfo() function to work on command line using php.exe -i, however, cannot get it to work on the browser. The registery is configured so .php files go to C:\php\php.exe, but somehow the interpreter is seeing my script via the browser. I have gone through the FAQs and manual, and can not get it up and running. Any ideas? thanks for any help _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Compiling PHP 4.0.6 with GD 1.8.4 gave me the following error: make[3]: Entering directory `/root/install/php-4.0.6/ext/gd' gcc -I. -I/root/install/php-4.0.6/ext/gd -I/root/install/php-4.0.6/main -I/root/install/php-4.0.6 -I/root/install/apache_1.3.20/src/include -I/root/install/apache_1.3.20/src/os/unix -I/root/install/php-4.0.6/Zend -I/root/install/gd-1.8.4 -I/root/install/php-4.0.6/ext/mysql/libmysql -I/root/install/php-4.0.6/ext/xml/expat/xmltok -I/root/install/php-4.0.6/ext/xml/expat/xmlparse -I/root/install/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c gd.c && touch gd.lo gd.c:95: conflicting types for `gdIOCtx' /root/install/gd-1.8.4/gd_io.h:18: previous declaration of `gdIOCtx' gd.c: In function `php_if_imagecreatefromgif': gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this function) gd.c:1209: (Each undeclared identifier is reported only once gd.c:1209: for each function it appears in.) gd.c: In function `php_if_imagegif': gd.c:1404: `gdImageGif' undeclared (first use in this function) make[3]: *** [gd.lo] Error 1 make[3]: Leaving directory `/root/install/php-4.0.6/ext/gd' I looked through the code, but its been years since I've touched C... Any ideas? Thanks, --tom
Help. This is driving me nuts. I'm running redhat 7.1, MySQL, apache and php. At least I'm trying to do that. I have had Apache running fine, MySQL runs fine, I try to compile php4, and things just keep breaking. I'm currently getting an 'undefined references' error pointing to some mysql files/commands. Can anyone help me out on this? Thanks, Brian Windsor