Charles Brown

just a simple blog

PS:341 – GoDaddy Hosting.

Having been in the hosting space for the better part of two decades I’ve seen hosting companies rise and fall, rise and be bought out, and some just a whisper of what was.

GoDaddy is one of those companies that seems to be “Easy” for some, and insanely complicated for others in what should be an easy set of fixes.

I recently got pulled into a migration project from a design shop I work with, they had a client who is a die-hard GoDaddy fan, they have a “Windows” hosting package which leaves a lot to be desired. Sure they could probably talk to someone and upgrade, but honestly? They just wanted their new pretty site, and that’s it.

In the process of the migration I had PHP suddenly stop having MySQL support, and if you’ve ever used WordPress at all, you’ll know it is a big fan of MySQL access and if PHP doesn’t have the support it tends to complain a lot.

If anyone should come by this thread and you are having issues with GoDaddy’s Windows Hosting platform and can’t seem to get PHP working and you are a designer and at the mercy of a customer in getting this working here’s what worked for me:

web.config

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
 <system.webServer>
<httpProtocol>
  <customHeaders>
    <add name="Access-Control-Allow-Origin" value="*" />
  </customHeaders>
</httpProtocol>
  <rewrite>
   <rules>
    <rule name="wordpress" patternSyntax="Wildcard">
     <match url="*"/>
     <conditions>
      <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
      <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
     </conditions>
     <action type="Rewrite" url="index.php"/>
    </rule>
   </rules>
  </rewrite>
 </system.webServer>
</configuration>

php5.ini

[PHP]
memory_limit = 384M
post_max_size = 128M
upload_max_filesize = 128M
allow_url_fopen = Off
allow_url_include = Off
default_socket_timeout = 60
log_errors=On
extension_dir = C:\\php5\\ext
[mail function]
; For Win32 only.
SMTP = relay-hosting.secureserver.net
smtp_port = 25
[SQL]
sql.safe_mode = Off
[ODBC]
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1
[PHP_BZ2]
extension=php_bz2.dll
[PHP_CURL]
extension=php_curl.dll
[PHP_GD2]
extension=php_gd2.dll
[PHP_GETTEXT]
extension=php_gettext.dll
[PHP_MCRYPT]
extension=php_mcrypt.dll
[PHP_MYSQL]
extension=php_mysql.dll
[PHP_MYSQLI]
extension=php_mysqli.dll
[PHP_OPENSSL]
extension=php_openssl.dll
[PHP_PDO]
extension=php_pdo.dll
[PHP_PDO_MYSQL]
extension=php_pdo_mysql.dll
[PHP_SOAP]
extension=php_soap.dll
[PHP_SOCKETS]
extension=php_sockets.dll
[PHP_SQLITE]
extension=php_sqlite.dll
[PHP_XSL]
extension=php_xsl.dll
[PHP_ZIP]
extension=php_zip.dll
[PHP_MSSQL]
extension=php_mssql.dll

Put these both in your root folder, then under the control panel in IIS restart the application pool so it reloads everything no matter what and for me, this got me working again. Now bear in mind if they have you using a lower version of PHP (I was at 5.2.x build) then in time WP and other plugins may not have support, so may want to have your customer long-term contact support about moving to a newer build, or maybe get a small VPS/Linux Hosting package for WordPress for a bit more ease of staying up-to-date.

If you have the option to switch out, feel free to comment here, I can host a WordPress site no problem! But hopefully the above has you squared away.

PS:327 – Forward.

I know You got this whole thing under control
My soul is untouchable because
You’ve already won me
My victory is not in this flesh and bone
It’s in the cross and I know
Nobody’s taking it from me

It has been a rough week. Yesterday was one of those days where everything that could of went wrong, did. I lost a couple hours of work I could have picked up. That’s a rough one because it seems like lately, the hours are less I can pick up, nothing is coming in on a regular basis.

It’s summer and I try to remember that some folks are simply just not in the “do business” mood, they are on break, they are on vacation, they are out and about. Still rough.

