php-install Digest 26 Nov 2002 08:49:43 -0000 Issue 1134

Topics (messages 9241 through 9247):

rc1
        9241 by: Gareth Thomas

Re: PHP and MySQL configuration
        9242 by: Bryan Higgins
        9244 by: Jorge Reteguin

HTTPD
        9243 by: Marcus Van Wyk

PHP 4.2.2 and GD 2.0.8
        9245 by:    
        9246 by: Rasmus Lerdorf

Re: mail() and IIS5 - newbie question
        9247 by: toby -

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,

how do I install rc1 on Win2k. The only installer I can find is for 4.2.3
and when I run this although it seems to do something my version of PHP has
not changed. Apologies if this is a stupid question or has already been
answered...

G.




--- End Message ---
--- Begin Message ---
I am having troubles getting MySQL to work with PHP.  I keep getting this error when I 
try to connect to MySQL.  I get this error:

Fatal error: Call to undefined function: mysql_connect() in 
/var/www/html/cobatrack/index.php on line 89.

I have read dozens of php newsgroup messages that tell me how to fix the error but 
none of them seem to work.  My phpinfo file looks like this:

 './configure' 'i386-redhat-linux' ......... '--with-mysql=shared,/usr' ......

Every message i read says that I haven't configured mysql to work with php.  But on 
the phpinfo page, it says that '--with-mysql=shared,/usr' has been configured.  Can 
you please help me out.

Thanks.
--- End Message ---
--- Begin Message ---
try this:

../configure --with-mysql=/usr/


--------------------

> I am having troubles getting MySQL to work with PHP.  I keep getting
> this error when I try to connect to MySQL.  I get this error:
>
> Fatal error: Call to undefined function: mysql_connect() in
> /var/www/html/cobatrack/index.php on line 89.
>
> I have read dozens of php newsgroup messages that tell me how to fix
> the error but none of them seem to work.  My phpinfo file looks like
> this:
>
> './configure' 'i386-redhat-linux' ......... '--with-mysql=shared,/usr'
> ......
>
> Every message i read says that I haven't configured mysql to work with
> php.  But on the phpinfo page, it says that '--with-mysql=shared,/usr'
> has been configured.  Can you please help me out.
>
> Thanks.


