Overclock.net › Forums › Specialty Builds › Servers › Getting PHP to install on my server.
New Posts  All Forums:Forum Nav:

Getting PHP to install on my server.

post #1 of 15
Thread Starter 
Hi all
I got Head First PHP & MySQL and i need to set up a local server to test my code. So
i have installed apache 2.2.9

Now when i try installing PHP 5.2.6 with the windows installer i get a message sayin
"windows installer is missing component a script could not be run"
or something similar to that.

I have been tryin this for about 2 hours an i am out of idea's

Can anyone help?\

EDIT:
I am tryin this on windows 7 not windows server could this be the problem?
338
Edited by Hatakescreams - 1/18/12 at 11:24am
post #2 of 15
do you have any experience whatsoever with linux? Personally, if this is just for test purposes. Get virtual box, and ubuntu, then install the packages "apg-get install php5 mysql-server phpmyadmin" and run from there.
post #3 of 15
If you are just doing this for local development and testing,

Uninstall everything you've put on the machine so far(you have old versions) and install XAMPP :
http://www.apachefriends.org/en/xampp-windows.html

This will install the Apache, PHP and MySQL for you so you can play around with it and then see it in your browser via localhost. (instead of installing everything one by one)
Main PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500k Asus Maximus IV Gene-Z MSI 6950 2gb Unlocked Ref GSkill Ripjaws X 8GB CL8 
Hard DriveOSMonitorKeyboard
Crucial M4 128GB Windows 7 Ult Samsung 24" ToC Das Professional Silent 
PowerCaseMouse
Seasonic X750 Corsair 650d Logitech G700 
  hide details  
Reply
Main PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500k Asus Maximus IV Gene-Z MSI 6950 2gb Unlocked Ref GSkill Ripjaws X 8GB CL8 
Hard DriveOSMonitorKeyboard
Crucial M4 128GB Windows 7 Ult Samsung 24" ToC Das Professional Silent 
PowerCaseMouse
Seasonic X750 Corsair 650d Logitech G700 
  hide details  
Reply
post #4 of 15
Thread Starter 
Quote:
Originally Posted by herkalurk View Post

do you have any experience whatsoever with linux? Personally, if this is just for test purposes. Get virtual box, and ubuntu, then install the packages "apg-get install php5 mysql-server phpmyadmin" and run from there.

Haha no just getting started and i have very little experience with linux
I am interested in it but dont think i know enough to make it worth my time
Quote:
Originally Posted by Jonowxeno View Post

If you are just doing this for local development and testing,
Uninstall everything you've put on the machine so far(you have old versions) and install XAMPP :
http://www.apachefriends.org/en/xampp-windows.html
This will install the Apache, PHP and MySQL for you so you can play around with it and then see it in your browser via localhost. (instead of installing everything one by one)

This is probably best thanks allot


+Reps for both of you

Which do you think is best solution Xamp or Linux Virtual Box?
post #5 of 15
Quote:
Originally Posted by Hatakescreams View Post

Which do you think is best solution Xamp or Linux Virtual Box?

Since you are just getting started and are following along with a book, XAMPP will be quicker/easier. The virtual box would just keep this separate from your machine's program files and would be better if you wanted to try out Linux but for just PHP programming, it's not necessary.
Main PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500k Asus Maximus IV Gene-Z MSI 6950 2gb Unlocked Ref GSkill Ripjaws X 8GB CL8 
Hard DriveOSMonitorKeyboard
Crucial M4 128GB Windows 7 Ult Samsung 24" ToC Das Professional Silent 
PowerCaseMouse
Seasonic X750 Corsair 650d Logitech G700 
  hide details  
Reply
Main PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500k Asus Maximus IV Gene-Z MSI 6950 2gb Unlocked Ref GSkill Ripjaws X 8GB CL8 
Hard DriveOSMonitorKeyboard
Crucial M4 128GB Windows 7 Ult Samsung 24" ToC Das Professional Silent 
PowerCaseMouse
Seasonic X750 Corsair 650d Logitech G700 
  hide details  
Reply
post #6 of 15
I would use XAMMP or whatever its called or ZEND if you ever plan on going online with it.
post #7 of 15
Quote:
Originally Posted by Hatakescreams View Post


Which do you think is best solution Xamp or Linux Virtual Box?
Even if you were going down the Linux route, I'd have recommended running Xampp on that. So you might as well just install Xampp on Windows.
Quote:
Originally Posted by tha d0ctor View Post

I would use XAMMP or whatever its called or ZEND if you ever plan on going online with it.

I would never recommend Xammp for anything but development environments. Do *not* run live systems with it as it's not secure. Instead you want WAMP / LAMP for live servers.
post #8 of 15
Id try the linux virtual server to learn smile.gif


If you go with usbuntu server i think it may evern have it installed,

And if its not its just a
sudo apt-get install php5 apache2 (i think ive go tused to centos xD)
Escobar
(9 items)
 
Supercomputer ^_^
(13 items)
 
 
CPUMotherboardGraphicsRAM
1055T M4A88T-D EVO USB3 ATI 6850 4 GB 
Optical DriveOSMonitorKeyboard
DVD RW Windows 8 Pro lp1900 + 2 X 15 inch dell Microsoft Comfort Curve 
PowerCase
600watt thermaltake antec 200 
  hide details  
Reply
Escobar
(9 items)
 
Supercomputer ^_^
(13 items)
 
 
CPUMotherboardGraphicsRAM
1055T M4A88T-D EVO USB3 ATI 6850 4 GB 
Optical DriveOSMonitorKeyboard
DVD RW Windows 8 Pro lp1900 + 2 X 15 inch dell Microsoft Comfort Curve 
PowerCase
600watt thermaltake antec 200 
  hide details  
Reply
post #9 of 15
Quote:
Originally Posted by Ulquiorra View Post

Id try the linux virtual server to learn smile.gif
If you go with usbuntu server i think it may evern have it installed,
And if its not its just a
sudo apt-get install php5 apache2 (i think ive go tused to centos xD)

He wants to learn PHP and MySQL, not Linux wink.gif
post #10 of 15
Quote:
Originally Posted by Plan9 View Post

I would never recommend Xammp for anything but development environments. Do *not* run live systems with it as it's not secure. Instead you want WAMP / LAMP for live servers.

Same here, I'm using WAMP for years now, and it's so efficient I would never go back!
Download, install and you're ready to go!

http://www.wampserver.com/en/
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Servers
Overclock.net › Forums › Specialty Builds › Servers › Getting PHP to install on my server.