INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Newbie Question re: Wordpress Environment Configuration

Newbie Question re: Wordpress Environment Configuration

Newbie Question re: Wordpress Environment Configuration

(OP)
I apologize in advance for the Newbie-ness (is that a word?) of the following question, but the Wordpress environment is still a guessing game for me.

After a LOT of challenges I have managed to get Wordpress running on my laptop so that I can do at-home learning of Wordpress.

Now I want to set up the Wordpress environment at work so that I can develop & run a Wordpress Intranet application (no web presence) from the Server.

Our server is running MS Server 2008 and the workstations are running Win7.

I need to understand what must be installed where to get things running.

PHP & Apache installed where?
* On the Server or Workstations
Wordpress installed where?
* On the Server or Workstations?

I am certain that I will have MANY more questions, but that will do it to create a 'starting place'.

Any advice/suggestions you might have would be greatly appreciated.

Thanks,
JRB-Bldr

RE: Newbie Question re: Wordpress Environment Configuration

Quote:

Newbie-ness (is that a word?)
I think the accepted convention is "noobness" or "newbness" depending which side of the Atlantic you are. bigsmile

Both need to be on a machine that is accessible from all network nodes that is permanently 'live' during working hours.

Because your network is all MS Windows a simpler/better scenario would be to have a Centos 6 box setup as a webserver with PHP, MySQL, Apache you can use Webmin for administration of the system if you prefer a GUI.
A "ForDummies" walkthrough at http://www.servermom.org/complete-newbie-guide-to-... and a P4 HT CPU with 512/1024 MB machine is sufficient for what you need.
That will keep the 'breakable' Wordpress away from your AD Controller just in case anyone does gain access, internally or externally.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: Newbie Question re: Wordpress Environment Configuration

(OP)
Thank you for the reply.
And thank you for the information about everything installed on the Server.

