Results 1 to 24 of 24

Thread: Mendhak's first question too

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Thumbs up Mendhak's first question too

    I'm about to start learning PHP, for which I'll need

    Apache Server
    some db: mySQL
    a PHP compiler (<--- is this correct?)

    1. At present, I have PWS installed on my machine, and I work with ASP. Will there be a problem if I get Apache? If so, what should I do about it?

    2. Do I need a PHP compiler, or will Apache do the compiling for me?

    3. Are there any PHP editors out there? Like there is Visual InterDev for ASP.

    Thanks.

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    If you don't want to set up a server just for testing pages you can use HTML-Kit to parse your pages, as long as you have the php exe on your PC somewhere. There's an option in the, erm options, that lets you specify the path of it. Not sure if it copes with DBs or all the PHP stuff, but it does what I need it too.

  3. #3
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Re: Mendhak's first question too

    Originally posted by mendhak

    1. At present, I have PWS installed on my machine, and I work with ASP. Will there be a problem if I get Apache? If so, what should I do about it?

    2. Do I need a PHP compiler, or will Apache do the compiling for me?

    3. Are there any PHP editors out there? Like there is Visual InterDev for ASP.
    2. You'll need to download PHP (unless you do what Rick was talking about) from www.php.net

    3. There's oodles of them and many threads about them here. I use Notepad and sometimes Edit+.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Thanks for the replies.

    I'm leaning towards the idea of making this a PHP server. So, if I install Apache on this PWS Server, will it cause problems?

  5. #5

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Where do I get the "php.exe" Rick Bull is referring to?

  6. #6
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    http://www.php.net/downloads.php I think. I think I just unzipped the file into a folder in Program Files, and referenced it in HTML-Kit and it all works.

  7. #7
    Lively Member technitaes's Avatar
    Join Date
    Oct 2002
    Location
    Tennessee, USA
    Posts
    112
    I've been looking at moving from ASP to PHP myself. From everything I've read, Apache and PWS can enhabit the same PC, but they canNOT both run simultaneously. I haven't tested this, but it seems to be the way everything reads.

  8. #8
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    I've made the leap from ASP to PHP..... currently I run a Win2K IIS machine w/ PHP on top of it..... works great! Haven't had the change to get Apache yet and install it, I'll proly do that on my next machine. Technitaes is right, only one web server can be running at a time -- there would be conflict in which server would handle the request. I think it should be as simple as turning off PWS and starting the Apache process.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  9. #9

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Techgnome, thanks for that info. I see it'll be a little manual, but what the hey.

    Somebody tell me which one I want from http://php.net/downloads.php

    I'm too stupid to figure out what I want


    Complete Source Code
    PHP 4.2.3 (tar.bz2) [2,694Kb] - 6 September 2002

    PHP 4.2.3 (tar.gz) [3,334Kb] - 6 September 2002


    Windows Binaries (***??)

    All Windows binaries can be used on Windows 95/98/Me and on Windows NT/2000/XP.

    PHP 4.2.3 zip package [5,417Kb] - 6 September 2002
    (CGI binary plus server API versions for Apache, Apache2 (experimental), ISAPI, NSAPI, Servlet and Pi3Web. MySQL support built-in, many extensions included, packaged as zip)

    PHP 4.2.3 installer [921Kb] - 6 September 2002
    (CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)

  10. #10
    Lively Member technitaes's Avatar
    Join Date
    Oct 2002
    Location
    Tennessee, USA
    Posts
    112
    I would suggest...

    PHP 4.2.3 installer [921Kb] - 6 September 2002
    (CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)

    ...for starters. But considering I'm a "newbie" myself...

  11. #11
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    Originally posted by mendhak
    Techgnome, thanks for that info. I see it'll be a little manual, but what the hey.

    Somebody tell me which one I want from http://php.net/downloads.php

    I'm too stupid to figure out what I want

    What you want is the installer for the Windows binaries (as opposed to just the source code - the binaries is the compiled DLLs and EXE)
    PHP 4.2.3 installer [921Kb] <- This is the one.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  12. #12
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    One thing I did find, even though it configures IIS and PWS, it doesn't modify the default domunet listing (index.htm, index.html, default.htm, index.html, etc).... I had to add index.php by hand.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  13. #13
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Guys... I have IIS and Apache on my computer. I have Apache at port 81 and IIS at port 80. They run like a dream
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  14. #14
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    don't get the installer, you want the zipped package.

    PHP 4.2.3 zip package [5,417Kb] - 6 September 2002
    (CGI binary plus server API versions for Apache, Apache2 (experimental), ISAPI, NSAPI, Servlet and Pi3Web. MySQL support built-in, many extensions included, packaged as zip)


    also I might suggest getting apache 1.3 as apposed to apache2.0

    php has problems with running on apache2.0

    the reason you don't want the installer is that you can't control the ini file. there is some things you have to do with the zip but it isn't that hard. also you want the external extension as the installer doesn't come with them.

  15. #15
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    After you use the installer, just stop the server and edit the INI file.. whats hard about that?
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  16. #16
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    true but you don't get the extensions with it so it is a vanilla version. I will have to find that site that listed all the bad things that the installer did.

  17. #17
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    I ran the installer at home (non production) for what I needed (server + MySQL) it works just fine..... now if you want the additional mods, then yes, the zip is what you want...... but.... for simple PHP (esp learning PHP) I think the plain jane is just fine.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  18. #18
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    ya but the learning never stops to a vanilla version. what about GD Library or Imap or pdf making. you are missing out on all the fun stuff

  19. #19
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    That's fine and dandy IF your web host also supports those functions. At the moment I have no use for it. I nthe future, when I do, I'll add in the mod, recompile and load it up.... no biggie.

    It's just like learning w/ any other language.... you have to start somewhere.... the more you learn, the more you branch out and pick up new tools/components/objects/extensions.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  20. #20
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    you are going to compile php on a windows machine when you don't have to? more power to ya

    see if you start with the full package the you don't have to worry about it later.

  21. #21

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

  22. #22
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by phpman
    also I might suggest getting apache 1.3 as apposed to apache2.0

    php has problems with running on apache2.0
    I've never had any problems.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  23. #23
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    I never could get it installed and according to php that 4.2.3 on Apache2 is (experimental).

    I had a lot of errors and Apache wouldn't even start. if you run it as a module only (Isapi), the cgi version is ok as I have it running now.

    still 4.3 is more geared to apache2.0


    plus found another bug in 4.2.3, it strips the first 4 characters form strings. very well known bug and it messes with phpmyadmin.

  24. #24

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Uhm... I am sufficiently confused.

    I'll go for the ZIP version (9MB)... no the installer... uhm... I'll flip a coin...

    By Sastraxi
    Guys... I have IIS and Apache on my computer. I have Apache at port 81 and IIS at port 80. They run like a dream
    Can you tell me the procedure for doing this?

Posting Permissions

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



Click Here to Expand Forum to Full Width