[PHP] Apache error after setting path for mysql=

2001-01-10 Thread Shane Reid

I reconfigured php with ./configure --with-mysql=/usr/local/etc/mysql 
--with-apxs=/usr/local/etc/apache/bin/apxs and apache will no longer start.  I removed 
the path from the mysql to get the webserver back up but my question was why would it 
not be able to find libmysqlclient.so.10 (error down below).   The file is located at 
/usr/local/etc/mysql/lib/mysql/libmysqlclient.so.10 ... any reason its not picking up 
the fact that its there when I pointed it to the directory I told mysql to install to?

Cannot load /usr/local/etc/apache/libexec/libphp4.so into server: Shared object 
"libmysqlclient.so.10" not found

-Shane



[PHP] Executing perl scripts in a unix environment running php cgi-module

2001-08-22 Thread Shane Reid

Running the cgi-module trying to execute a perl script, dug through the
archives found something that would at least return something:

exec("/full/path/to/file.cgi", $results, $errorCode);
while (list(,$line) = each($results)){
  echo $line, "\n";
}
if ($errorCode){
  echo "OS Error: $errorCode\n";
}

It spits out nothing but but an error code of 2 ... so basically what i get
from it is OS Error: 2.

Anyone know another method of including a cgi script similar to SSI