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. - Page 2

post #11 of 15
Still linux is useful to learn if your doing websites, i know not evreyone ueses it but still redface.gif
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 #12 of 15
Quote:
Originally Posted by Ulquiorra View Post

Still linux is useful to learn if your doing websites, i know not evreyone ueses it but still redface.gif

You don't really need to know Linux to do PHP. If he were doing Perl, then I'd understand. But PHP is pretty segregated from the host OS
post #13 of 15
Quote:
Originally Posted by Plan9 View Post

He wants to learn PHP and MySQL, not Linux wink.gif

That may be, but almost all webservers from major webhosts are run on linux. It's cheaper, and provides more CPU power for the processes. So learning linux would be a good idea. Just sayin.
Edited by herkalurk - 1/27/12 at 9:43am
post #14 of 15
Quote:
Originally Posted by herkalurk View Post

That may be, but almost all webservers from major webhosts are run on linux. It's cheaper, and provides more CPU power for the processes. So learning linux would be a good idea. Just sayin.
I know, I'm a systems admin for a few dozen major web servers. Thus I also know a decent web server shouldn't expose the OS to PHP developers.

Generally (not always, but just generally) web devs are rubbish sys admins and thus leave all sorts of gaping security holes - often from shear laziness (eg chmod 777'ing huge chunks of the file system). Plus I've them make all sorts of mistakes and wipe whole chunks of work (hell, even I've been guilty of crashing a server because i went to delete a an old development archive and absent-mindedly deleted /dev (I've never been so grateful for udev in all my life lol). So it's really in your best interest as a sys admin to give your developers and designers as little access to the box as you can.

At most, I like to give people limited shell access with the same group ID as apache - thus limiting their control to just the same core systems that Apache could. but largely that's pointless as they all have local FTP access anyway. I also have some basic shell scripts I've written for them to extend the shell functionality(eg one to recache pm files into mod_perl), but again, that's very bespoke and not something you'd expect a PHP dev to build or know how to run manually.

The designers have even less access - they just have a chrooted FTP account.

I can understand Perl developers wanting shell access a little more simply because of the way how Perl is closely tied to *nix. Plus errors are logged differently to how they are in PHP. However PHP is a much more OS independent and thus there really isn't any need to learn Linux to learn how to develop in PHP. All you need is file system access (FTP / SMB / whatever) and error messages turned on (which you'd expect in on a dev server anyway)

So yes, I can understand where you're coming from, however a decent web host will have their own sys admins and will expose as little of Linux as they can.
Edited by Plan9 - 1/27/12 at 12:08pm
post #15 of 15
The problem with running PHP under Windows, is that sendmail works differently and any scripts that use chmod will not work. So, if you're writing something that uses these and will be deployed on a Linux/Unix server, then you cannot fully test your code.

This is why I recently setup an OpenSUSE server at home, rather than going with the easier WAMP server install. Of course, if you don't have a spare PC lying around to install Linux on, (and your primary OS is Windows, then you may have no choice but to use WAMP.
Windows 7 MIIF
(18 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core 2 Duo E8500 ASUS Maximus II Formula Sapphire HD 4870 1GB Corsair Dominator 
Hard DriveHard DriveOptical DriveCooling
WD Caviar Black WD Caviar Green Lite-On DVD-RW/DL Thermaltake TRUE 120 heatsink 
CoolingOSMonitorKeyboard
Noctua NFP-12 fan Windows 7 Home Premium 64-bit Samsung 223BW 22" S-IPS OCZ Illuminati 
PowerCaseMouseAudio
Silverstone Strider 750W NZXT Phantom (Red) Wacom Intuos 6x8 Creative X-Fi Titanium Fatal1ty 
Other
Klipsch Promedia V2-400 4.1 THX speakers 
  hide details  
Reply
Windows 7 MIIF
(18 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core 2 Duo E8500 ASUS Maximus II Formula Sapphire HD 4870 1GB Corsair Dominator 
Hard DriveHard DriveOptical DriveCooling
WD Caviar Black WD Caviar Green Lite-On DVD-RW/DL Thermaltake TRUE 120 heatsink 
CoolingOSMonitorKeyboard
Noctua NFP-12 fan Windows 7 Home Premium 64-bit Samsung 223BW 22" S-IPS OCZ Illuminati 
PowerCaseMouseAudio
Silverstone Strider 750W NZXT Phantom (Red) Wacom Intuos 6x8 Creative X-Fi Titanium Fatal1ty 
Other
Klipsch Promedia V2-400 4.1 THX speakers 
  hide details  
Reply
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.