
October 2nd, 2003, 05:41 PM
|
|
|
|
Join Date: Apr 2007
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
shell scripting with mysql support
Hello-
I am try to run a shell script from the cli. The script works as long as apache is configured to run php as cgi. However, if the apache module is enabled functions, such as mysql_connect, are undefined.
Is it possible to run both; the apache module for web scripts and cgi version for shell scripting?
I have tried running the php-cli with the -c flag and the path to php.ini to no avail.
I am using FreeBSD 4.4, php 4.3.3, apache 1.3.
Any help is greatly appreciated
-Chris
|