Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

change server api to CGI

Featured Replies

I'm trying to change the apache server to run in CGI application mode

so this:

Server API Apache 2.0 Handler

needs to read this way:

Server API CGI/FastCGI

I believe this is the correct way of wording what I need :D 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 loaded

modules 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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.