#1
  1. No Profile Picture
    Gianni
    Guest
    Devshed Newbie (0 - 499 posts)
    Hello

    I've set up Apache & mySQL fine but I can't seem to setup php3. The .ini file is in the right spot and I've followed the readme files, but nothing happens yet. I don't get an error message when viewing the .php3 page on localhost but I don't get any output...

    Any ideas ??

  2. #2
  3. No Profile Picture
    stefa975
    Guest
    Devshed Newbie (0 - 499 posts)
    You must edit your srm.conf or httpd.conf to configure Apache to work with the PHP CGI binary.

    ScriptAlias /php3/ "c:/path-to-php-dir/"
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3 .phtml
    Action application/x-httpd-php3"/php3/php.exe"
  4. #3
  5. No Profile Picture
    Gianni
    Guest
    Devshed Newbie (0 - 499 posts)
    Thanks !!

    I'll try that
  6. #4
  7. No Profile Picture
    Gianni
    Guest
    Devshed Newbie (0 - 499 posts)
    I tried that but now my Apache service
    shuts down when I try to start it.
  8. #5
  9. No Profile Picture
    guttorm
    Guest
    Devshed Newbie (0 - 499 posts)
    I also had that problem, and here is what I did:
    - Start a command prompt window
    - Go to the dir with apache.exe
    - Run apache.exe (by typing the name)

    You now see an error message indicating which linenumber in the php.ini you should look at. (You dont see this message when you run Apache from the start menu.)

    Hope this helps,
    Guttorm.
  10. #6
  11. No Profile Picture
    Gianni
    Guest
    Devshed Newbie (0 - 499 posts)
    Thanks for all the help

    I'll try that

  12. #7
  13. No Profile Picture
    Gianni
    Guest
    Devshed Newbie (0 - 499 posts)
    Okay that worked thanks, but now when I try a basic .php3 script, I get a download file window .....

    I must be doing something wrong but I don't know what ..............

  14. #8
  15. No Profile Picture
    Gianni
    Guest
    Devshed Newbie (0 - 499 posts)
    at last !!!!!

    It's working

    thanks for the help

Similar Threads

  1. Mysql problem.
    By Nik in forum MySQL Help
    Replies: 54
    Last Post: December 21st, 2006, 06:02 PM
  2. Starting MySQL
    By bwreath in forum MySQL Help
    Replies: 1
    Last Post: January 20th, 2004, 11:17 PM
  3. installing apache, php and mysql
    By lucilue2003 in forum PHP Development
    Replies: 9
    Last Post: January 8th, 2004, 09:18 AM
  4. Replies: 3
    Last Post: December 25th, 2003, 05:16 AM

IMN logo majestic logo threadwatch logo seochat tools logo