View previous topic :: View next topic |
Author |
Message |
justcause -
Joined: 09 Jul 2004 Posts: 13
|
Posted: Mon Aug 23, 2004 6:33 am Post subject: Using php-cgi.exe works but using php.exe does not??? |
|
|
OK Im using php 5.0 on windows xp pro. For some reason when I setup the abyss web server and use C:\PHP\php-cgi.exe as the PHP interpreter everything works fine.. But for some weird reason if I use C:\PHP\php.exe php will not work... I tried using the simple phpinfo.php script to test the server and NOTHING! I keep getting ERROR 500 page cannot be displayed?!?!
Anyone know what the deal is with that? I have used just the regular php.exe before and it's always worked fine. For some reason it just doesn't want to work this time around..
Whats the advantage/disadvantage of using php-cgi.exe over php.exe neways?
Thanks |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Aug 23, 2004 7:00 am Post subject: |
|
|
the new interpreter for PHP v5 is php-cgi.exe , I don't know why but it is
please use php-cgi.exe as your PHP interpreter if your using PHP v5.0.1 |
|
Back to top |
|
 |
justcause -
Joined: 09 Jul 2004 Posts: 13
|
Posted: Mon Aug 23, 2004 6:51 pm Post subject: |
|
|
REALLY?? Wow, so there is no disadvantage to using php-cgi.exe over php.exe??
I notice that in the aprelium PHP installation write-up it doesn't say to use php-cgi.exe... But you say it's ok then eh? |
|
Back to top |
|
 |
aprelium-beta -
Joined: 24 Jun 2004 Posts: 383
|
Posted: Mon Aug 23, 2004 8:07 pm Post subject: |
|
|
justcause wrote: | REALLY?? Wow, so there is no disadvantage to using php-cgi.exe over php.exe??
I notice that in the aprelium PHP installation write-up it doesn't say to use php-cgi.exe... But you say it's ok then eh? |
http://www.aprelium.com/abyssws/php.html says that you must use php-cgi.exe for PHP5 and php.exe for PHP4.
There is no disadvantage. Actually, PHP5 changed the names of PHP extcutables. php-cgi.exe is the PHP CGI interpreter and PHP is the normal interpreter (no useful in web servers.) _________________ Beta Testing Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
justcause -
Joined: 09 Jul 2004 Posts: 13
|
Posted: Tue Aug 24, 2004 9:07 am Post subject: |
|
|
aprelium-beta wrote: | justcause wrote: | REALLY?? Wow, so there is no disadvantage to using php-cgi.exe over php.exe??
I notice that in the aprelium PHP installation write-up it doesn't say to use php-cgi.exe... But you say it's ok then eh? |
http://www.aprelium.com/abyssws/php.html says that you must use php-cgi.exe for PHP5 and php.exe for PHP4.
There is no disadvantage. Actually, PHP5 changed the names of PHP extcutables. php-cgi.exe is the PHP CGI interpreter and PHP is the normal interpreter (no useful in web servers.) |
Oh cool your right I MIS-READ the info the first time I looked at that tutorial, I thought it said FOR PHP-4 use php-cgi.exe but your right it does say for PHP-5 to use php-cgi.exe!
Thanks! |
|
Back to top |
|
 |
|