php-install Digest 9 May 2001 06:41:06 -0000 Issue 299 Topics (messages 3066 through 3080): Re: best OS platform for low memory, php/mysql web server 3066 by: B. van Ouwerkerk 3070 by: Steve Brazill 3071 by: Rick Morris Re: install fails 3067 by: Chris Siburt Re: Can't not start the apache when I configure with oci8or oracle 3068 by: LIANG, YANSHENG (ANM) Re: Still having problems with fdftk 3069 by: Jon Peccarelli 3072 by: Jani Taskinen Instaling php 4.05 with Apache 1.3.19 on Win2k 3073 by: Nick Session question 3074 by: Shadow Tree 3075 by: Rafael Ernesto Bastidas L. Help with PDFLIB 3076 by: Scott Schultz Help please 3077 by: Laptop765.aol.com 3078 by: Dave Mariner banging my head... 3079 by: Philip Cohen Re: PHP 4.0.5, PostgreSQL, apxs config failure 3080 by: Joël 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] ----------------------------------------------------------------------
>So, I've tried using Red Hat 7.0 to get a php/mysql enabled web server >running on a PII 266 system with a whoping 16M ram. It has been a chore to >say the least. Red Hat really seems to have some issues here. The RPMs >don't work and installing from source doesn't work. Is there a better >version of Linux out there for me to run this kind of a system on? Should >I just bite the bullet and get more memory and possibly a licenced version >of a linux server package? Any input is more than welcome. YES!!!! You could try Slackware. I never ran it on 16megs but it runs fine on my notebook with 32M.. It can even be used as a webserver.. wouldn't push it to much.. but it can be used as testbedserver.. 16M isn't enough for a productionserver.. Bye, B.
Though it's possible to run Linux on a system with only 16 meg of RAM (I did it with version 1.2 seven years ago..), I think you'll find that a lot of 'issues' will go away if you have at least 64 meg installed... Check out Ebay for any 'deals' on RAM (128 meg 'sticks' should be going for aproximately $35). The PII-266mhz should be fine (I have 5 systems based on that CPU running Linux at the moment). There are a lot of issues with the 'vanilla' RedHat 7.0 version (hence, the numerous RPM 'updates' you'll have to download and install), so you might want to grab a copy of 7.1 which was recently released (but, there's still about 6-10 RPM 'updates' you'll still need to download). You haven't mentioned the method (RPM or source) of installation you've been using, or the 'order' in which you've done it (which might help identify what the issues are that you're running into...). If you need a 'build sheet' that spells out the procedure of 'building' a Linux server (including the steps for various packages, such as apache/mysql/php, Samba, NTP, SSL, etc, let me know, and I'll Email them to you... There are also several 'articles' online that give generic info on building systems consisting of these 'services'... (some are better than others). Let me know if you're interesting in the links... ----- Original Message ----- From: "Ted Hobson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 08, 2001 6:31 AM Subject: [PHP-INST] best OS platform for low memory, php/mysql web server > So, I've tried using Red Hat 7.0 to get a php/mysql enabled web server > running on a PII 266 system with a whoping 16M ram. It has been a chore to > say the least. Red Hat really seems to have some issues here. The RPMs don't > work and installing from source doesn't work. Is there a better version of > Linux out there for me to run this kind of a system on? Should I just bite > the bullet and get more memory and possibly a licenced version of a linux > server package? Any input is more than welcome. > > thanks > Ted. > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > -- > 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] >
----- Original Message ----- From: "Ted Hobson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 08, 2001 9:31 AM Subject: [PHP-INST] best OS platform for low memory, php/mysql web server > So, I've tried using Red Hat 7.0 to get a php/mysql enabled web server > running on a PII 266 system with a whoping 16M ram. It has been a chore to > say the least. Red Hat really seems to have some issues here. The RPMs don't > work and installing from source doesn't work. Is there a better version of > Linux out there for me to run this kind of a system on? Should I just bite > the bullet and get more memory and possibly a licenced version of a linux > server package? Any input is more than welcome. > > thanks > Ted. I suggest you try FreeBSD (www.freebsd.org). It's not Linux, but it is a free Unix, and in my experience it tends to outperform Linux, especially in low-memory situations. I actually managed to get Apache/PHP/MySQL to *compile* on a 486 with 8 MB RAM. (it took a couple of days of compiling, but it completed). Now that was PHP3, and MySQL 3.22, and I know the later versions of each require more memory, but it should still be possible with 16 MB RAM. Just don't try to run an X desktop at the same time. Also remember that MySQL has a --with-low-memory compile option. HTH Rick
I had this same problem, I did a Google search for the file, and it turned up this file http://manuel01.virtualave.net/files/ocxpack2.zip I found it on some Napster support site. I extracted "MSCOMCTL.OCX" to my WINNT/System32/ directory, and things are great now. Chris "Yasuo Ohgaki" <[EMAIL PROTECTED]> wrote in message 9ac5o8$7rg$[EMAIL PROTECTED]">news:9ac5o8$7rg$[EMAIL PROTECTED]... > Missing/Not registered mscomctl.ocx seems common problems with NT. > I don't know how to fix this, but you may find hints in Annotated Manual or > BugDB. > > By the way, I've used ISAPI version just a little, I suggest to use CGI with IIS > or Apache. Too many problems with ISAPI for me. > > Regards, > -- > Yasuo Ohgaki > > > ""Mike Schwarz"" <[EMAIL PROTECTED]> wrote in message > 9aar9d$mnt$[EMAIL PROTECTED]">news:9aar9d$mnt$[EMAIL PROTECTED]... > > i have a strange bug here, don't now where to search. > > when i install php with setup.exe on my win 2000 server, there is a error > > message: > > > > - component mscomctl.ocx or one of its dependencies not correctly > > registered, a file is missing or invalid > > > > after clicking on OK, php setup says OK, successfull installation. > > i check the isapi extension in IIS 5.0 --> nothing > > so, i did manual configuration in IIS with extension .php and the correct > > dll > > > > after running a test, every php-script is terminating with a > > http error 500 - internal server error > > and in the system-event-protocol i have an error 10004: > > > > EventID 10004 Source DCOM DCOM got error > > "Logon failure: unknown user name or bad password. " and was unable to logon > > \IWAM_TEK1 in order to run the server: > > {3D14228D-FBE1-11D0-995D-00C04FD919C1} > > > > same happens with an installation of IHTML or other script-server dll.... > > > > who can help? > > > > mike > > > > C-TEK Computer > > Bergstrasse 36 > > CH-5430 Wettingen > > phone & fax 056 426 04 01 > > > > > > > > -- > > 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] > > > > > -- > 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] >
Jani and php-install-list, Thank you very much for your help. I add the path (/u01/app/oracle/product/8.1.5/lib in /etc/ld.so.conf file, then run /sbin/ldconf. And start the apache, the original error message(cannot load /usr/local/apache/libexec/libphp4.so into server) is gone. But I got a new error message : Syntax error on line 383 of /usr/local/apache/conf/httpd.conf: Invalid command 'Order', 'Allow','deny', 'Logformat', Perhaps mis-spelled or defined by a module not included in the server configuration. I think I might need to add more option in my php configuration. Anyone has any idea about these. Eddie Liang Database Administrator Phone: 630-305-4822 Page: 630-727-5853 ----- Original Message ----- From: "Jani Taskinen" <[EMAIL PROTECTED]> To: "LIANG, YANSHENG (ANM)" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, May 05, 2001 8:54 PM Subject: Re: [PHP-INST] Can't not start the apache when I configure with oci8or oracle > > You don't have the path to that library in your /etc/ld.so.conf file. > Add it and run /sbin/ldconfig and everything should be fine. > > --Jani > > > On Fri, 4 May 2001, LIANG, YANSHENG (ANM) wrote: > > >Hi, > > I try to install php4.0.4pl1 in my linux Red hat6.1, I configure the > >php, with the following command, > > > >./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql > >--enable-track-vars --enable-debug > >--with-oracle=/u01/app/oracle/product/8.1.5 > >--with-oci8=/u01/app/oracle/product/8.1.5 > > > >make > > > >make install > > > >Anything seems fine. I can complete the installation without a error. > > > >But When I start the apache (httpd start) I got the error in below: > > > >syntax error on line 207 of /usr/local/apache/conf/httpd.conf > >cannot load /usr/local/apache/libexec/libphp4.so into server: > >libclntsh.so.8.0: > >cannot open object file: No Such file or directory. > > > >I check the path and the files(libphp4.so, libclntsh.so.8.0), they are > >exist. Can anyone tell me what is wrong here? > > > >Please help!!!!!!!!!!! > > > > > >Eddie Liang > >Database Administrator > >Phone: 630-305-4822 > >Page: 630-727-5853 > > > > >
Well, I haven't received anything from my previous 2 posts, so I guess my wording caught somebody's attention. My next question is to verify that FDF will work with the --with-apxs option, or does it have to be statically linked to Apache? "Jani Taskinen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Mon, 7 May 2001, Jon Peccarelli wrote: > > >I STILL cannot get fdftk working properly. I am VERY upset, as this is one > >of the big reasons I'm using PHP. If this won't work, I'm going to start > >looking at Java and dumping PHP! > > Well that's your problem. These kind of 'threats' make people NOT want > to help you. So please, move to Java. >
On Tue, 8 May 2001, Jon Peccarelli wrote: >Well, I haven't received anything from my previous 2 posts, so I guess my >wording caught somebody's attention. My next question is to verify that FDF >will work with the --with-apxs option, or does it have to be statically >linked to Apache? You don't have to link it statically. It shouldn't make any difference. DSO is just easier to update compared to statically linked module. I only use DSO's for the very reason..as I update my PHP every day. :) --Jani
Hi, i'm having trouble installing php 4.05 w/ apache 1.3.19 on win2k. Apache works fine without php, but gives an "extension not found" error message when configured to use php4apache.dll . I have tried changing apache versions and changing the location of the php4apache.dll, but to no avail - any ideas ? thx, Nick
I have a question about session variables. In my page the session variables are not seen by the pages where tem are not declared. I´ve used "session_register($variable)" and so after at another page I´ve called "echo $variable;" and it generate a message that the variable does not exists. The session variables are not suposed to be seen at any time, at any page when the param globals is set on while session stands up? Obrigado. R3. Rodrigo Rois da Rocha. Acesse agora! www.circulonegro.com _______________________________________________________________________________________ Obtenha seu Serviço de Correio eletrônico Baseado na Web Service em http://www.zzn.com
I could be wrong, but I think that u have to start the session on every page where u want to make the variables visibles. Rafael -----Original Message----- From: Shadow Tree [mailto:[EMAIL PROTECTED]] Sent: Martes, 08 de Mayo de 2001 02:54 p.m. To: [EMAIL PROTECTED] Subject: [PHP-INST] Session question I have a question about session variables. In my page the session variables are not seen by the pages where tem are not declared. I´ve used "session_register($variable)" and so after at another page I´ve called "echo $variable;" and it generate a message that the variable does not exists. The session variables are not suposed to be seen at any time, at any page when the param globals is set on while session stands up? Obrigado. R3. Rodrigo Rois da Rocha. Acesse agora! www.circulonegro.com _______________________________________________________________________________________ Obtenha seu Serviço de Correio eletrônico Baseado na Web Service em http://www.zzn.com -- 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]
Hi, Y'all. Count me as one of the many who have had trouble with pdflib, sthough my problem seems to be a bit different. In a nutshell, I can't seem to make PHP recognize that the pdflib is there. Configuration is PHP v 4.0.5, Apache 1.3.14, pdflib 4.0.0. Pdflib compiles and install correctly. At one point there was a pdflib installed as part of the SuSE installation, but I removed it once I found it and I then did a make clean on Apache, PHP and pdflib and recompiled and re-installed everything. PHP compiles and installs. The configuration as reported by phpinfo is: './configure' '--with-apache=/usr/local/src/apache_1.3.14' '--enable-discard-path' '--with-config-file-path=/usr/local/lib' '--enable-sigchild' '--enable-ctype' '--with-cybercash=/usr/local/src/mck-3.2.0.4-linux' '--with-gdbm' '--with-ndbm' '--enable-ftp' '--with-mysql=/usr' '--with-pdflib=/usr/local/lib' '--with-zlib-dir=/usr/local/lib' '--with-jpeg-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib' '--with-tiff-dir=/usr/local/lib' '--enable-sockets' '--with-regex=php' '--enable-sysvsem' '--enable-sysvshm' '--with-zlib' '--with-gnu-ld' Note that this shows that PHP SHOULD know that the pdf functions are compiled in. Changing the pdflib path causes Apache to fail to compile due to missing PDF_* functions; further evidence that the pdflib library is, indeed, being linked into Apache and PHP. When run on the sample included with pdflib, the following error is generated: Fatal error: Call to undefined function: pdf_new() in /usr/local/apache/htdocs/cjhunter/test/pdf/hello.php on line 5 Trying to bypass pdf_new() and going doing the fopen(),pdf_open() trick just results in pdf_open() being the unknown function. I can see that the module source code knows about pdf_open, and I can see that the pdf module is compiled into PHP and Apache. I just can't see why I can't call any of the pdflib functions. Any ideas? Scott Schultz [EMAIL PROTECTED]
Ok, I have a PC without the internet. I develop webpages on it. How should I configure it to show php pages, and how do I go about doing it? Please help me! Æß»LáPtÖp765«ßÆ
Basically, you'll have to set up a web server on your PC. Also, if you want a data-driven site, you'll need a database server on there as well. Without more information (PC spec, your OS of choice etc), there's not much more I can say, apart from consider the practically standard solution of apache/php/MySQL - this combination is available on both Windoze 9x/NT/2K and *nix platforms. A good tutorial for setting it all up can be found at the following URL: http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/ or alternatively look at http://www.webmasterbase.com/article.php?aid=228&pid=0 - a really comprehensive guide to data-driven websites with php& mysql (& it covers installing under Doze as well!) Hope this helps, Dave. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 08, 2001 10:53 PM Subject: [PHP-INST] Help please Ok, I have a PC without the internet. I develop webpages on it. How should I configure it to show php pages, and how do I go about doing it? Please help me! Æß»LáPtÖp765«ßÆ -- 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 cannot get php 4.0.5 to compile on RH 7.1, apache 1.3.19. I have tried 20 different compile options and nothing works. here is debug.log. please help ;\ [root@websmith php-4.0.5]# more debug.log CONFIGURE: './configure' '--prefix=/usr/local/php' '--disable-debug' '--enable-shared' '--enable-inline-optimization' '--with-apxs =/usr/sbin/apxs' '--with-gd' '--with-ttf' '--with-t1lib=/usr/share/t1lib' '--without-mysql' CC: gcc CFLAGS: -g -O2 CPPFLAGS: -DLINUX=22 -DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPP ORT_UTF8 CXX: CXXFLAGS: INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend -I/usr/include/fr eetype -I/include LDFLAGS: -Wl,-rpath,/lib -L/lib LIBS: -lt1 -lttf -lz -lpng -lgd -lresolv -lm -ldl -lcrypt -lnsl -lres olv -L/lib -lt1 DLIBS: SAPI: apache PHP_RPATHS: /lib uname -a: Linux websmith 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT -D SUPPORT_UTF8 -Wl,-rpath,/lib -L/lib conftest.c - lt1 -lttf -lz -lpng -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv -L/lib -l t1 1>&5 /usr/bin/ld: cannot find -lt1 collect2: ld returned 1 exit status Philip Cohen --------------- Webmaster Large Scale Biology Corporation (707) 446-5501 x354 [EMAIL PROTECTED]
[EMAIL PROTECTED] : > On MacOS X 10.0.2, PHP 4.0.5 configure ends with the message: The problem is now resolved. A PostgreSQL library (libpq.a) was damaged, I run ranlib on it and then configure, make, install php worked like a charm.