php-install Digest 11 Dec 2002 05:55:57 -0000 Issue 1156
Topics (messages 9343 through 9351):
Re: Trouble installing with mnogosearch support
9343 by: Curtis Maurand
Re: PHP as mod with MySQL
9344 by: Curtis Maurand
Install problem with Apache 2 and PHP
9345 by: Ed Leafe
Install - PHP on Apache, Win XP
9346 by: Jeff Wallman
dont know what is this...
9347 by: marco penca
best free web host
9348 by: real_incognito
PHP Install Problem on Cobalt RaQ3
9349 by: City Online Communications
problems with apache 2.0.43 and newest snapshot
9350 by: Josh Marcus
I could use some help
9351 by: Dereck Marchinski
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]
----------------------------------------------------------------------
--- Begin Message ---
./configure --with-mysql=/usr/include --with-apxs=/usr/bin/apxs
Curtis
On Tue, 3 Dec 2002 16:46:04 -0600
Timothy Nott <[EMAIL PROTECTED]> wrote:
> RH 7.2, apache 1.3.23, mysql 3.23.49a, pgsql 7.2, mnogosearch 3.2.7
>
> I installed mnogosearch using --with-mysql=/usr/local/mysql
>
> When I try to run configure for php 4.2.3 I get:
>
> +--------------------------------------------------------------------+
> | *** 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. |
> +--------------------------------------------------------------------+
>
> The contents of debug.log are:
>
> CONFIGURE: './configure' '--with-apxs=/usr/local/apache/bin/apxs'
> '--with-pgsql' '--with-mnogosearch=/usr/local/mnogosearch'
> '--with-mysql=/usr/local/mysql'
> CC: gcc
> CFLAGS: -g -O2
> CPPFLAGS: -DLINUX=22 -DMOD_SSL=208108 -DUSE_HSREGEX -DEAPI
> CXX:
> CXXFLAGS:
> INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend
> -I/usr/local/mnogosearch/include -I/usr/local/mysql/include
> -I/usr/local/pgsql/include
> LDFLAGS: -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib
> -Wl,-rpath,/usr/local/mnogosearch/lib -L/usr/local/mnogosearch/lib
> -Wl,-rpath,/usr/local/pgsql/lib -L/usr/local/pgsql/lib
> LIBS: -lpq -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lresolv
> -lcrypt -lm -lmysqlclient -lz -ludmsearch
> DLIBS:
> SAPI: apache
> PHP_RPATHS: /usr/local/mysql/lib /usr/local/mnogosearch/lib
> /usr/local/pgsql/lib
> uname -a: Linux m-news-web02 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686
> unknown
>
> gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208108 -DUSE_HSREGEX -DEAPI
> -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib
> -Wl,-rpath,/usr/local/mnogosearch/lib -L/usr/local/mnogosearch/lib
> -Wl,-rpath,/usr/local/pgsql/lib -L/usr/local/pgsql/lib conftest.c -lpq
> -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt -lm
> -lmysqlclient -lz -ludmsearch 1>&5
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_store_result'
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_fetch_row'
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_data_seek'
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_init'
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_escape_string'
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_close'
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_num_rows'
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_errno'
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_error'
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_num_fields'
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_free_result'
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_query'
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_real_connect'
> /usr/local/mnogosearch/lib/libudmsearch.so: undefined reference to
> `mysql_fetch_lengths'
> collect2: ld returned 1 exit status
>
> Timothy Nott
> Online Manager: madison.com
> [EMAIL PROTECTED]
> 608.250.4010
> 2001 Fish Hatchery Rd
> Madison, WI 53713
>
>
--- End Message ---
--- Begin Message ---
./configure --with-mysql=/usr (or /usr/include) --with-apxs=/usr/bin/apxs
curtis
On Wed, 04 Dec 2002 07:07:39 -0700
"Jim Thome" <[EMAIL PROTECTED]> wrote:
> Use any that contain the MySQL client libraries (/usr usually works.)
>
>
> --
> Jim
>
> >>> "Jim Bartlett" <[EMAIL PROTECTED]> 12/04/02 06:53 AM >>>
> I am running Red Hat 7.2. I have MySQL 3.23.x installed from RPM's. I
> compiled Apache 1.3x and mod_auth_mysql. Now I need to compile PHP as a
> module for Apache (via apxs) but when I do, I get a nice little warning at
> the end. It states if I am using PHP with other MySQL modules (ie
> mod_auth_mysql) I must point PHP to my MySQL dir instead of using built-in
> support. But MySQL is spread out over 6 or more directories (/var/lib/mysql,
> /usr/lib/mysql, /usr/bin, etc). Which directory should I point to?
>
> Note: I tried using a purely RPM install on RedHat 8.0, but then the
> PostNuke install script (install.php) will not advance beyond the first page
> (Set Language). Older versions of the components (those in RH 7.2) seem to
> work better, the install script works fine.
>
> Thanks for any help.
>
> Jim.
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
System: RedHat 8, new build of Apache 2.0.43, and the latest snap of
PHP4. Configured and built everything according to the instructions at
http://www.php.net/manual/en/install.apache2.php, but when I try to run
apache, I get the following error:
httpd: module
"/usr/src/build/144344-i386/BUILD/php-4.2.2/sapi/apache2filter/
sapi_apache2.c" is not compatible with this version of Apache (found
20020628, need 20020903).
Please contact the vendor for the correct version.
There is no /usr/src/build, nor is there a 144... directory. And the
version of the file being referenced (sapi_apache2.c) says it was
created 2002-11-10, which should be recent enough. That tells me that
something isn't referencing the right files. I just wish I knew how to
point 'em in the right direction.
Has anyone seen this error before, or have a clue as to what is causing
it?
___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://foxcentral.net
--- End Message ---
--- Begin Message ---
Hi,
I have tried to install PHP to run on Apache on my XP box. This is for
development purposes so there is no worry about security. I have
confirmed the following during the installation:
1- Apache serves up HTML pages successfully (with the correct paths set
in the conf file).
2- I tried running PHP as both an .exe and with DLLs with no success.
Trying to isolate the problem I would like to try to get PHP running as
a CGI first. Enclosed is my httpd.conf settings for PHP (from the PHP
install instructions)
ScriptAlias /php/ "C:/php"
AddType application/x-httpd-php .php
Action application/x-httpd-php "C:/PHP/php.exe"
3- I get a HTTP 400 - Bad Request
3- PHP runs from the command line
4- The file permissions on the PHP files have been set appropriately.
I am stumped. Anyone have any suggestions?
Thanks in advance,
Jeff
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Wallman
Tibetan Buddhist Resource Center
at the Rubin Cultural Trust
115 5th Ave, 7th Floor
New York, NY 10003
212-780-2280 | 212-780-2005 (direct)
[EMAIL PROTECTED] | http://www.tbrc.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- End Message ---
--- Begin Message ---
I just got this message, i installed a month ago php and wor well (some
problems because is apache 2.0.43,
anyhow, can some one help me, i have w2 and apache 2.0
The Apache service named reported the following error:
>>> Apache.exe: module
"c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is not compatible
with this version of Apache (found 20020628, need 20020903). .
thans in advance for your answers..
marco
--- End Message ---
--- Begin Message ---
I'm looking for the best web host that offers 50+ MB storage,
MySQL database, .htaaccess, mail() support, and no-force ads.
Can anyone here suggest a web host that falls on the criteria
stated above.
thanks.
-----------------------
The information in this email, and any attachments, may contain confidential
information and is intended solely for the attention and use of the named
addressee(s). It must not be disclosed to any person(s) without authorization. If you
are not the intended recipient, or a person responsible for delivering it to the
intended recipient, you are not authorized to, and must not, disclose, copy,
distribute, or retain this message or any part of it." If you have received this
communication in error, please notify me immediately.
-----------------------
--- End Message ---
--- Begin Message ---
PHP install problem, please help. Attempting to use the instructions below to install
PHP
Install PHP4 Version -4.2.3
(1)cd /usr/local/src
(2) wget http://www.php.net/do_download.php?download_file=php-4.2.3.tar.gz
(3) tar -xzvf php-4.2.3.tar.gz
(4) cd php-4.2.3
(5) ./configure --with-mysql --with-apxs=/usr/sbin/apxs --enable-ftp
--with-openssl=/usr/local/ssl/
(6) make
(7) edit /usr/sbin/apxs (this may not be necessary, try skiping, comeback if
errors)
Please help on this PHP problem. I am using a Cobalt RaQ3 and have downloaded the
php-4.2.3.tar.gz file. However, when I attempt to perform step (3) shown above of the
install process, I get the following error:
[root@ns2 src]# tar -xzvf php-4.2.3.tar.gz
php-4.2.3/build/bsd_makefile
php-4.2.3/build/build.mk
php-4.2.3/build/build2.mk
php-4.2.3/build/buildcheck.sh
php-4.2.3/build/dynlib.mk
php-4.2.3/build/fastgen.sh
php-4.2.3/build/genif.sh
php-4.2.3/build/library.mk
php-4.2.3/build/ltlib.mk
php-4.2.3/build/mkdep.awk
php-4.2.3/build/print_include.awk
php-4.2.3/build/program.mk
php-4.2.3/build/rules.mk
php-4.2.3/build/rules_common.mk
php-4.2.3/build/rules_pear.mk
php-4.2.3/build/shtool
php-4.2.3/build/sysv_makefile
php-4.2.3/configure
tar: Skipping to next file header
gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Error exit delayed from previous errors
[root@ns2 src]#
It also does the same thing with PHP version 4.0.6. Additionally, I installed PHP
4.2.3 as a .pkg but it doesn't show up as a process nor does it recognize test.php
from the browser. Would appreciate if anyone has any insight on this matter.
Regards,
Harry
--- End Message ---
--- Begin Message ---
Hey,
I'm trying to compile php for use with apache 2.0.43.
php compiles fine. But apache doesn't seem to actually be loading
the module. php isn't listed in the startup errorlog line, nor in
server-status. .php pages get presented as their source.
Is there something about the configuration I'm missing? the installation
didn't touch my httpd.conf apache configuration file. I added two lines --
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php php
but no joy. I also tried adding input/output filters as was necessary
with an earlier version of apache2, but that also (not surprisingly)
didn't help.
Any advice?
--j
--- End Message ---
--- Begin Message ---
The installer says even newcomers can sue it. Well I can't figure it out. I am
trying to install php 4.2.3 with my apache server 1.3.27 and well I can configure the
system to work together on my windows xp operating system, I am switching to Linux
hopefully soon, but in the mean time I would like this to work. This what I have
done. I moved the php4ts.dll to my windows/system32 folder. I moved and rename the
php.ini file to my windows folder. oh I installed apache on my e drive and same with
php. SO then I changed the extension dir to e:/php. I also changed my httd file for
apache. I added the three lines of code each by similar looking code. I also changed
the loadmodule code to e:/php/sapi/php4apache.dll. So I am guessing I configured it
correctly after reading all of the tutorials. So I restarted apache and created my
php file with the simple code <?php phpinfo();?> so I save it in the root directory
for apache and go to load the page in internet explorer. Explorer simply returns the
code to me and doesn't interpret the code. What do I do, what can I do?
Any help would be greatly appreciated!!!!
Dereck Marchinski
[EMAIL PROTECTED]
--- End Message ---