php-install Digest 25 Jul 2002 22:24:22 -0000 Issue 948
Topics (messages 7896 through 7900):
Re: OpenBSD 3.1 + Apache 2.0.39 + PHP 4.2.2 -> SOLVED!
7896 by: Michele Albrigo
Very strange problem.... Apache2
7897 by: Jim
pgp-mysql not finding libmysqlclient.so.10
7898 by: Darren Young
php 4.2.2 and apache2
7899 by: Mathew J. Zauher
1st question from php newbie :)
7900 by: Andres L. Figari
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 ---
Hi,
just posting the solution to my problem, in case somebody needs it.
I've installed mysql and postgres from source, openldap client from
openbsd package.
I've tried to make php from ports, and discovered it seem to need the
following packages:
pkg_add libtool-1.3.5p3.tgz
pkg_add autoconf-2.13.tgz
pkg_add recode-3.6.tgz
Then I've patched php-4.2.2 with php-functions.c from the current
snapshot.
Now I've tried to compile c-client, but, unless you remove
EXTRAAUTHENTICATORS from /usr/ports/mail/c-client, it will build a
kerberos-enabled c-client. So, remove them and build from c-client port.
This will build a kerberos-free c-client, suitable for usage with php,
install it.
Now this is my ./configure:
./configure --enable-bcmath --enable-ftp --enable-calendar \
--enable-versioning --enable-sysvshm --enable-sysvsem \
--enable-sockets --enable-inline-optimization --enable-static=most \
--enable-safe-mode --enable-trackvars -with-zlib --with-openssl \
--with-ldap --with-bz2=/bin/ --with-imap --with-imap-ssl=/usr \
--with-gettext --with-pgsql=/usr/local/postgres \
--with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs
then make php and, before 'make install', do mkdir libs in the php build
directory (there seem to be a bug in the install script).
Copy php.ini-recommended in /usr/local/lib/php.ini, enable what you need
in httpd.conf, restart and enjoy.
See you!
Michele
--- End Message ---
--- Begin Message ---
Hi, I have a problem I really could use some help with. I have installed (source)
Apache 2.0.40-DEV and PHP4-Latest. They both work allright (the usual phpinfo() works
linke a charm).
I have a file called index.php. That's the main file of my server. It is located in my
DocumentRoot dir. When accessing my server through my browser I get a 403 permission
denied.
Here's the brainteaser: If I rename that file to index.html or index.htm or
index.iamfrustrated or whatever, and use that URL (myserver.com/index.htm) it works
great. If I do the same (myserver.com/index.php) with index.php my browser pops up a
download dialog box.
I have edited the httpd.conf file to include "AddType application/x-httpd-php .php
.html" and "LoadModule php4_module modules/libphp4.so"
Anyone had the same experiance?
( °> Jim-Christian Flatin
//\\ Skien / Norway
/ \/ ) [EMAIL PROTECTED]
'-<< http://www.niteshift.net
--- End Message ---
--- Begin Message ---
I am in the process of testing out the 4.0 series of MySQL and am having
some problems when I try to install the php-mysql RPM. The machine is a
RedHat 7.2 i386 box with all current patches.
I pulled down the source RPM for MySQL 4.0.2-2 and PHP 4.1.2 and rebuilt the
RPM's with debug enabled then installed all the necessary files. Everything
seems to be working ok on the MySQL side except that php is asking for
libmysqlclient.so.10 and the only library installed with MySQL-shared is
libmysqlclient.so.11. I tried a manual symlink from libmysqlclient.so.10 to
libmysqlclient.so.11 and the php-mysql still complains that the library
isn't present. I installed the php-mysql RPM with --nodeps just to test it
out and sure enough I get 'Call to undefined function: mysql_pconnect' which
is the same message you receive if you don't install the MySQL-shared RPM in
the 3.0 series.
I tried adding /usr/lib & /usr/lib/mysql /etc/ld.so.conf and ran ldconfig
which yielded the same results. Any thoughts on how I could get this library
in place with MySQL 4.0.2?
Thanks,
Darren Young
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Dist: Custom RedHat 7.3 install
Compiled Apache2 with the --enable-so function*
PHP: ./configure -with-apxs2=/usr/local/apache2/bin/apxs --with-zlib
configures alright, says it has support for Apache2 module.
Then I run make, and WHAM
php_functions.c:93:27: missing binary operator before '!'
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory
`/usr/src/downloads/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/src/downloads/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/downloads/php-4.2.2/sapi'
make: *** [all-recursive] Error 1
any ideas?
Mathew J. Zauher
Administrator
www.bluedomino.net
--- End Message ---
--- Begin Message ---
Forginess please, my question may seem very stupid.
I want to run the patch for 4.2.1 to 4.2.2 from the site php.net. The file
I downloaded does not like to be unzipped, I get that it is not a gzip file
?!?!?! The patch for 2.0 to 2.2 does get gzip -d just fine. Anyone know if
there is something wrong with the patch? Or if it is already unzipped but
has the gx extension?
Also, once I have the patch, since I saw no instructions for it, how would I
run it?
I would guess
sh php-4.2.1-to-php-4.2.2.patch
or
./php-4.2.1-tophp-4.2.2.patch
Has anyone done this yet? Would you be so kind as to point me in the right
direction?
Sorry to be so offensive with my ignorance :)
Regards,
Andres
--- End Message ---