Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-31-2004, 11:21 AM   #1
LQ Newbie
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
Initializing PHP script

I am attempting to install Word Press using a PHP script (install.php). The documentation says this can be done by opening said file from the browser, but the script won't initialize. The browser (and I've tried several) asks for an application to open the script. When I try this from the command line with root privileges I get:

./install.php: line 1: ?php: No such file or directory
./install.php: line 2: =: command not found
./install.php: line 3: syntax error near unexpected token `'../wp-config.php''
./install.php: line 3: `if (!file_exists('../wp-config.php')) '

Of course, I have made sure permissions on the file are appropriate, etc.
Old 08-31-2004, 11:51 AM   #2
Registered: Aug 2004
Location: Seattle
Distribution: Red Hat es and as, Solaris, Fedora, Debian, Tru64
Posts: 45

Rep: Reputation: 15
At the command line, try:
php install.php


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
issues with mirc script accessing our php script dtra Linux - Software 2 07-02-2005 05:30 PM
PHP script DiagonalArg Programming 2 06-18-2005 03:02 PM
PHP -- How to execute a shell script from PHP using FTP functions?? zoonalex Programming 3 07-29-2004 12:51 PM
converting shell script to php script ? ibro Linux - General 6 05-24-2004 06:19 AM
php script delta7 Programming 3 07-24-2003 02:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration