Menu

More Install Help

Help
2004-02-27
2004-02-27
  • Steve Hayden

    Steve Hayden - 2004-02-27

    In the phpSecurityAdm.html document, under Installation No. 6.

    How can I run 'install_db.php' from a command prompt?

    I have been playing with php for about 6 months, the only way I know how to run a php script is from a browser. My procedure is to write the the script on my local machine, drag and drop the script into the proper directory on the web server (Linux box) using Frontpage, and fire up my browser go to the web page and run the script I just uploaded.

    I am not a big fan of Frontpage, but the server does not have FTP for security reasons, so it is the only way I have to get my php scripts to the server. Never open a php script or a html script that contains php because Frontpage will screw with your code!

    Why is it better to run the script from a command prompt than from a browser?

    Thanks,
    Steve

     
    • Justin Koivisto

      Justin Koivisto - 2004-02-27

      For information using PHP from the command line, check the php site:

      http://www.php.net/manual/en/features.commandline.php

      It's better to run the install script from the command line so that the script doesn't time out on your webserver.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.