php-install Digest 1 Apr 2001 08:24:26 -0000 Issue 242 Topics (messages 2639 through 2642): PHP4 as a DSO - no error, but dot working 2639 by: Xa Solved: Re: [PHP-INST] Unable to add Brekeley db3 support 2640 by: David Configuration Errors/Warnings when trying to build and install PHP 4.0.4 2641 by: Robert Allen PHP4.0.4pl1 + Apache1.3.19 + MySQL3.23.36 2642 by: Daniel Ouellet 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] ----------------------------------------------------------------------
Hello everybody, I'm trying to install Apache+MySQL+PHP on my Linux 2.2.17 (dist. Mandrake 7.2). I'm trying to use : - apache_1.3.19 - mysql-3.23.33 - php-4.0.4pl1. I followed miscellaneous explanations from numerous web sites (eg Julie Meloni very clear explanations), I tried a all-in-one script (Linuxeasyinstall), but to end with the same result : - everything seems to go fine (configure, make, make install, httpd.conf), I don't get one warning message during the whole process, - Mozilla displays <?php phpinfo() ?> instead of the result of the command - httpd -l gives always : Compiled-in modules: http_core.c mod_so.c suexec: enabled; valid wrapper /usr/sbin/suexec I just can't find what I'm missing. And I wonder how I could begin from scratch again (so how can I uninstall everything about apache-mysql-php ?) Any help would be greatly appreciated. Many thanks in advance ! Xa -- [EMAIL PROTECTED]
Need to use the dba_* calls instead to the dbm* calls ds David wrote: > Hi, > > I am unable to get db3 working. I get a > "Fatal error: Call to undefined function: dbmopen()" > error when I try to use dbmopen. > > OS is FreeBSD 4.2-RELEASE and I am using the php-4.0.4pl1tarball. > I configure php with > > ./configure --with-mysql --enable-track-vars --enable-ftp > --enable-trans-sid --with-db3=/usr/local/BerkeleyDB.3.2 > --with-apache=../apache_1.3.19 -disable-debug > --enable-force-cgi-redirects > > After the 'make install' if I go the the Apache src/modules/php4 dir and > do a > nm -g libmodphp4.a |grep dbmopen > I dont get any symbols and so the above error. > nm -g libmodphp4.a |grep mysql_query > gives: > > 00001b0c T php_if_mysql_query > 00002968 T mysql_query > > Also I know that Berkeley DB has installed properly as I have compiled C > code with > -I/usr/local/BerkeleyDB.3.2/include -L/usr/local/BerkeleyDB.3.2/lib -ldb > > furthermore, phpinfo() says that in addition to mysql and ftp, dba is > enabled with db3 as a supported handler. > > I know I am missing something here and would appreciate any pointers and > leads from you. > > Thank you. > > David. > > -- > 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 need help. I am trying to build and install PHP 4.0.4 with Apache 1.3.19 in Mac OS X GM. I was able to successfully build and install Apache, but when I ran ./configure for PHP, I got these warning/error messages: +--------------------------------------------------------------------+ | *** WARNING *** | | | | You will be compiling the CGI version of PHP without any | | redirection checking. By putting this cgi binary somewhere in | | your web space, users may be able to circumvent existing .htaccess | | security by loading files directly through the parser. See | | http://www.php.net/manual/security.php for more details. | +--------------------------------------------------------------------+ | *** ATTENTION *** | | | | Something is likely to be messed up here, because the configure | | script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please | | see the file debug.log for error messages. | | | | If you are unable to fix this, send the file debug.log to the | | [EMAIL PROTECTED] mailing list and include appropiate | | information about your setup. | +--------------------------------------------------------------------+ | *** WARNING *** | | | | You chose to compile PHP with the built-in MySQL support. If you | | are compiling a server module, and intend to use other server | | modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, | | mod_perl) you must NOT rely on PHP's built-in MySQL support, and | | instead build it with your local MySQL support files, by adding | | --with-mysql=/path/to/mysql to your configure line. | +--------------------------------------------------------------------+ | License: | | This software is subject to the PHP License, available in this | | distribution in the file LICENSE. By continuing this installation | | process, you are bound by the terms of this license agreement. | | If you do not agree with the terms of this license, you must abort | | the installation process at this point. | +--------------------------------------------------------------------+ I did look at the debug.log file and I wasn't able to determine what it was indicating or what I need to do to fix my problem. I think my problem described in the section with the heading *** ATTENTION ***, but beyond that, I haven't a clue. The contents of the debug.log file is as follows: CONFIGURE: './configure' '--enable-track-vars' '--with-gd' '--with-mysql' CC: cc CFLAGS: -g -O2 CPPFLAGS: -traditional-cpp CXX: CXXFLAGS: INCLUDES: -I$(top_builddir)/Zend -I/Users/blacksun/php4/ext/mysql/libmysql LDFLAGS: LIBS: -lgd -lm DLIBS: SAPI: cgi PHP_RPATHS: uname -a: Darwin localhost 1.3 Darwin Kernel Version 1.3: Thu Mar 1 06:56:40 PST 2001; root:\ xnu/xnu-123.5.obj~1/RELEASE_PPC Power Macintosh powerpc cc -o conftest -g -O2 -traditional-cpp conftest.c -lgd -lm 1>&5 I am sending this to both the macosx-admin and [EMAIL PROTECTED] mailing lists and would appreciate any and all advice on this. Thanks in advance. Robert Allen
Is anyone could tell me what I could do to fix this compilation problem. When I do the step for: ./configure --activate-module=src/modules/php4/libphp4.a in the apache compilation part, I get the error message: ** A test compilation with your Makefile configuration ** failed. The below error output from the compilation ** test will give you an idea what is failing. Note that ** Apache requires an ANSI C Compiler, such as gcc. But I do have the gcc 2.95.2 install and it is ANSI compliant! I look at the FAQ and found this: 6.10. When I try to build Apache with PHP as a static module using --activate-module=src/modules/php4/libphp4.a it tells me that my compiler is not ANSI compliant. This is a misleading error message from Apache that has been fixed in more recent versions. Well, OK, but I have the 1.3.19 that is the latest from Apache as well! So, anyone have any sugestion for me? Thanks in advance. Daniel