Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 03-02-2009, 04:10 PM   #1 (permalink)
Indidiot
 
Plasma_Snake's Avatar
 
Join Date: Dec 2007
Location: Rock Island
Posts: 1,416
Default PHP in Web 2


I've installed full Expression 2 suite andd tried the first PHPinfo program fromt he last month's fast track guide but got no output in Web 2. Do I need some more tools other than Web 2?
Plasma_Snake is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 03-02-2009, 05:07 PM   #2 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,493
Default Re: PHP in Web 2

Hmmm....I have never used MS Expression suite. Are you SURE that you have a webserber installed? Have you installed PHP?

If no, then download WAMP server(http://www.wampserver.com/en/) package and install it. Then put your PHP file in the `www` directory and run it from your browser!
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता
victor_rambo is offline  
Old 03-02-2009, 08:36 PM   #3 (permalink)
Indidiot
 
Plasma_Snake's Avatar
 
Join Date: Dec 2007
Location: Rock Island
Posts: 1,416
Default Re: PHP in Web 2

The thing is that, which I read in IC Chip of last month, in which it was reviewed, they've clearly mentioned and I quote"It lets you preview PHP pages in your Web browser without installing a separate development server or having to upload your website to a server."
Since I'm a complete n00b at it that's why decided to go with this all-in-one app. If the case is different then please debrief me.
Plasma_Snake is offline  
Old 03-02-2009, 09:57 PM   #4 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,493
Default Re: PHP in Web 2

hmmm...here is how to go about it:
1. Download and install WAMP server from http://www.wampserver.com/en. It shall install Apache, PHP and MySQL. Start the wamp server.
2. Once installed, lets say to D:\wamp, then there is a `www` directory at D:\wamp\www.
Place you PHP script(.php file) in this `www` directory.
3. Lets assume the name of that PHP script is `info.php`. Start your browser and type `http://127.0.0.1/info.php` in the address bar. You should see a large table containing your PHP installation information.

Let me know if you need more help getting started!
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता
victor_rambo is offline  
Old 04-02-2009, 12:19 AM   #5 (permalink)
Indidiot
 
Plasma_Snake's Avatar
 
Join Date: Dec 2007
Location: Rock Island
Posts: 1,416
Default Re: PHP in Web 2

Is this Wamp server resources hog? I do have a very powerful rig but still currently low on System Disk space, so wanna know. BTW what about Web 2 is it not enough?
Plasma_Snake is offline  
Old 04-02-2009, 12:24 AM   #6 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,493
Default Re: PHP in Web 2

Nope, wamp server is not at all a hog! It consumes a reasonable 65 MB(Private working set)!

I don't know about Web 2 or Expression. Personally, I avoid Microsoft stuff because when I needed a C++ compiler, they stuffed me with some 70 MB download when other compilers were less than 10 MB! From that incident I have come to stay away from MS products for my webdev needs.

Free and open-source packages satisfy my each and every need in web development!
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता
victor_rambo is offline  
Old 06-02-2009, 02:29 AM   #7 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,493
Default Re: PHP in Web 2

So dude, could you get it to work?
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता
victor_rambo is offline  
Old 06-02-2009, 07:28 AM   #8 (permalink)
Indidiot
 
Plasma_Snake's Avatar
 
Join Date: Dec 2007
Location: Rock Island
Posts: 1,416
Default Re: PHP in Web 2

Will try on Monday, GATE on this Sunday!
Plasma_Snake is offline  
Old 06-02-2009, 09:37 AM   #9 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,493
Default Re: PHP in Web 2

oic...
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता
victor_rambo is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by gforz
- by soumya
- by Sujeet
- by icebags
- by Charan

Advertisement




All times are GMT +5.5. The time now is 03:06 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2