RE: [PHP-INSTALL] Problem by running mysql-connection in php-script

2003-10-03 Thread Ruprecht Helms
On Thu, 2003-10-02 at 22:28, Michael Scappa wrote:
> Ruprecht,
> 
> Make sure you have PHP pointing to the right location for the
> mysql.sock. "locate mysql.sock". Sometimes its in the /tmp dir. If it is
> in another location you can point to it specifically when you call
> mysql_connect (refer to php.net for the exact string), or just change it
> in your php.ini.

This are the entries I've made in the php.ini

[MySQL]
; Allow or prevent persistent links.
mysql.allow_persistent = On

; Maximum number of persistent links.  -1 means no limit.
mysql.max_persistent = -1

; Maximum number of links (persistent + non-persistent).  -1 means no
limit.
mysql.max_links = -1

; Default port number for mysql_connect().  If unset, mysql_connect()
will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order).  Win32 will
only look
; at MYSQL_PORT.
mysql.default_port =

; Default socket name for local MySQL connects.  If empty, uses the
built-in
; MySQL defaults.
mysql.default_socket = /tmp/mysql.sock

; Default host for mysql_connect() (doesn't apply in safe mode).
mysql.default_host = localhost

; Default user for mysql_connect() (doesn't apply in safe mode).
mysql.default_user = root


And this is my actual /tmp-directorylinux:/tmp # ls
.  .esd  AcroSaTWYY 
aaa  ksocket-root  migrate-2  
noteedit.2vmq44
.. .shtool.8404  AcroWx7cEx 
alsaplayer_root_0mc-root   migrate-3  
noteedit.rvtxIc
.ICE-unix  .webmin   Acrol21KzJ 
audacity1.1-root mcop-root migrate-4  
orbit-root
.X0-lock   AcroAgqtL1AcrooMY5eg 
gsr-record-Untitled.wav-1603.BHH8QX  medusa-idled-service  migrate-5
.X11-unix  AcroMfep2RAcrowt39f1 
jpsock.141.6939  migrate   migrate-6
.caitmpAcroQUQtXcAcrox5BdJI 
kde-root migrate-1 mysql.sock

You see there is the mysql.sock

And this is the connection-command in some scripts I use. Normaly it
works fine, but now It fails and I get the reported error.

mysql_connect("localhost","root");


Re: [PHP-INSTALL] Unable to 'make' PHP (KMM54716318V12970L0KM)

2003-10-03 Thread Charlie Smith
I never requested help with this.  I believe some sort of spam is directed to the 
phpinstall users list at <[EMAIL PROTECTED]>.  It seems like whenever I post a message 
to this list I get spammed, get porn email, and get misdirected mail like this one.

>>> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 10/02/03 05:45PM >>>
Dear Valued Customer,

Thank you for contacting us.

We understand that you are trying to configure your own webserver.

We are unable to assist you with these issues. The scope of personal web servers is 
not supported by Earthlink technicians. If you would like any assistance with your 
regular EarthLink hosted web pages, we would be more than happy to assist you. 
However, Web Server configurations are too complex and advanced for technical support 
to troubleshoot in any way.

We are sorry for the inconvenience.

Ramakrishna N.
Earthlink Electronic Customer Support
EarthLink, Inc.

CSR ID#: 2472
Case ID 31820280

Shift your dial-up connection into high gear! With the new EarthLink Accelerator, you 
can surf the Web up to five times faster. This powerful tool is free for all EarthLink 
dial-up subscribers.
http://www.earthlink.net/accelerator/download/ 

Tired of Spam? Check out the SpamBlocker, our free spam blocking utility.
http://www.earthlink.net/spamblocker/ 

Resolve your customer service questions on-line at our Account Maintenance web site.
To add email mailboxes, change passwords, or update your credit card information, go 
to:
http://myaccount.earthlink.net 

We also offer a wide variety of online self help options for technical issues
such as setting up your service, troubleshooting problems, or just using the Internet
and email, you can access clear, step-by-step instructions at your Support Center:
http://support.earthlink.net 

EarthLink also offers a variety of value added services for your account. Check them 
out
at: http://www.earthlink.net/extras/ 

Original Message Follows:
-

Debug log show call to something ssl.  Looks like you may need to install mod_ssl 
first.
>>> <[EMAIL PROTECTED]> 09/26/03 05:19AM >>>
Hi,
I already installed these packages Red Hat Linux 9 Server.
1. Oracle Client 9.2.0.
2. PHP 4.3.3
3. Apache 2.0.47
4. Postgresql 7.2.3
But when I try to compile the PHP with this command
./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-track-vars 
--with-oci8=/opt/oracle/product/9.2.0 --enable-sigchild --with-pgsql=/usr
Configure works fine but there is an error when I try to make. Please refer
to my debug.log
(See attached file: debug.log)
In addition, I attach the generated message when I finish ./configure the
my PHP
++
|   *** 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.|
++
|  *** NOTE ***  |
|The default for register_globals is now OFF!|
||
| If your application relies on register_globals being ON, you   |
| should explicitly set it to on in your php.ini file.   |
| Note that you

[PHP-INSTALL] help setting iplanet server to parse all files in one directory

2003-10-03 Thread Brian Vaughan
I am trying to get one specific directory on an  iPlanet 4.1/php 4.3.0 
server set up so that all files in the directory are treated as php 
scripts and executed.  Basiucally, I would like php to use the extension 
.html, but only in one directory.
Scripts in the directory execute fine if I use the php extension, but 
are not parsed if I use html. 

As directed, my obj.conf has the following:
 
 ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
 Service fn="php4_execute"
 
In the admin server, when I assign the x-httpd-php style to the 
directory I want, I am immediately taken to the "Edit Style" screen.  
What, if anything do I need to set there?
The install instructions on 
http://www.php.net/manual/en/install.netscape-enterprise.php do not 
say.  It just say "assign the x-httpd-php style".
Do I need to set anything there like file type, defaut  query handler, 
server parsed html, etc?

thanks!


[PHP-INSTALL] Help with PHP 4.3.3 and IMAP

2003-10-03 Thread Sergio Aguayo
Hi to all!

I'm having problems installing the IMAP extension of PHP 4.3.3. I'm 
downloading imap from the washington university (is this one ok?) but 
things don't appear to work as documented (i can't connect to any of the 
account of my POP3 server). Do somebody know what's happening here?

Sergio Aguayo
PS: This problem makes all webmails useless.


[PHP-INSTALL] php -m shows gd but can't use imagecreate

2003-10-03 Thread Chris
Hello,

 I am trying to use the GD library and I don't care which one I
use(bundled or non).  I have issued the php -m and have seen the module
in the list.  Why do I get an error message when trying imagecreate?
I am using php-4.3.3.  I can provide more details if need be.

Chris-