+ Post New Thread
Page 1 of 3 123 LastLast
Results 1 to 15 of 34
Windows Thread, php help in Technical; just dipping my toes in here, but I need some advice regarding php. I'm designing the website for the school ...
  1. #1

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    132

    php help

    just dipping my toes in here, but I need some advice regarding php. I'm designing the website for the school I started work at recently Falinge and at the moment it's in its infancy but the basics are there. We host our own web server and I'm going to have a standalone machine set up in a dmz so that I can practice my php before trying it out on the website.
    where can I find the best/easiest tutorials, ones that will show me things from how to configure the server to actually write the script?
    cheers,
    beeswax

  2. #2
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,007
    Thank Post
    124
    Thanked 286 Times in 263 Posts
    Rep Power
    109

    Re: php help

    Your probably best using a content management system and building on it from there as doing it yourself may become unmanageable.
    I use a basic php system on our site which is just basically and index.php that includes a header and footer and what ever content is defined by the page variable index.php?page=ict etc. i build special pages for stuff that needs more functionality like exams results from a mysql query.
    I will more that likey move over to moodle soon as all my content is in its own page file and should be easy to copy and paste over.

    In short experiment by all means like I have done but I would suggest Moodle in the long run.

  3. #3

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    132

    Re: php help

    can I use my design as a template in moodle though?

  4. #4
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,007
    Thank Post
    124
    Thanked 286 Times in 263 Posts
    Rep Power
    109

    Re: php help

    With most CMS you can cutomise the interface to how you want it.

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

  6. #6

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    132

    Re: php help

    which came first, the moodle or the headache?
    Following the advice given here, I'm trying to get Moodle started on my web server Ace Web Hosting The instructions seem simple enough (ha!) but it's not coming out right for me. Has anyone installed moodle on a server which doesn't provide moodle pre-packaged (for want of a better phrase)?
    Thanks in advance,
    besswax

  7. #7

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    132

    Re: php help

    p.s. I'm trying it in my web space (no one can hear me scream) before taking it into school.
    beeswax

  8. #8

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: php help

    Yep. I've installed Moodle on the Apache server at Carr Hill. It currently lives at http://vle.carrhill.lancs.sch.uk

    What errors are you running into?

  9. #9
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,987
    Thank Post
    275
    Thanked 52 Times in 46 Posts
    Blog Entries
    2
    Rep Power
    48

    Re: php help

    Quote Originally Posted by beeswax
    Has anyone installed moodle on a server which doesn't provide moodle pre-packaged (for want of a better phrase)?
    Yes besswax, I've had it on an apache server on a windows box [well several], I installed apache, php and mysql. I now host it on my intranet server which is slackware - apache, php and mysql pre-installed: here. I've fiddled with the basics a bit, but we're still not in full production yet.

    There's a simplified instalation [of moodle] on the moodle site somewhere - I found it once - but haven't managed a second time!

  10. #10

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    Boston, MA
    Posts
    7,601
    Thank Post
    110
    Thanked 771 Times in 599 Posts
    Rep Power
    183

    Re: php help

    I seem to remember installing a test setup on IIS with PHP5 and MySQL.

  11. #11

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    132

    Re: php help

    this is how far I have now advanced. I have to admit that I'm flummoxed (and tired) so I probably sound more desperate than in control. can anyone push me in the right direction?
    beeswax
    Last edited by beeswax; 11th June 2008 at 08:10 PM.

  12. #12
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,987
    Thank Post
    275
    Thanked 52 Times in 46 Posts
    Blog Entries
    2
    Rep Power
    48

    Re: php help

    Is this on your hosted site BW? I assume it is... Either the problem is with your hosts setup or you have to enter in something other than localhost as the host name. Have you set up anything else that uses php/mysql on this box?

    If a dive into php.ini is required - I configured php on my windows machine running apache. I used a how to on the web to step through the settings, which aren't that many really. I don't know your host - do you have access to that?

    HTH

  13. #13

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: php help

    Your PHP installation doesn't have MySQL support. You (or your sysadmin) needs to recompile PHP and use the '--with-mysql' make flag.

  14. #14

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    132

    Re: php help

    my host is Ace Web Hosting and they provide mysql and php. I also have access to the control panel, but lack the knowledge to configure it (I've sent the company an email requesting a little 'advice', but as the hosting is only £35 a year, I don't expect a lot).
    I'm trying it locally as a walkthrough first via IIS. I have mysql and php5 installed and running locally, but not apache - is this mt error?
    beeswax

  15. #15
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,987
    Thank Post
    275
    Thanked 52 Times in 46 Posts
    Blog Entries
    2
    Rep Power
    48

    Re: php help

    I've had problems with php5, and stick with 4.



SHARE:
+ Post New Thread
Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •