SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old October 25th, 2003, 04:56 AM
mdhall mdhall is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 158 mdhall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
PHP an Mysql on home pc's

I'm just wondering if its possible to set up php and mysql on a home computer, and what would be the pc's recommended set-up/requirements? This wouldnt be to act as a server, but to have a more efficient way to learn php and mysql without utilizing a webserver all the time.

Reply With Quote
  #2  
Old October 25th, 2003, 11:18 AM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: PHP an Mysql on home pc's

Yes it is very possible and it is exactly what I do for development. I have a 233 PII Laptop with 128M of RAM and a 10Gig hard drive. The machine was a hand-me-down. I installed Win2k, IIS, PHP, MySQL and Apache. Makes development a breeze... I also have a box with Linux,PHP,MySQL,Apache on it to test for cross platform compatability.

Reply With Quote
  #3  
Old October 25th, 2003, 01:49 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: PHP an Mysql on home pc's

I recommend the Linux. Using linux for a server will make your life complete and it's good for your soul too.

Reply With Quote
  #4  
Old October 25th, 2003, 02:51 PM
mdhall mdhall is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 158 mdhall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: PHP an Mysql on home pc's

OK, thnx. I just purchased a new PC with 256M of RAM, and a 40GB hard drive, running WinXP. I didmt know if that would be an acceptable set up.
I know that PHP and MySql are available free, but how easy (or difficult) are they to set up and use? What about Unix/Linux/Apache? Is there any difference on the coding I can work with if I dont have Linux?

Reply With Quote
  #5  
Old October 25th, 2003, 04:57 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: RE: PHP an Mysql on home pc's

Quote:
What about Unix/Linux/Apache? Is there any difference on the coding I can work with if I dont have Linux?
The biggest difference will be if you are running any system commands. If it's just basic PHP/Mysql you should have no problem at all

Reply With Quote
  #6  
Old October 25th, 2003, 06:56 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: PHP an Mysql on home pc's

Both MySQL and PHP are easy to set up provided you follow the recommended installation procedures that come with the installations. Do some research before you begin and visit the PHP (www.php.net) and MySQL (www.mysql.com)sites and search the Internet for as much info as you possibly can. when you feel comfortable, go to town and experiment. If you have any questions/problems come back here and ask.

Reply With Quote
  #7  
Old October 25th, 2003, 08:28 PM
mdhall mdhall is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 158 mdhall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: PHP an Mysql on home pc's

OK, I just want to make sure I download what I need, and get it installed correctly. All I'm wanting to do is work on learning & writing php/mysql scripts. Thnx, and any advice will be appreciated.

Reply With Quote
  #8  
Old October 25th, 2003, 10:06 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: PHP an Mysql on home pc's

Don't forget in the event you get stuck there are the server admin forums here to help you.

Reply With Quote
  #9  
Old October 26th, 2003, 05:19 AM
mdhall mdhall is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 158 mdhall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: PHP an Mysql on home pc's

OK, I downloaded PHP and mysql. First of all, the files I received are IISConfig, install, license, php.exe, and a dll file. I am still confused on setting this up.
What options am I supposed to select when installing?
The manual mentions moving the php.ini file, but I don't find the file in this folder.
I havent set up Apache, yet the manual keeps refering to it.
I've checked online for help, but I'm coming up empty. so I guess I'm pretty well lost right now.

Reply With Quote
  #10  
Old October 26th, 2003, 06:43 AM
nazly nazly is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Colombo,SriLanka
Posts: 1,325 nazly User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 18 sec
Reputation Power: 3
Send a message via Yahoo to nazly
RE: PHP an Mysql on home pc's

Quote:
The manual mentions moving the php.ini file, but I don't find the file in this folder.

There will be a file called php.ini-dist if I'm not mistaken.. You have to rename it to php.ini and do the necessary changes as it in install.txt
Read install.txt as it has everything in it.

Quote:
I havent set up Apache, yet the manual keeps refering to it.

Thats what you should do first.. You need a webserver. Even if you are running under windows I recommend installing Apache as the Webserver than IIS.

Or you have another way to set these up easily. There are installer-packages available for windows which consists Apache/PHP/mySQL. Which also configures itself. I have installed Foxserv. You can get it from
http://www.foxserv.net

Reply With Quote
  #11  
Old October 26th, 2003, 08:12 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: PHP an Mysql on home pc's

What PHP installation did you download, the installer or the zip packag? Need to know what you are working from in order to give you correct instruction.

Reply With Quote
  #12  
Old October 26th, 2003, 09:52 PM
mdhall mdhall is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 158 mdhall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: PHP an Mysql on home pc's

I tried the FoxServ program, and it seems to have installed all 3 programs with no problem (all seem to pass the after-install tests). However, in mysql, it's acting wierd. If I add a database (can you add more?), it doesnt show up from the dropdown menu. If I add a table to the test db provided, and add info into the table, neither the table or the info show up, but if i try to re-enter the same info, I get the message that the id is already in use. I'm guessing I overlooked something in the setup, or in the usernames/password priviledges? (hoe many users are recommended? I'm thinking I only need one or two...). Also, if I have a folder of pages and scripts that I want to work on, would I just add this folder into the Foxserv "www" folder, to let it work with apache, php and mysql?

Reply With Quote
  #13  
Old October 26th, 2003, 10:29 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: PHP an Mysql on home pc's

Unfortunatly I have never used FoxServ so I really cant comment on that. As far as MySql Users, for development purposes you should only need one.
Since Nazly suggested Foxserv, I will let him answer those questions.



Reply With Quote
  #14  
Old October 26th, 2003, 11:13 PM
nazly nazly is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Colombo,SriLanka
Posts: 1,325 nazly User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 18 sec
Reputation Power: 3
Send a message via Yahoo to nazly
RE: PHP an Mysql on home pc's

All Foxserv versions also install PHPMyAdmin.. I hope you are using PHPMyAdmin to access the mySQL databases. Actually I had the same problem as yours but not with PHPMyAdmin though. With a GUI program called 'mySQL Front'. It doesn't show up the tables that are added at once. I had to refresh several times inorder to view them. I'm not sure where the problem is. Better option will be using the command prompt of mySQL.
When you install Foxserv as default all files related to Apache, PHP, mySQL are installed in C:Foxserv.
You can publish all your scripts in the directory called 'www' under the Foxserv directory.

Reply With Quote
  #15  
Old October 26th, 2003, 11:45 PM
mdhall mdhall is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 158 mdhall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: PHP an Mysql on home pc's

I did use the phpmyadmin provided with Foxserv. I've used phpmyadmin before, but a slightly different layout, it seems, and never had a problem viewing the new tables/data right away. The mysql command prompt I'm lost on, I've never used it, let alone know where to find it.
Also, i tried viewing a php file containing html, and all I got to show up was the source code of the php page, basically a notepad file. Perhaps I didnt set something up correctly. I did place a post on Foxserv's forum, but havent heard anything yet. Keep on tinkerin', I guess...

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > PHP an Mysql on home pc's


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |