Learning PHP and why can't I see it on my computer?
I have decide to learn PHP and have a few questions about it. First off, is there a good book out there that can teach me PHP or should I just use an editor without learning any of the code? I currently have PHO Expert Editor installed on my computer (the non-registered trial version).
Secondly, I have also attempted to view the PHP files that I am trying to edit on my computer BUT it won't work. I get a message that says the following:
------------------------------------------------------------------
PHP Path Error!
The probable reasons:
-Not installed PHP on your computer.
-PHP is installed, but not specified the path to php.exe in Run Options.
You can download PHP installation and extension modules here: php.net/downloads.php
You can download PHP documentation here: php.net/download-docs.php
More detailed information about PHP on a site php.net/
------------------------------------------------------------------
I've downloaded the installation and unzipped it but have no idea how to install it because I can't fine any file that begins the install process once I click on it.
Also, when I try to view the index.php file on the web (it's posted on a server which supports php) I get this message.
Parse error: parse error, unexpected ',' in /home/global1/public_html/index.php on line 11
Why is that and..........should I just give up? (kidding....I really want to figure this out)
Your suggestions will be greatly appreciated.
Renegade posted this at 00:01 — 22nd October 2005.
He has: 3,022 posts
Joined: Oct 2002
If you could post up the code or the part where you're having a problem, then, perhaps we would be able to help you better
NewTechGuy posted this at 01:26 — 22nd October 2005.
He has: 57 posts
Joined: Dec 2004
Well I am finally able to view the page as it should look. Turns out I had to choose the correct ROOT directory (from what it was initially).
So now I can see the pages properly *whew*........lol.....however I am still stuck with why I can't view it on the server BUT I am going to upload the new file now.....to see if it works.......*wish me luck*.....
Busy posted this at 10:39 — 22nd October 2005.
He has: 6,151 posts
Joined: May 2001
"on the server" meaning Apache or similar on your computer right? Have you started apache ?
setting up a .bat file to auto run MYSQL and apache is the easiest, PHP just runs, doesn't need to be started, and coding yourself is the only way to do it, an editor would probably cause more grief than anything as you wouldn't know what or where to use things and why.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.