Results 1 to 10 of 10

Thread: how to run php program using PWS?

  1. #1

    Thread Starter
    Member mylene_vbasic6's Avatar
    Join Date
    Jan 2002
    Posts
    61

    how to run php program using PWS?

    I just wanna ask how to run a php program in my personal computer.

    I been using PWS in doing asp programming..

    I'm studying PHP programming rite now....

    Is PWS enough to run my PHP program...

    I kinda install PHP 4.3..

    I still cant find the way how to run my php program..

    Hope someone can give me a tip or know how about my problem.


    Thanks...

  2. #2
    New Member Sevengraff's Avatar
    Join Date
    Feb 2003
    Location
    California, USA
    Posts
    10
    ive heard PWS can have problems with PHP. If your using Windows NT, 2000, or XP, then I reccomend you get ePHP.

    http://php.e-novative.de/ephp.php

    it is one simple file that that will automatically install PHP, MySQL, Apache, and phpMyAdmin. If your not using windows nt/2k/xp, then get the xitami server and download php, they install together very nicely and i've never had trouble with them.

  3. #3

    Thread Starter
    Member mylene_vbasic6's Avatar
    Join Date
    Jan 2002
    Posts
    61
    i'm using win 98

  4. #4
    New Member Sevengraff's Avatar
    Join Date
    Feb 2003
    Location
    California, USA
    Posts
    10
    Ok, then I reccomend you go download the Xitami Server for http://www.xitami.com and install it first. (if i remember right, you want the "Win 95 vanilla" version).
    After you install Xitami, get the php windows isntaller from php.net, and durring the install, pick Xitami as your server. once its all done, you should be able to run php scripts off your computer.

  5. #5

    Thread Starter
    Member mylene_vbasic6's Avatar
    Join Date
    Jan 2002
    Posts
    61
    i try that..gonna download that one now...ty

    i will let u know wat happen after the download...


    ty again

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    I've got Windows 98, PWS and I'm running PHP on it without too many problems.

    I don't think you need Xitami as another web server. You can just download the PHP binary from php.net, and during the installation wizard, it will ask you which web server you would like to configure. Simply point out PWS, and you're done.

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    I've got Windows 98, PWS and I'm running PHP on it without too many problems.

    I don't think you need Xitami as another web server. You can just download the PHP binary from php.net, and during the installation wizard, it will ask you which web server you would like to configure. Simply point out PWS, and you're done.

  8. #8
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    www.php.net/downloads.php

    PHP 4.3.0 installer [1,028Kb] - 27 December 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)
    This is the one.

  9. #9

    Thread Starter
    Member mylene_vbasic6's Avatar
    Join Date
    Jan 2002
    Posts
    61
    i already install that Php-installer mendhak....

    i specify the i'm gonna use PWS..but when i run my program..

    http://localhost/php/index.php

    the php folder is located in my wwwroot folder...

    i got this following error..


    HTTP Error 403
    403.1 Forbidden: Execute Access Forbidden

    This error can be caused if you try to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.

    Please contact the Web server's administrator if the problem persists.



  10. #10
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by mylene_vbasic6
    i already install that Php-installer mendhak....

    i specify the i'm gonna use PWS..but when i run my program..

    http://localhost/php/index.php

    the php folder is located in my wwwroot folder...

    i got this following error..


    HTTP Error 403
    403.1 Forbidden: Execute Access Forbidden

    This error can be caused if you try to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.

    Please contact the Web server's administrator if the problem persists.


    Open up PWS

    Click on "Advanced"

    Right click on your Home Directory (Or any other virtual directory in which you want to execute PHP pages)

    In the edit properties window, "read" "execute" and "scripts" should all be checked.

    You should now be able to run your PHP pages.

    HTH

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