PHP Classes

Commend Line PHP

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  Commend Line PHP  
Subject:Commend Line PHP
Summary:A browser script won't run at the command line due to permission
Messages:6
Author:Neal Umney
Date:2009-03-20 09:38:48
Update:2009-03-30 04:42:17
 

  1. Commend Line PHP   Reply   Report abuse  
Picture of Neal Umney Neal Umney - 2009-03-20 14:39:02
I have a script which runs perfectly through a browser but when I try and run the same script at the command line (Fedora8, Apache)it stops due to permission problems. I have even tried running it as a root user, but still no success. Does anyone have any idea where I should look to resolve this? Essentially the script retrieves data from a remote ftp server and copies it to the local server. I want to try and run this as a daily 'cron' job.

Any help will be gratefully received.

Thanks

There are 5 replies in this thread, which are not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.