The above song has been playing on repeat lately, it’s just one of those reminders that this life, this flesh, and bone is indeed temporary.  I keep trying to shed stress when and where I can, even tonight here at 2:39 am – unwinding with some tea, some music, working on finishing a website for another 30 minutes, then 30 minutes on editing a video I had hoped to have edited yesterday, then hopefully bed before too long.

I need to knock down a lot of random projects here this week, and at every turn it’s been time on everything else, but did pick up some coding work re-working an entire import system – but I don’t think that’s going to improve itself overnight, nor in a few hours of coding today, so going to focus on my own business for a bit.

Night (or Good Morning) 😀

PS:316 – What next?

While I love the world of hosting, some changes since my last post, some news which may mean a considerable amount LESS work from one source, and with the silence of another addition to the monthly incoming gone silent, I’m not banking on it being around.

So what’s next? I’ve got a lot on the plate this last week of April, a lot indeed. While I wish there were some real downtime, sadly that’s just not in the plan for me, Kiddo has stuff Monday, Wife has a busy week, and that leaves me somewhere in the “Uhm….” area of “when do I have time” and “what do I have the drive to do?” honestly? I’m frazzled. I’m fried. I really just want to rest/do nothing.

Sadly the real world doesn’t always allow for that when you run your own business. So, What’s next?

I’ve really considered making a side business (cash business) out of 3D Printing for starters, really just printing for folks I know doing Con’s and such when they need that blaster/sword/gear that isn’t easily just made, but can be printed/finished and give their look a lot of polish.

A tech-ish website, TFH is still in the wings, and if I can find a regular schedule for writing weekly I think I could make a good run of it, really just build it out, maybe doing video guides, video articles, etc. really just get out there and build a brand around it and help folks.

Photography, I have the drone (which needs a good flight soon!) but maybe get my commercial Drone license and add something to side photography biz in which deck out a nice camera, suit up the drone, etc. just get those cool shots and use the drone to add some nice shots from the air, honestly I think it’d be fun.

Really dig into the world of Web Design & Coding full time, and have hosting on the side to handle clients. So far some performance gains on sites operating things not as shared hosting in a traditional sense but a targeted WaaS (WordPress As A Service) would be nice, really build a streamlined WordPress configuration and sell out some sites that are speedy, easily kept up, secure, and get folks boom’n in town and around.

Get hired. No more work for me, really just branch the hosting into a side-gig, find someone who’d hire me as tech support/admin/etc. and give me a W2 maybe even long-term slowly move my customers to their hosting platforms and still take care of my customers, but really allow someone else to foot the bill and pay me handsomely to maintain it 🙂

Find a church, do music, youth, whatever, maybe get hired on as staff to have a more active staff-like role and serve God and make it a living to boot.

Lastly – Denny’s or someplace I can enjoy cooking – I mean Lilly likes it so who would complain? 😀

A lot on my mind, hopefully I can figure something out and really find something that works – the wife says I should become a nurse… Never was on my radar, but I don’t mind medical stuff that much, but I do hate school lol so not sure how that’d play out – time will tell.

For now it’s 1:30AM, still trying to wind-down, and wrap up the late night work goodies that came in, but in the AM a few emails to reply to, for now just typing and winding down, hopefully sleep soon.

PS:49 – Exhausted.

I have honestly just about had it. Today my shoulders locked up and couldn’t even get my arms above my head to take off my shirt. I’ve lived the day on 3 hours of sleep, and pushed myself to get done what I’ve gotten done, and yet still more to do.

I’ve had so much stress lately, I just can’t take it. I’d blog about it to vent, and try to relax a little but sadly that won’t fix anything probably would just make things worse.

Things need to change. I’m tired of the world on my shoulders emotionally, physically, and stressfully. 🙁 Again could use some prayers, hoping for a better day tomorrow, just sadly if this weekend was any real indication as well as the communications I just got, this week will be insanely rough.