php-install Digest 1 Aug 2001 15:35:07 -0000 Issue 390 Topics (messages 3768 through 3784): Empty php.ini file... 3768 by: Stephen Ferwerda problem with configure script and fdf support 3769 by: Jon Wagoner 3779 by: Jani Taskinen apache-1.3.20 + php4.0.6 3770 by: Horvath Andras PHP doesn't find PDFLib functions 3771 by: Christophe Cinquantun 3784 by: Jim Thome Missing OCX Controller. 3772 by: James Newburrie 3774 by: Phil Driscoll Re: How to compile PHP with IMAP option? 3773 by: Jeremy Maziarz 3777 by: Jani Taskinen Re: problem image create () ...... 3775 by: Jean Madson Has anyone actually installed PHP4 from RPMs? 3776 by: Phil Latio PHP/IIS4/Oracle: php.exe is not terminating by itself 3778 by: Victoria Zhou Install php4 in wondows 2000 3780 by: Ruri Dwisatria 3781 by: Fritz Mesedilla Problem installing PHP4 on Linux 3782 by: Kevin Sayre phentsize 3783 by: webadminguy.voltar-confed.org 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'm running php4 on a Unix server and when I edit the php.ini file, it appears to be empty. I've gone ahead and compiled and installed the latest release and the php.ini located in /usr/local/lib/ is still empty. I've tried to find a php.ini-dist file on the server and cannot find one. Any suggestions on why the file would be empty even after installing a newer version? Thanks, Steve -------------------------- Stephen Ferwerda Central Wyoming College Web Technologies Instructor 2660 Peck Avenue Riverton, WY 82501 307.855.2160 800.735.8418 x2160 [EMAIL PROTECTED] http://cwcwebstudents.net
We have a client that is using fdf with their current site (asp) and I was curious about the support in php. I found that the configure script had a problem, and was including -l by itself in the LIBS variable. The problem is on line 16436 (this is php 4.0.6, not sure if that matters) This line currently is written: if test $FDFLIBRARY = ""; then however, if there is no fdf library found, FDFLIBRARY is an empty string, so the line ends up: if test = ""; then and gives an error. I think a correct way to do this would be to write it: if test "$FDFLIBRARY = ""; then I'm not sure if this is the right place to put this, but I wanted to help
I fixed this in CVS now. Thanks! ( changed it to 'if test -z "$FDFLIBRARY"; then' instead..:) --Jani On Tue, 31 Jul 2001, Jon Wagoner wrote: >We have a client that is using fdf with their current site (asp) and I was >curious about the support in php. > >I found that the configure script had a problem, and was including -l by >itself in the LIBS variable. > >The problem is on line 16436 (this is php 4.0.6, not sure if that matters) >This line currently is written: > >if test $FDFLIBRARY = ""; then > >however, if there is no fdf library found, FDFLIBRARY is an empty string, so >the line ends up: >if test = ""; then >and gives an error. > >I think a correct way to do this would be to write it: > >if test "$FDFLIBRARY = ""; then > >I'm not sure if this is the right place to put this, but I wanted to help > >
Hi! A tried to install apache-1.3.20 with php 4.0.6 with imap support. If I try to start the apache server it doesn't work: Syntax error on line 245 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/libexec/libphp4.so into server: /etc/httpd/libexec/libphp4.so: undefined symbol: mxdriver without imap it works. When I try to make a self contained extension it says: ./configure .... .configure: error: This c-client library does not support SSL. Recompile or remove --with-imap-ssl from configure line. What can I do? Thanks, Andras
I don't succeed in building PHP 4.0.6 with PDFLib 4.0.1 I've installed the PDFLIB 4.01 source in <pdflib-dir>, run ./configure, make and make install. Then, as specified in <pdflib-dir>/bind/php/readme.txt, I've copied <pdflib-dir>/bind/php/ext/pdf/* in <php-dir>/ext/pdf and build php with ./configure --with-pdflib=/usr/local, make and make install I got no errors, but PHP doesn't recognize any PDF functions (Call to undefined function: pdf_new()) I tried to change the --with-pdflib value, with <pdflib-dir>/bind/c or junk directories, it doesn't change anything (No error, but no PDF functions) php -m doesn't say anything about pdf. I didn't notice anything important in config.log What can be wrong, How to know what pdflib library file php is looking for ? My php configure line is ./configure --with-pdflib=/usr/local --enable-safe-mode=yes --enable-discard -path=yes
It took me quite awhile to get PDFLIB 4.0.1 to compile with PHP, and here are the config options that finally worked for me (on HPUX). PDFLIB: ./configure --enable-shared-pdflib --enable-cxx --with-tifflib=/usr/lib --with-zlib=no --with-pnglib=no PHP (DSO build): ./configure --with-apxs=/path/to/apache/bin/apxs --with-mysql=no --with-pdflib=/usr/local --enable-shared=pdflib --enable-libgcc --with-zlib=/opt/zlib --with-zlib-dir=/opt/zlib NOTE - Even though the PHP compile might say that PDFLIB is being included, if you don't have see the following lines during compile, PDFLIB will NOT be included: #################################### checking whether to include PDFlib support... yes checking for PDF_show_boxed in -lpdf... yes ##################################### Good Luck, Jim Thome >>> "Christophe Cinquantun" <[EMAIL PROTECTED]> 08/01 4:49 AM >>> I don't succeed in building PHP 4.0.6 with PDFLib 4.0.1 I've installed the PDFLIB 4.01 source in <pdflib-dir>, run ./configure, make and make install. Then, as specified in <pdflib-dir>/bind/php/readme.txt, I've copied <pdflib-dir>/bind/php/ext/pdf/* in <php-dir>/ext/pdf and build php with ./configure --with-pdflib=/usr/local, make and make install I got no errors, but PHP doesn't recognize any PDF functions (Call to undefined function: pdf_new()) I tried to change the --with-pdflib value, with <pdflib-dir>/bind/c or junk directories, it doesn't change anything (No error, but no PDF functions) php -m doesn't say anything about pdf. I didn't notice anything important in config.log What can be wrong, How to know what pdflib library file php is looking for ? My php configure line is ./configure --with-pdflib=/usr/local --enable-safe-mode=yes --enable-discard -path=yes -- 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 All, I have setup a development server at work, running NT4 Server, with IIS4 which is all good, except when I try to install to PHP using the precompiled version, I get a missing OCX controller error. Now I understand that I will have to edit the configuration file manually at this point, but I am unsure which settings do what mostly because of my inexperience in having to do such things. Is there a way I can work around this by downloading the controllers required, placing them where they should be, and then reinstalling the PHP to find that it configures itself automatically, and my heartache can end? Regards, James.
On Wednesday 01 August 2001 12:00, James Newburrie wrote: > Hi All, > I have setup a development server at work, running NT4 Server, with IIS4 > which is all good, except when I try to install to PHP using the > precompiled version, I get a missing OCX controller error. Now I > understand that I will have to edit the configuration file manually at this > point, but I am unsure which settings do what mostly because of my > inexperience in having to do such things. > > Is there a way I can work around this by downloading the controllers > required, placing them where they should be, and then reinstalling the PHP > to find that it configures itself automatically, and my heartache can end? Honestly, it's not worth the effort - you don't have to edit any config files. All you have to do is set a script mapping in the Internet service manner. Here's the relevant section from the install.txt file - be brave, just do it :) To install PHP on an NT/2000 Server running IIS 4 or newer, follow these instructions. You have two options to set up PHP, using the CGI binary (php.exe) or with the ISAPI module. In either case, you need to start the Microsoft Management Console (may appear as 'Internet Services Manager', either in your Windows NT 4.0 Option Pack branch or the Control Panel=>Administrative Tools under Windows 2000). Then right click on your Web server node (this will most probably appear as 'Default Web Server'), and select 'Properties'. If you want to use the CGI binary, do the following: Under 'Home Directory', 'Virtual Directory', or 'Directory', click on the 'Configuration' button, and then enter the App Mappings tab. Click Add, and in the Executable box, type: c:\php\php.exe (assuming that you have unzipped PHP in c:\php\). In the Extension box, type the file name extension you want associated with PHP scripts. Leave 'Method exclusions' blank, and check the Script engine checkbox. You may also like to check the 'check that file exists' box - for a small performance penalty, IIS (or PWS) will check that the script file exists and sort out authentication before firing up php. This means that you will get sensible 404 style error messages instead of cgi errors complaing that php did not output any data. You must repeat from 'Click Add...' for each extension you want associated with PHP scripts. (.php is recommended. although .phtml and .php3 may be required for legacy applications.) Set up the appropriate security. (This is done in Internet Service Manager), and if your NT Server uses NTFS file system, add execute rights for I_USR_ to the directory that contains php.exe -- Phil Driscoll
Christopher Quoted directly from the PHP documentation at: http://www.php.net/manual/en/ref.imap.php "To get these functions to work, you have to compile PHP with --with-imap. That requires the c-client library to be installed. Grab the latest version from ftp://ftp.cac.washington.edu/imap/ and compile it. Then copy c-client/c-client.a to /usr/local/lib/libc-client.a or some other directory on your link path and copy c-client/rfc822.h, mail.h and linkage.h to /usr/local/include or some other directory in your include path." -Jeremy Email: [EMAIL PROTECTED]
On Wed, 1 Aug 2001, Christopher Cheng wrote: >I am new to using PHP with IMAP? >As I recompile PHP, I use > >rm config.cache >./configure --enable-track-vars --enable-force-cgi-redirect --with-gettext - >-with-mysql --with-sybase=/opt/sybase --with-apxs --with-imap >make >make install > >After I restart Apache, it says that >Cannot load /www/libexec/libphp4.so into server: /www/libexec/libphp4.so: >undefined symbol: gss_mech_krb5 > >Does it mean that I miss the DIR option after "--with-imap"? I am using >Redhat 6.2, what should it always be? Add --with-kerberos to your configure line. (delete config.cache first, and after configure do 'make clean ; make ; make install') --Jani
You must check if the proper module has been loaded with the apache server. If not, the php will no longer recognize the mentioned function. Try to use phpinfo() function to see all loaded modules. Best regards, Jean Madson -----Mensagem Original----- De: subechan Para: [EMAIL PROTECTED] Enviada em: Segunda-feira, 30 de Julho de 2001 21:52 Assunto: [PHP-INST] problem image create () ...... Hi ... THAT'S FOR SOMEBODY THAT HAS MY PROBLEM... Why if i'm using imagecreate () function always error in " Fatal error: Call to undefined function: imagecreate()" I'm using PHP4 & apache for windows 98 thank's bechan -- 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'm not a Linux Guru but have successfully installed PHP4 from source so it's compiled with MySQL. My webserver works fine and I am happy but I set myself the task of getting the same configuration through installing RPMs. Unfortunately, I have been unsuccessfull in trying to install PHP4 from RPMs on Redhat 7.1. I am using the GnoRPM package and both MySQL and Apache installed reasonably smoothly but when it came to PHP4, I just kept finding I needed so many dependancies that it's become a joke. Everytime I download and installed one, it then asks for 2-4 more which in turn ask for 2-4 of the dependancy of the dependancy. I am not familiar with the command-line approach to installing RPMs which might be the way to go but if anyone out there has installed PHP4 using either method, I would love to know how they did it. Cheers Phil
The php.exe is not terminating by itself. Wherever I started a PHP application from the browser, I started a php.exe. Therefore, after a couple of pages, I will find several php.exe in the task manager. I am using IIS4. I thought php.exe should exit with the <?php ?> statement. Thanks, Victoria Zhou
I'm new in php4. I want to know how to install php4 in wondows 2000. I have read manual in www.php.net, but it is not clear to me. Please help to describe clearer to me. One more think...should i use apache or IIS in my windows2000....which is better? how do i get them? Thanks, Ruri Dwisatria
i used apache for windows2000 to run php4. the benefit? i really dunno except that i'm not affected by the codeworm virus because i'm not using iis. :) i actually use linux boxes for servers but i'm using windows2000 as my desktop os and i want to test scripts out easily so i installed apache for windows and php. you just have to copy certain files to your windows/system directory. the readme.txt file in the installer of php4 clarifies things out. don't forget to copy that one file to the windows/system directory. but it is not necessary for the other configuration. you'll understand more when you read the readme file. good luck! Fritz Mesedilla Systems Administrator Summit Interactive, Inc. FHM | Seventeen | Candy | Cosmopolitan | Preview | Good Housekeeping femalenetwork.com | candymag.com | fhm.com.ph | cosmo.com.ph Palm Pilot Software: TVSked - Download from the link below ---------------------------------------------------------------------------- http://mesedilla.tripod.com +Basta Ikaw Lord > -----Original Message----- > From: Ruri Dwisatria [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 9:52 PM > To: [EMAIL PROTECTED] > Subject: [PHP-INST] Install php4 in wondows 2000 > > > I'm new in php4. I want to know how to install php4 in wondows 2000. > I have read manual in www.php.net, but it is not clear to me. Please > help to describe clearer to me. One more think...should i use apache or > IIS in my windows2000....which is better? how do i get them? > > Thanks, > Ruri Dwisatria > > > -- > 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] >
Ok, here's a real stupid question, but I can't see what I did wrong. Basically, I'm trying to get PHP to run on a Red Hat Linux server, installed the RPM, verified that the httpd.conf file has the LoadModule for PHP in it, but still, it won't process the scripts, simply spits out the code. What'd I miss? Thanks. Kevin Sayre [EMAIL PROTECTED]
I'm using RavenSSL. It comes with it's own apache. mod_perl played nice as a ds0, but I can't seem to get php to do the same. *sigh* I'm able to build the libphp4.so successfully, but apache reports: Cannot load /usr/local/apache/libexec/libphp4.so into server: ELF file's phentsize not the expected size Actually it's weirder than that. I actually make an rpm to circulate our standard install of apache-raven to our servers. rpm uses objdump to snoop the innards of a .so objdump -t reports: objdump: /usr/local/apache/libexec/libphp4.so: File format not recognized This is the first time I've encountered this sort of nonsense, and I've built dozens and dozens of libs this week alone. I don't think it's my compiler or anything... it's probably just stupid args to the configure script or something. ====== other info: configure \ --with-mysql=/usr \ # yes, weird but correct. ;) --with-apxs=/usr/local/apache/bin/apxs \ --with-gnu-ld --enable-shared GNU ld version 2.10.91 (with BFD 2.10.1.0.2) Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) GNU objdump 2.10.91 Oh, and it's a redhat box, but the version is truly irrelevant. -- http://www.voltar.org/ Use voltar.org as your search engine!