PDA

View Full Version : help please installing PHP from a newbi?


Markj000
04-14-2009, 04:37 PM
Hi WA Community,

The plan is to developa dynamic PHP webstore much like the PowerStore. I've done the easy stuff with tools other than Dreamweaver for static sites.

I followed the "web_dev_begin.pdf" instructions and can't seem to get PHP 5.2.9 up and running on Vista Ultimate. PHP ran originally using the installer then l loaded MySQL5.1 using the installer. MySQL worked and afterwards PHP didn't. I uninstalled PHP, rechecked the php.ini file and added the php5isapi.dll using the handling mapper.

Any suggestions?

Thanks, Mark.

warrenphillips25336771
04-16-2009, 01:08 PM
Hi WA Community,

The plan is to developa dynamic PHP webstore much like the PowerStore. I've done the easy stuff with tools other than Dreamweaver for static sites.

I followed the "web_dev_begin.pdf" instructions and can't seem to get PHP 5.2.9 up and running on Vista Ultimate. PHP ran originally using the installer then l loaded MySQL5.1 using the installer. MySQL worked and afterwards PHP didn't. I uninstalled PHP, rechecked the php.ini file and added the php5isapi.dll using the handling mapper.

Any suggestions?

Thanks, Mark.

try wampserver it installs all neccesary things needed.

Justin Nemeth
04-16-2009, 04:46 PM
I agree with Warren, give WAMP a try. It should help streamline the process to get you up an running. http://www.wampserver.com/en/

Markj000
04-17-2009, 05:52 PM
Hi Justin and Warren,

Thanks for the note about WampSevrer. Looks like a great utility. I installed it without any luck. It appears to install. There's a c:\wamp\www\index.php file etc however the Wampserver won't load to configure it as per the wampserver help/instructions page. The only item to choose from the start and app menu in vista is "start wamp server". The windows icon says that wampserver is offline.

Any clues?

Thanks again, Mark.

David Stringer
04-17-2009, 11:38 PM
Hi Justin and Warren,

Thanks for the note about WampSevrer. Looks like a great utility. I installed it without any luck. It appears to install. There's a c:\wamp\www\index.php file etc however the Wampserver won't load to configure it as per the wampserver help/instructions page. The only item to choose from the start and app menu in vista is "start wamp server". The windows icon says that wampserver is offline.

Any clues?

Thanks again, Mark.

Hi Mark,

That is the normal state of Wamp! If you 'Stop all services' it will show a red indicator. If you start it again the red indicator goes.

Have you put a website into the www folder of Wamp and tested it out?

Give this a try first.

Regards,

warrenphillips25336771
04-18-2009, 03:51 PM
I agree with david

remember now though all websites need to be stored under the www on wampserver else it will not work, if you need help just ask

Markj000
04-20-2009, 04:19 AM
Hi Warren & David,

Thanks again.

Not sure why but wampserver now appears to be up and running. I was playing around trying to get adobe fireworks to run and when the system booted it wanted to recover to an earlier working state. since that the server appears up and runnng but wouldn't do so after installing.

l get a tick next to mysql 5.1.33 and php 5.2.9-2.

Any of the *.php files copied to either http://wamp/www or http://localhost either don't appear to load or l get the "HTTP Error 404.0 - Not Found" message - sorry to be a pain; however any clues?

Cheers, Mark.

David Stringer
04-20-2009, 04:35 AM
Any of the *.php files copied to either http://wamp/www or http://localhost either don't appear to load or l get the "HTTP Error 404.0 - Not Found" message - sorry to be a pain; however any clues?

Hi Mark,

I presume that the Wamp Server interface appears when you input http://localhost/

All you should now need to do is follow this with whatever folder it's in, i.e.
http://localhost/SiteName/ and if this has the default file in there - index.php or html, it should appear in your browser.

Just one further point - are your files under the www section of Wamp?

Markj000
04-20-2009, 04:42 AM
just a small postscript to the above. when l stop the services the "red light" does come on. When l start the wamp server the red light disappears however it says that the server is offline and the "put online" option returns an error "Could not execute menu item (internal error) [Exception} could not perform service action: The service has not been started"

David Stringer
04-20-2009, 05:26 AM
just a small postscript to the above. when l stop the services the "red light" does come on. When l start the wamp server the red light disappears however it says that the server is offline and the "put online" option returns an error "Could not execute menu item (internal error) [Exception} could not perform service action: The service has not been started"

I'm pretty sure I read somewhere that Put Online refers to putting the programme on the internet, which you don't want. All you want to do with it, is use it on your local drive!