elshaddi Posted July 30, 2007 Report Share Posted July 30, 2007 I'm trying to change the apache server to run in CGI application modeso this:Server API Apache 2.0 Handler needs to read this way:Server API CGI/FastCGII believe this is the correct way of wording what I need I'm trying to run php serial extensions and it requires the apache server to run in cgi mode.snip from the installation guide:Load it and look for information under Server API line (should be CGI/FastCGI),Configuration File (php.ini) Path line; also win_serial_port module should appear in loadedmodules list.To change how PHP is running, open Apache configuration file, example (change path):C:\Apache\conf\httpd.conf Comment this line:#LoadModule php5_module "c:/Php/php5apache2.dll" And add 2 new lines:ScriptAlias /php/ "c:/php/"Action application/x-httpd-php "/php/php-cgi.exe" Save, and very important, restart Apache.I can't add the php-cgi.exe because uniform doesn't seem to come with it. I added it, then just added the lines above and well, it didn't like that :angry:Any ideas?Thanks! Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted July 31, 2007 Report Share Posted July 31, 2007 Download PHP and get the file from the main PHP Download. Get it from www.php.net. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.