php-install Digest 2 Jul 2003 12:12:37 -0000 Issue 1444
Topics (messages 11192 through 11196):
can't load extension
11192 by: Tam Pou Fai
[301]can't load extension
11193 by: Tam Pou Fai
Re: installing php-mysql
11194 by: suomi
Re: Compile PHP 4.3.1 + binary Apache 4.3.1 + Suse
11195 by: suomi
installation takes longer than expected
11196 by: user.domain.invalid
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 ---
I can' t load any extension in my PHP. (apache 2.046 + php 4.3.2 + winXP)
I have edited my php.ini as following:
extension_dir = "D:\apache_server\php\extensions\"
and of course I copy all the .dll file to the specified folder, but I still
get the warning message when I start the apache server.
"Unable to load dynamic library D:\apache_server\php\extensions\php_gd2.dll
the specified procedure could not be found"
I have no idea why my server is going wrong. Please help.
--- End Message ---
--- Begin Message ---
I can' t load any extension in my PHP. (apache 2.046 + php 4.3.2 + winXP)
I have edited my php.ini as following:
extension_dir = "D:\apache_server\php\extensions\"
and of course I copy all the .dll file to the specified folder, but I still
get the warning message when I start the apache server.
"Unable to load dynamic library D:\apache_server\php\extensions\php_gd2.dll
the specified procedure could not be found"
I have no idea why my server is going wrong. Please help.
--- End Message ---
--- Begin Message ---
Try to create a link from what you have to what is requested:
ln -s /usr/lib/libmysqlclient.so.12 /usr/lib/libmysqlclient.so.10
if the libraries don't disagree too far, that may work
suomi
Michael wrote:
I am using RH9 and have successfully installed php-4.2.2-17 via rpm (i386).
I am now trying to install php-mysql-4.2.2-17 and it comes up with a failed
dependency -
libmysqlclient.so.10 is needed. I have libmysqlclient.so.12 which I assume
is installed with php.
Why is it that it doesn't recognize and allow for the use of the newer
version? I'm totally confused.
Do I need to install an older version of php? I don't really want to do
that.
Thanks for any help.
M
--- End Message ---
--- Begin Message ---
U ever checked in the apache error log?
check to see whether your php program is really in
/usr/local/lib/php/php
as it should be according to your apache config.
good luck.
suomi
Jose Manuel wrote:
I have compiled PHP 4.3.1 over Suse 8.0 with
#./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/sbin/apxs
#make
#make install
and it's all correct ( info.php function correctly ) . The version of Apache
is a binary distribution 1.3.2.
When i access a web page that uses sessions and MySQL conection ( a
validation user page, a user and password edit text object and a button that
verifies the user over MySQL table ) not respond, it's not run. The server
not respond any error.
MySQL function correctly ( phpMyAdmin ).
The compilation ( make ) output
Installing PHP CLI binary: /usr/local/bin/
Installing PHP SAPI module
Installing shared extensions:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - already installed: 0.9
[PEAR] Console_Getopt - already installed: 1.0
[PEAR] PEAR - already installed: 1.0b3
[PEAR] DB - already installed: 1.3
[PEAR] HTTP - already installed: 1.2
[PEAR] Mail - already installed: 1.0.1
[PEAR] Net_SMTP - already installed: 1.0
[PEAR] Net_Socket - already installed: 1.0.1
[PEAR] XML_Parser - already installed: 1.0
[PEAR] XML_RPC - already installed: 1.0.4
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
program: phpextdist
I have insert various lines to file httpd.conf :
..
LoadModule php4_module /usr/lib/apache/libphp4.so
..
AddModule mod_php4.c
..
ScriptAlias /php/ "/usr/local/lib/php"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "/php/php"
...
What's the problem?
Thanks.
--- End Message ---
--- Begin Message ---
Hi every
I yesterday constructed the php 4.3.2 rpm package from the source, and
that took me much longer than expected.
I used the following configure string:
./configure --enable-force-cgi-redirect --enable-calendar
--with-ldap=/usr/local/openldap --with-mysql
--with-unixODBC=/usr/lib/unixODBC --with-readline
nothing particularly exeptional, hough?
but when it came to make, the compiler/loader team played two jokes
with me
first i got into a loop of configure-make-make-install, where the loader
at the end complained that he had been unable to find such and such
library archive (*.la).
after creating about 10 library archives manually and re-initalizing the
configure-make-make-install loop every time i got into the second joke:
the loader started complaining about missing header libraries (-lpam,
-ldes, -lyounameit). i installed the header libraries one by one, each
of them took an extra go-through through the conigure-make-make-install
loop.
finally i made it all the same and now i have the rpm package. you may
retrieve it from http://www.ayni.com/archive/ if you like.
My question:
is there any possibility to get the list of necessary library archives
(*.la) and header files (*.h) before you start the
configure-make-make-install loop?
Any information is much appreciated. Thank you very much.
suomi
--- End Message ---