Using php-cgi.exe works but using php.exe does not???

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
justcause
-


Joined: 09 Jul 2004
Posts: 13

PostPosted: Mon Aug 23, 2004 6:33 am    Post subject: Using php-cgi.exe works but using php.exe does not??? Reply with quote

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 View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Mon Aug 23, 2004 7:00 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
justcause
-


Joined: 09 Jul 2004
Posts: 13

PostPosted: Mon Aug 23, 2004 6:51 pm    Post subject: Reply with quote

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 View user's profile Send private message
aprelium-beta
-


Joined: 24 Jun 2004
Posts: 383

PostPosted: Mon Aug 23, 2004 8:07 pm    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
justcause
-


Joined: 09 Jul 2004
Posts: 13

PostPosted: Tue Aug 24, 2004 9:07 am    Post subject: Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group