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.

PHP

Please post all PHP help and support topics here.

  1. I want to update some old scripts that were made in the php 4 days, compatible with newer versions like 5, 7 and 8.

    • 2 replies
    • 1.9k views
  2. Hi all, I have successfully installed the Uniform Server on my WinXP machine. Then I installed PEAR - I had the common fatal error regarding the PEAR class, which I fixed by upgrading the go_pear script as shown elsewhere on this forum. Now I want to try the symfony framework and tried to install it as directed here, using the pear channel-discover feature. so I opened a DOS shell and navigated to W:\home\admin\www\plugins\pear , then entered the pear channel-discover pear.symfony-project.com unfortunately I got this strange error: W:\home\admin\www\plugins\pear>pear channel-discover pear.symfony-project.com ""W:\home\admin\www\plugins\pear\"" isn't rec…

    • 6 replies
    • 16.8k views
  3. Started by sjm,

    Good evening, I'm using Uniform Server ZeroXIII and would like to update PHP version from 7.3 to 7.3.26. I've copied the files over, but it's still showing the old version and also says MySQLi module is missing when i open phpmyadmin, but the module is there. Any help would be much appreciated

    • 1 reply
    • 6.3k views
  4. Started by desbest,

    I'm using Uniform Server with PHP 7.2 and upon running a php page I made I get this error. Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() When I try to enable the mbstring php module (and other modules) through the graphical user interface I get this. So when I do it manually, my php_production.ini looks like this. I have used Uniform Server to select that php settings file. extension=gd2 extension=mbstring extension=exif ; Must be after mbstring as it depends on it extension=mysqli So why do I still get the error if I have enabled the modules manually via the text ed…

    • 2 replies
    • 2.8k views
  5. Started by Euphoria,

    Hi there, Sorry if this has been asked a million times, I have searched and searched but to no avail (bar a post of another forum from 2012) I have always used Uniform server with little to no problems, however I've come across a situation where I need to handle a large integer for math. The production environment for it is 64-bit so not a problem and as such I don't want to use a separate library just to solve this issue. Does Uniform server come in any sort of x64 Apache/PHP flavours? Or has anyone modified it to work? Thanks in advance

    • 2 replies
    • 4.9k views
  6. Started by CScotty,

    I've installed Uniform Server XIV which comes with PHP7.4. I need to switch to PHP7.3 but the option is greyed out. I downloaded the 7.3 binaries, named the folder php73 to a address that issue. However Apache is not happy and won't run. Are there additional steps I need to take? PS: I did notice 1) The php.ini files needed renaming. 2) Added this line to php.ini extension_dir = "${US_ROOTF}/core/php73/extensions" 3) Renamed the 'ext' folder under PHP73 to 'extensions' but that didn't help. BTW nothing in the apache logs.

    • 1 reply
    • 5.8k views
  7. What am I doing wrong? spaces are not allowed Please correct and run again

    • 1 reply
    • 42.3k views
  8. Started by marcovtwout,

    I see that there are no incremental PHP releases for Uniserver in the last 2-3 months, when are they expected? (PHP is on 7.1.3 while Uniserver is still on 7.1.1)

  9. Goodmorning everyone, I have the version uniserver zero XIV and unicontroller XIV I would like to install composer. With the composer windows installation I selected C: \\ UniServerZ \\ core \\ php74 \\ php.exe for php. gives me the following errors: Program Output: PHP Warning: PHP Startup: Failed to load ./extensions\\php_curl.dll, The specified file could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Failed to load ./extensions\\php_mysqli.dll, The specified file could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Failed to load ./extensions\\php_openssl.dll, The specified file could not be found. in Unknown on lin…

    • 1 reply
    • 14.2k views
  10. Started by aysseline,

    I'm waiting for update on US for 2018-19 because last update are old 2017 I need latest actual PHP version because I use it online but offline I use US. How can we make a new version for US ? or when there is new updates of US itself : apache 2.4.25 to 2.4.35MySQL 5.6.31 to 5.8 or 8.0.0mariadb 10.0.26 to 10.3.8php 7.1.1 to 7.2.10phpmyadmin 4.6.6 to 4.8.3adminer 4.2.2 to 4.6.3 Some tutorial to make our own upgrades from the auteur or the community will be a must Thanks

    • 7 replies
    • 15.5k views
  11. Started by LipESprY,

    Hello everyone! I'm from Brazil and have a problem: the PHP time is 1 hour after local server (my pc). The timezone in the php.ini file is "America/Sao_Paulo" (my correct timezone). I've found the timezone database dll to update them in https://pecl.php.net/package/timezonedb/2019.3/windows, but not works. The php is not loading the php_timezonedb.dll. Yes, I've putted it in php.ini file. Recently, Brazil abolished DST in 2019 (https://en.wikipedia.org/wiki/Daylight_saving_time_in_Brazil). But it isn't updated in this timezone database. I'm using UniServer Zero XIII with new PHP 7.4. But I've tested too with PHP 7.1 and the problem persists. …

    • 1 reply
    • 3.4k views
  12. Started by Hoo Host,

    Hi all, any input on this or even confirmation that it's an issue that others have encountered would be greatly appreciated: I just recently made the upgrade to Uniserver Zero XIII with PHP 7.0. The issue is that half my sites (mainly WordPress but that's irrelevant) keep failing with out of memory errors. These same sites worked just fine on the older Uniserver Zero XI. I have written a little script to illustrate what is happening - PHP is ignoring the set memory limit and restricting it to some amount under 408MB. It doesn't matter if it is set in the php_production.ini file, via .htaccess, or via ini_set() in the php script itself. As you can see from the phpinfo.ht…

    • 4 replies
    • 6.8k views
  13. Started by Alfred,

    Hello Fresh installation of US 13.4.0. Selected PHP 73; activated php_curl.dll; but throws error after starting Apache. "SSL_CTX_set_post_handshake_auth not found in DLL-file D:\uniserver\core\php73\extensions\php_curl.dll" Any ideas? Thanks!

    • 7 replies
    • 6.2k views
  14. I install all php version (5.3 to 7.4) as well as the UniController 13 from Uniform Server's sourceforge project page. But the php version 5.3, 5.4 and 5.5 didn't appears from php selector menu. I'm on Windows 7 sp1 32bit. Any change to solve this?

  15. Started by arfa,

    Hi, A new user - switching from easyPHP. So far it all looks sweet; thanks. I couldn't see a folder for general questions. Issue #1 - I downloaded to my /temp folder and, not realizing sequence, ended up installing US there. How can I change dir? I tried unpacking into another folder but it still defaults to /temp/UniserverZ Issue #2 - I am looking to run a CMS. On load it complains that... > PHP Curl (Data Transfer Library) is not installed > PHP OpenSSL (Secure Sockets Library) is not installed I looked under documentations>plugins CURL There are various curl downloads but I wonder if you have any suggestion - 1 - where best to download - in relation to…

    • 1 reply
    • 6.2k views
  16. Started by Wizard,

    PHP 7.2 is around the corner and the current controller doesn't recognise it, because "Select PHP version" menu has hardcoded values up to PHP 7.1. I tried to manually edit "us_user.ini" to have the line "PHP_SELECT=php72", but it didn't work. Besides, PHP 7.2 needs VC++ 2017 runtime and "PHP Modules Enable/Disable" wouldn't work anyway because the syntax in module loading is changed ("extension=gd2" instead of "extension=php_gd2.dll"). So, current controller needs modification for PHP 7.2. Taking in fact that no update has been made for many months, is support for PHP 7.2 going to happen or should I look for other software? I understand if the project is frozen indefinit…

  17. Started by aducom,

    Hi, I'm currently working on a php development tool which is build in lazarus. I found out that the controllertool was build in lazarus, at least version xi was as it was distributed with the source code. I would like to be able to access some functions from this tool, be able to start/stop the webserver and database and change php versions on the fly. There are a few options, I can try to replicate the functions and embed it in the tool I'm developing; I can apply a service layer on the tool so I can control it from outside (with synapse that's not too hard); I could change code so that you can start the controller more-than-once, but if it's already running only p…

    • 1 reply
    • 5.3k views
  18. Hi, I'm running UniServer Zero XIII 13.3.2 with PHP 5.6.30 to run an old Moodle 2.7 site. Moodle 2.7 requires php_curl (among other extensions) which I can configure in UniServer and when I run the Moodle site, the Site Administration > Server > Environment confirms that all required php extensions (including curl) are all OK. I then stop the Apache and MySQL servers in UniServer Zero and install and run both as a service using UniService.exe (UniService XIII 2.2.0). Everything installs, Moodle runs but the same environment check says: php_extension curl must be installed and enabled The cURL PHP extension is now required by Moodle, in order to communicate…

  19. Started by desbest,

    When I install Uniform Server the php mail() function doesn't work as no emails are sent. How do I make it so that all php mail() is routed through an SMTP server I specify?

  20. Hi Guys, I have the latest version of Uniserver ZeroXL installed and running. I've transferred across from XAMPP and I wanted something lighter and less bloated. The only issue I'm having is that one of my PHP scripts relies on curl and GD to pull images from my IP camera, sadly I cannot get this to work using Uniserver - it works fine with the default install of XAMPP. The message displayed is attached, I've also ensured that both curl and GD are ticked under PHP modules. Any help getting this resolved would be greatly appreciated, I've spent hours googling around and trying various things with no luck... I also tried the following code in check.php and it just…

    • 3 replies
    • 6.1k views
  21. Started by desbest,

    When I enter "php -v" in command prompt after adding the php folder to the PATH, a window appears saying "CLI has stopped responding". php crashes. Below is what event viewer says. Faulting application name: php.exe, version: 7.1.1.0, time stamp: 0x587fb9fe Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0xc00000fd Fault offset: 0xffe22560 Faulting process ID: 0x2784 Faulting application start time: 0x01d2ef5b083f63c5 Faulting application path: C:\Users\user\Documents\UniformServer\core\php71\php.exe Faulting module path: unknown Report ID: a84b481c-5b4e-11e7-82a8-38b1dbf6d8ea Faulting package full name: Faulting package-relativ…

    • 0 replies
    • 3.5k views
  22. Hi! My computer recently died. I hosted my personal-learning MediaWiki within uniform server to help guard against this type of problem for years (thanks!) - so I simply pulled the files across to the new computer.... Uniform server ran fine with the browser showing the home page of localhost.When I pointed it to my wiki, the browser sat "Waiting for localhost..." then finally returned: HTTP ERROR 500Looking into the Apache Error Log, I saw: PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\\Users\\Kevin\\Documents\\USB\\Wikis\\UniServer\\www\\insightswiki\\includes\\db\\Database.php on line 459This is the first time I've had this type of error. Noth…

    • 0 replies
    • 4.3k views
  23. I'm trying to install an extension, specificaly php_sqlsrv_53_ts.dll (which is necesary to work with SQL server), i leave it in the folder C:/Users/Sincron/Desktop/UniserverAndroid/UniServerZ/core/php71/extensions (where the rest of the extensions dll's are) and add this line to the php_production.ini (i.e. the mode i'm using to work) now, that doesn't seem to work, the log keep sending the error than can't find it so i change it to this: and also, i tried this: and still this was of no use at all, this is the error who is showing in the Error Log of apache (both errors are being shown here) Maybie it's me, but i think somebody screw it over when writ…

    • 0 replies
    • 7.3k views
  24. Started by rustyp,

    Where do I find the php plugins so I can install to 13_3_1_ZeroXIII.exe ? I found php 4 I am looking for php 5.4 I followed a link in the manual to the plugins but cant find any. Thanks.

    • 1 reply
    • 6.4k views
  25. Started by Rarst,

    Updated to version 12 and seems PHP 7 lacks APCu binary. From what I gather in docs APCu is available for PHP 7 in general. Is it going to be provided again or there are reasons it can't / won't be?

    • 2 replies
    • 5.1k views

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.