please help
| From: | enyee | Date: | Tue, 09 May 2000 06:50:36 +0000 |
| Subject: | please help | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18534@lists.php.net to get a copy of this message | ||
Dir Sir,
For my case, I'm using Linux OS and apache web server. Php is installed
and configured with apahce and MySQL database. The installation path is
/usr/local/php/
Now my problem is, I have develop a program using php which I need it to
be automated, means I need the program to run as crondjob.
One thing I understand is I need to add in
#!/full/path/to/your/php (which is #!/usr/local/php)
to the first line of my program. I've did this but anyhow the program
still cannot be executed. Can you help me on this? Besides adding the
line, what else should I configure in my server so that my program will
be executed?
For your information, when I installed apache together with php, I
configure the makefile in this way:
./configure --with-mysql=<mysql source path> --with-apache=<apache
source path> --enable-track-vars
after compile the php module, I reconfigure the make file of apache in
this way:
./configure --prefix=<installation directory>
--activate-module=src/modules/php3/libphp3.a
Please advise me on this. Thanks!
regards,
enyee