Click to See Complete Forum and Search --> : php trouble
iFreaker
06-07-2007, 08:04 PM
hey there
i just installed PHP on my WinXP comp
when i try to run PHP scripts on my browser they dont work
why is that?
how do i make them work?
NogDog
06-07-2007, 08:14 PM
Have you installed a web server, too?
dagon
06-07-2007, 08:27 PM
can run php command line, but i suspect you don't want that.
what do you enter in the browser's address line, when you're accessing the php script?
iFreaker
06-08-2007, 07:26 AM
Have you installed a web server, too?
no i didnt
@sid:
i go to the file and right click it and select open with firefox
vertmonkee
06-08-2007, 08:05 AM
Try this article it is quite concise
http://www.php-mysql-tutorial.com/install-apache-php-mysql.php
Failing that a good book always helps.
I read Wrox Beginning PHP5, Apache, and MySQL Web Development
mpasternak
06-08-2007, 11:41 AM
PHP is a server side script. it must be loaded and run by a webserver with PHP support. it is the webserver that generates the output for the web browser to understand
you can not simply open a PHP file on your local machine through explorer and have it run. Sorry.
you can not simply open a PHP file on your local machine through explorer and have it run. Sorry.
hoewever intimidating this statement may sound, it's not actually too hard to get your environment set up to run php files. the link provided seems to be a good resource - if you want an all-in-one solution: there are is a handy little tools, such as EasyPHP (http://www.easyphp.org), which will install a webserver, PHP and MySQL, etc. for you from one installer.
vertmonkee
06-08-2007, 12:29 PM
sid hit the nail on the head.
I found it good to install the pieces seperatley as it gave me a bit more understanding about how it all fits together.
Being open source there is loads of free help and advice out there, especially if your just starting
Frikkie
06-15-2007, 05:44 AM
Good day my fellow PHP Friends,
I have quite a few questions and hope you can help me.
First, what is the difference in PHP between a block and a module?
I tried to ad my constitution to my site but the only way I get it is to create a block but then refer to my constitution, which open in a new window.
How do I get it to open in my PHP main window?
Second problem:
I installed WAMP 5 on my computer to do my website offline on my hard drive.
How do I change the CHMOD files on my hard drive to install the PHP software or do I miss some other software.
I get a database created but cant get the password side and what must I do to upload the created PHP from my hard drive to transfer it to my website.
How do I get the databases to work together?
I thank you for your help.
Frikkie
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.