Additionally thank you for the reference link.
I will look over and see if it answers my remaining questions (I'm sure there will be MANY of them). It looks promising by its starting out with: Very complete tutorials for newbie

Since I had to do so on my 'learning at-home' laptop, I did plan on using Apache instead of IIS since Apache seemed to be relatively easy to get operating correctly with the other components as opposed to the effort involved with IIS.

Thanks (I am sure I'll be back)
JRB-Bldr



RE: Newbie Question re: Wordpress Environment Configuration

(OP)
Chris - after looking over the reference link you suggested, it looked as though it was assuming that I wanted to set up a Linux (CentOS) server to host Wordpress instead of running within a Windows Server.

That is an additional 'wrinkle' that I am not ready to throw into the learning curve. I was required to work with Linux/Unix/etc. WAY BACK WHEN and haven't done so for a LONG time. So everything I used to know about it has gone the way of the dinosaurs. I have enough challenges with getting started with WordPress and its associated components - PHP, MySQL (I am used to MS SQL Server), Apache without throwing more fuel on the learning curve 'fire'.

As I indicated, after a good bit of struggle and a LOT of help from various other forum gurus, I eventually got WordPress working on my Windows Laptop so that I could begin to learn my way around WordPress. So I assume that some of that effort can pay off towards getting WordPress working in a Windows Server for an Intranet App.

So if you or anyone else has suggestions on setting up Wordpress on a Windows Server so as to run an Intranet app, I'd more than welcome the suggestions/advice.

Thanks
JRB-Bldr

RE: Newbie Question re: Wordpress Environment Configuration

No I know you wanted it to be on a Windows server, but what I was considering is that Wordpress is not particularly secure for running on a machine that ALSO may be running as a AD domain controller.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: Newbie Question re: Wordpress Environment Configuration

(OP)
Chris - thanks for the reply.

I have decided to try to set up a 2nd Server to host Wordpress (also a Windows Server) and not try to use the Primary - AD/Domain Controller.

Hopefully that will gen up OK and then I'll work on getting the Wordpress set up.

With more web searching I have found a variety of 'recommendation' websites for setting up Wordpress on Windows - unfortunately they 'compete' somewhat on approaches - WAMPPS, AMPPS, XAMPPS, EasyPHP (Apache), etc. as the 'best' approach to take. ( Google search results for: wordpress intranet windows )

So no doubt I'll have a whole host of new questions regarding the Pros & Cons of any of these individual approaches.
And, based on the challenges I encountered with my previous WP setup on my laptop, I'll have even more questions once things are 'Almost' working but 'Not Quite' working.

Thanks,
JRB-Bldr

RE: Newbie Question re: Wordpress Environment Configuration

if it is your own server (i.e. under your sole control either as a virtual or real box) i strongly recommend that you don't use an installation framework.

1. install Apache if you want to use Apache. or use IIS. It doesn't matter.
2. install mysql yourself.
3. install php yourself.
4. make sure php is talking properly with apache/IIS
5. download the latest wp tar/zip and go from there.

if you use a prebuilt multiple-installer then you are missing out on the knowledge that things are installed the way that you want them to be. you are relying on other people's guesses about what you need/want. I'm never comfortable with that.

however on the whole I would also echo Chris' implied comment on using linux. You can get a decent spec linux box for USD5 per month via digital ocean. I'm sure other providers are similar.

to set up wp on one of those boxes would take less than five minutes. and it would 'just work'. you could load something like webmin to help you manage/configure the box through a graphical interface (if you don't want to use the command line) and of course, once set up, wordpress is entirely self-managing via the admin panel.

RE: Newbie Question re: Wordpress Environment Configuration

(OP)
jpadie - I agree and Yes this will be a server under my full control.

In the same way that I strongly recommend that newbies (should that be noobies?) not use Wizards in order to develop applications so that they don't miss out on the 'learning opportunity' of 'rolling their own' from scratch, I think that is the best approach.

But all of the web references that I have found with a Google search results for: wordpress intranet windows suggest using one of the installation frameworks.

missing out on the knowledge that things are installed the way that you want them to be.

The challenge with my doing it 'raw' is that I am not sure I understand enough about the WP environment needs to know what is: the way that I want them to be.

Sure I can install each into their own Default directories with Default installation configurations, but is that the way that I want them to be??

Thanks
JRB-Bldr


RE: Newbie Question re: Wordpress Environment Configuration

So ... I appreciate that you want a zero learning curve, but only you can tell what settings you want! and it's not really the WP environment. WP is just a set of php code. ie. text that is interpreted at run time; it needs not specific environment beyond any other php + mysql script (although getting the permissions locked down so that your installation is secure and flexible enough to administer can sometimes be a minor challenge).

if you grab the binaries from the source websites for apache, mysql and php then you can compare the md5 hashes and be confident that noone has monkeyed with them; and it would not be unreasonable to assert some trust in the apache foundation, Sun and Zend.

thereafter starting with the defaults is a valid strategy. The filesystem layout is largely a pure matter of choice. The extensions that are loaded at load-time for php is more 'tricky' and you may find you want more extensions to be loaded because, for example, you might need PDO or json etc. on windows that is relatively straightforward (you just uncomment the relevant line of php.ini and restart the webserver) IF the extension has been built and made available for the windows platform . that is by no means a given (which is a definite advantage of *nix).

the web tutorials are traditionally aimed at significantly lowering the entry bar. that's not appropriate (typically) for IT professionals. As you agree above, we ought to take more responsibility for the environments that we maintain. So i'd advise rolling your own one step at a time. I see no problem with using IIS (although I personally don't like it because i'm more used to apache). so you could just see how you go with mysql and php and then download and configure wordpress.

if you want to move to apache later, there is no barrier to doing so and it will not affect your wp installation.

RE: Newbie Question re: Wordpress Environment Configuration

(OP)
OK I now have a new development workstation (Win7) and I have independently set up Apache, PHP and MySQL.
They are all installed into their own separate directories and all of them appear to be running fine.

Plus, PHP & Apache seems to be playing "nice" in that phpinfo displays when localhost:8080/test.php is displayed in the browser (note - I had to use Port 8080 instead of 80).

And I have downloaded the file: wordpress-3.8.1.zip which I can certainly UnZip.

But will merely UnZipping the WordPress file get it up and running?
And, if so, where should it be UnZipped?
If not, then what do I need to do to get WordPress installed without using some 'installation package' that might try to re-install what I already have working?

Thanks,
JRB-Bldr

RE: Newbie Question re: Wordpress Environment Configuration

Quote:

But will merely UnZipping the WordPress file get it up and running?
Yes.


Quote:

And, if so, where should it be UnZipped?
The directory you want it to be served from. (The zip will extract to a folder name wordpress)

Then ... https://codex.wordpress.org/Installing_WordPress

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: Newbie Question re: Wordpress Environment Configuration

(OP)
Chris - thanks for the info.
Elsewhere I found that I need to put that extracted Wordpress folder into the Apache HTDOCS directory.
So that issue is resolved.

My next issue is that when I attempt to launch the URL
localhost:8080/Wordpress/index.php (again note that I had to use port 8080 instead of 80)
I get an error message:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress

That seems to be a commonly encountered problem since I find a lot of mention of it on the web elsewhere.
But not too many of those reference links have any concrete answers as to how to resolve it.
Mostly they say something like: Edit your PHP.INI file... (generally nothing specific as to Edit WHAT)

Any suggestions here?

Thanks
JRB-Bldr





RE: Newbie Question re: Wordpress Environment Configuration

Your php.ini location depends on where your WAMP installation is set up.

Create a .php file, put

CODE --> php

<?php
phpinfo();
?> 

In it and open it in a browser.
Look for "Loaded Configuration File" and read off the path.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: Newbie Question re: Wordpress Environment Configuration

(OP)
The Loaded Configuration File is shown as: D:\PHP\PHP.INI

That is indeed the file that I have attempted to Edit as advised by the other sites.
NOTE - the edits were basically "UnComment the Extensions lines containing MySQL"

But obviously I have not edited the correct parameters yet, since I still get the error message on trying to launch WordPress.

Additionally I remember WAY BACK WHEN I was fighting these types of issues LONG AGO on another system, I also had to make edits to PHP.INI for Username, etc. But I don't remember where those edits needed to occur. It was sort of a hit-and-miss guessing game then.

Thanks,
JRB-Bldr

RE: Newbie Question re: Wordpress Environment Configuration

there are different rules for different versions of php due to the incompatibility of the mysql and php licence.

which version of php are you using?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close