-- 
Jorge Alberto Reteguín Pimentel
[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
Hi there 

Does any one know how or where to check why apache doesn't start up

I've check all log files in /usr/local/apache/logs

error
info
warnings

but it does not say why the daemon was killed while I was out

Now when I try and restart it the httpd does come up.

Any help would be appreciated

Marcus 

Running MDK 8 and apache1.3.26



==========================================================
This message contains information intended for the perusal, and/or use (if
so stated), by the stated addressee(s) only. The information is
confidential and privileged. If you are not an intended recipient, do not
peruse, use, disseminate, distribute, copy or in any manner rely upon the
information contained in this message (directly or indirectly). The sender
and/or the entity represented by the sender shall not be held accountable
in the event that this prohibition is disregarded. If you receive this
message in error, notify the sender immediately by e-mail, fax or telephone
representations contained in this message, whether express or implied, are
those of the sender only, unless that sender expressly states them to be
the views or representations of an entity or person, who shall be named by
the sender and who the sender shall state to represent. No liability shall
otherwise attach to any other entity or person.
==========================================================

--- End Message ---
--- Begin Message --- Hello,

I'm in desperate need of some assistance here :/

I'm not sure what is causing the problem, but on one of our older servers running Plesk 5.0.3, I cannot get Apache to start if I compile PHP with --with-gd

Here are my compile instructions:

./configure --with-apxs=/usr/local/psa/apache/bin/apxs --prefix=/usr/local/psa/apache --with-regex=php --with-config-file-path=/usr/local/psa/apache/conf --enable-sockets --enable-track-vars --with-mysql=/usr/local/psa/mysql --with-iodbc=/usr/lib --with-imap=/usr/local/src/imap-2002 --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-xml --disable-debug --enable-pear --without-iconv --with-zlib-dir=/usr/lib --enable-ftp --with-mcrypt=/usr/local/lib --with-curl --with-zend --with-openssl --enable-calendar --with-freetype-dir=/usr/lib --enable-bcmath --enable-dbase --with-gd

I installed GD 2.0.8 without any problems, I also made sure to --prefix=/usr

And under /usr/lib:

-rwxr-xr-x 1 root root 801 Nov 25 21:55 libgd.la
lrwxrwxrwx 1 root root 14 Nov 25 21:55 libgd.so -> libgd.so.2.0.0
lrwxrwxrwx 1 root root 14 Nov 25 21:55 libgd.so.2 -> libgd.so.2.0.0
-rwxr-xr-x 1 root root 425389 Nov 25 21:55 libgd.so.2.0.0


When I compile PHP with gd support, it even looks good during the ./configure stage :

checking for GD support... yes
checking whether to enable truetype string function in GD... no
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... yes
checking for the location of libpng... yes
checking for png_write_image in -lpng... yes
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=<DIR>
checking for freetype(2)... yes
checking for FreeType 1.x support... no
checking for T1lib support... no
checking for gdImageString16 in -lgd... yes
checking for gdImagePaletteCopy in -lgd... yes
checking for gdImageCreateFromPng in -lgd... yes
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... yes
checking for gdImageCreateFromJpeg in -lgd... yes
checking for gdImageCreateFromXpm in -lgd... yes
checking for gdImageCreateFromGd2 in -lgd... yes
checking for gdImageCreateTrueColor in -lgd... yes
checking for gdImageSetTile in -lgd... yes
checking for gdImageSetBrush in -lgd... yes
checking for gdImageStringTTF in -lgd... yes
checking for gdImageStringFT in -lgd... yes
checking for gdImageStringFTEx in -lgd... yes
checking for gdImageColorClosestHWB in -lgd... yes
checking for gdImageColorResolve in -lgd... yes
checking for gdImageGifCtx in -lgd... no

On a side note, before make would complete, I had to edit gd.c and gd_ctx.c for 'make' to even work with GD. After making those changes, 'make' completes, but when I move the libphp4.so to the apache libexec directory, Apache won't start!

If I use the same exact ./configure line and I remove the --with-gd, then Apache loads just fine. I checked my apache error_log, and all its telling me is that the PHP module is b0rked somehow, because all it says is:

Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration

I've tried everything I can think of, and am getting no where fast.
If anyone has ANY suggestions I would be VERY appreciative!

Thanks,
Patrick







_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail

--- End Message ---
--- Begin Message ---
You need PHP 4.3 to use GD 2.0.2 or greater.

On Mon, 25 Nov 2002,     wrote:

> Hello,
>
> I'm in desperate need of some assistance here :/
>
> I'm not sure what is causing the problem, but on one of our older servers
> running Plesk 5.0.3, I cannot get Apache to start if I compile PHP with
> --with-gd
>
> Here are my compile instructions:
>
> ./configure --with-apxs=/usr/local/psa/apache/bin/apxs
> --prefix=/usr/local/psa/apache --with-regex=php
> --with-config-file-path=/usr/local/psa/apache/conf --enable-sockets
> --enable-track-vars --with-mysql=/usr/local/psa/mysql --with-iodbc=/usr/lib
> --with-imap=/usr/local/src/imap-2002 --with-jpeg-dir=/usr/lib
> --with-png-dir=/usr/lib --with-xml --disable-debug --enable-pear
> --without-iconv --with-zlib-dir=/usr/lib --enable-ftp
> --with-mcrypt=/usr/local/lib --with-curl --with-zend --with-openssl
> --enable-calendar --with-freetype-dir=/usr/lib --enable-bcmath
> --enable-dbase --with-gd
>
> I installed GD 2.0.8 without any problems, I also made sure to --prefix=/usr
>
> And under /usr/lib:
>
> -rwxr-xr-x 1 root root 801 Nov 25 21:55 libgd.la
> lrwxrwxrwx 1 root root 14 Nov 25 21:55 libgd.so -> libgd.so.2.0.0
> lrwxrwxrwx 1 root root 14 Nov 25 21:55 libgd.so.2 -> libgd.so.2.0.0
> -rwxr-xr-x 1 root root 425389 Nov 25 21:55 libgd.so.2.0.0
>
>
> When I compile PHP with gd support, it even looks good during the
> ./configure stage :
>
> checking for GD support... yes
> checking whether to enable truetype string function in GD... no
> checking for the location of libjpeg... yes
> checking for jpeg_read_header in -ljpeg... yes
> checking for the location of libpng... yes
> checking for png_write_image in -lpng... yes
> checking for the location of libXpm... no
> If configure fails try --with-xpm-dir=<DIR>
> checking for freetype(2)... yes
> checking for FreeType 1.x support... no
> checking for T1lib support... no
> checking for gdImageString16 in -lgd... yes
> checking for gdImagePaletteCopy in -lgd... yes
> checking for gdImageCreateFromPng in -lgd... yes
> checking for gdImageCreateFromGif in -lgd... no
> checking for gdImageGif in -lgd... no
> checking for gdImageWBMP in -lgd... yes
> checking for gdImageCreateFromJpeg in -lgd... yes
> checking for gdImageCreateFromXpm in -lgd... yes
> checking for gdImageCreateFromGd2 in -lgd... yes
> checking for gdImageCreateTrueColor in -lgd... yes
> checking for gdImageSetTile in -lgd... yes
> checking for gdImageSetBrush in -lgd... yes
> checking for gdImageStringTTF in -lgd... yes
> checking for gdImageStringFT in -lgd... yes
> checking for gdImageStringFTEx in -lgd... yes
> checking for gdImageColorClosestHWB in -lgd... yes
> checking for gdImageColorResolve in -lgd... yes
> checking for gdImageGifCtx in -lgd... no
>
> On a side note, before make would complete, I had to edit gd.c and gd_ctx.c
> for 'make' to even work with GD. After making those changes, 'make'
> completes, but when I move the libphp4.so to the apache libexec directory,
> Apache won't start!
>
> If I use the same exact ./configure line and I remove the --with-gd, then
> Apache loads just fine. I checked my apache error_log, and all its telling
> me is that the PHP module is b0rked somehow, because all it says is:
>
> Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module
> not included in the server configuration
>
> I've tried everything I can think of, and am getting no where fast.
> If anyone has ANY suggestions I would be VERY appreciative!
>
> Thanks,
> Patrick
>
>
>
>
>
>
>
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message --- hay steve .....

im sure this must be what ur gettin .....

Warning: Failed to Connect in e:\final project\zroot\sir\mail.php on line 16

except fo the path thinggy .....

the thingg is
there aint anythin the matter with ur code
its all well

but ur localhost CANT send out mails u no unless its a webhosting server
:>

if u try ur code ONLINE ... on ur host's server im sure it ll work

incase it still duznt lemme no .....

good luck .....

toby ......





_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

--- End Message ---

Reply via email to