On Mi� 02 Abr 2003 11:07, Christian Campbell wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Gurus,
>
> I am attempting to move a home grown (although not programmed by me) PHP
> application from a Mandrake 7.3 box to a RedHat 8 box. My old config was
> Apache 1.3 and PHP 4.0.3. I'm now running Apache 2.0.40 and PHP 4.2.2.
>
> The PHP script calls a shell script that lives on a NFS mount, mounted to a
> Solaris 8 box. Within the script are many copy, delete commands and such,
> but one specifically does not execute. It is a SQL loader command.
>
> Here's the strange part: If you log on to the Solaris 8 box, and run the
> script from the shell, it executes with no problem. But, if you run the
> PHP script that calls the shell script over the NFS mount, it executes, but
> does not execute the SQL loader command.
This is not strange. The script is executed on the RedHat box, not the Solaris
Box. Try to execute the script without PHP (by hand on the shell) on the Red
Hat box.
NFS is only for sharing. The script is read form the disk in the Solaris box
and then executed on the Linux box. So maybe there is some mis configuration
in the Database server.
--
Porqu� usar una base de datos relacional cualquiera,
si pod�s usar PostgreSQL?
-----------------------------------------------------------------
Mart�n Marqu�s | [EMAIL PROTECTED]
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list