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. Started by Ric,

    Just wondering if any one has used PHP 5.3.0RC2 on Uniform Server. If so what problems if any have you encountered? I have integrated it into a test version of Mona 4.2, noticed it breaks a small portion of Apanel! Not a major issue. It subjectively feels more responsive, difficult to explain that statement. I cannot run eAcellorator since there are no current binaries for it. That said without this it looks faster I assume eAccelerator will only enhance speed. At long last it looks like libmysql.dll will not be included! You need to use the one supplied by MySQL. The version I am testing is MySQL 5.1.34; ace no issues. I have been testing PHP 5.3.0RC2 CLI, it a…

    • 4 replies
    • 5.7k views
  2. Started by Pont,

    Hi! I tried the PDO-fix found here (using php-5.2.9-2-Win32.zip, couldn't find the -1 version of that file) and it worked perfectly. However - when I open phpMyAdmin and try to view a database the server crashes. If I restore the libmysql.dll to the older version phpMyAdmin works as it should, but PDO doesn't. Is there something more I need to do to make it work? /Pont

    • 2 replies
    • 5k views
  3. Started by agath01,

    I'm taking a course in PHP and my instructor suggested Uniform Server. For some reason when I type the path to my root directory. I type this in my browser: http://localhost/z:/allinone.php and I get: Forbidden You don't have permission to access /z:/allinone.php on this server. I am new to uniform server and I am so lost please help.

    • 3 replies
    • 6k views
  4. Started by chopcow,

    Now that I have Uniform Server, I was excited at the prospect of being able to edit PHP code and see the parsed results by quickly clicking CTRL+B in EditPlus. However, it doesn't work, because it doesn't default to localhost/phpfile.php Anyone know of some way to configure EditPlus to get it to automatically goto localhost so I can see a preview of my parsed PHP content? If not, how do most of you preview your PHP code. Any feedback is appreciated. Thanks.

  5. Started by Arska,

    What has happened. Earlier my uniserver worked fine with Dreamveaver. Now when starting uniserver it opens http://localhost/apanel/ and no page found there. I have the version 3. something. I tried to install the new 4. but same problem. The page prints: DNS-error - server not found Has Vista changed some port or where to seek the problem. The server is running but the path seems to be wrong.

    • 3 replies
    • 6.8k views
  6. Started by openg,

    I am trying to figure out how to install pdo_mysql on to my 4.1 copy of (the excellent) uniform server and am completely stuck - I guess at first base (I'm pretty new to this). I downloaded a copy that I assume needs to be compiled on a server - but cannot find out how to compile or install it on my local machine. I tried copying the files to the extensions folder and adding the lines: extension=pdo.so extension=pdo_mysql.so To my php.ini file but I think that was a bit too simplistic as pdo.so and pdo_mysql.so don't exist until I assume it has been compiled. Can anyone point me in the right direction please? Cheers all, Dom

    • 2 replies
    • 8.6k views
  7. Started by x_maras,

    Hi! I want to make a page that reads an xml file and presents some data. the xml is exported from a "file.exe" and also takes a parameter "param.wpf". I did it with python using the os module, but I dont know if is it possible to run an exe this way from php and also with the uniform server. If it's possible they both have to be in the server right? If you know something about this, a command or a link or an example would be great , I would be gratefull. Thanks

    • 2 replies
    • 5.7k views
  8. Started by gdunc,

    I'm glad to see the latest version of UniServer has almost all of the requirements to run Moodle 2.x. I'm thrilled to see a new version of UniServer... A couple of quick requests: Can we add the php-zip extension to the next update? I managed to get this to work in Mona by following the steps outlined at http://docs.moodle.org/en/admin/environmen...p_extension/zip Downloaded Windows Binary Zip file from http://www.php.net/downloads.php Copied the php_zip.dll file from the ext folder into W:\UniServer\udrive\usr\local\php\extensions Uncommented extension=php_zip.ini in php.ini Restart Apache Thanks for a great piece of software Oh, can someone remember to update …

    • 0 replies
    • 6.7k views
  9. Hello, After some time, I finally found out why php_curl isn't loaded in 4.0-Mona. It seems that while php and the default extensions were updated to 5.2.8, libeay32.dll and ssleay32.dll (which must reside in your path if you wish for php_curl to load) weren't. So if you're having the above issue just download php 5.2.8 from php.net and grab the relevant dll's, that fixed it for me.

    • 7 replies
    • 8.9k views
  10. Started by override,

    can some one tell me what i am doing wrong with this code config.php <?php $username = array('Admin', 'User'); $password = array('adminpass', 'userpass'); ?> index.php <?php require ("config.php"); session_start(); if ((!$username) || (!$password)) { echo '<form name=login method=post action=""> user:<input type=text name=user><br> pass:<input type=text name=pass><br> <input type=submit value=go> </form>'; } else { if($user==$username && $pass==$password) { session_register("username"); session_register("password"); echo "Congratulations &username, you have l…

    • 1 reply
    • 6k views
  11. Started by GREENie,

    Hi i was wondering if it is possible to get uniserver running with bcompiler. I could not find out how to do it.

  12. Started by PdV,

    Hi gang, I'm running some software which needs php_imap.dll, so I've uncommented the line in the PHP.ini file, but I'm getting errors in the log saying that the php_imap.dl cannot be loaded. I've checked in the PHP folders, and it doesn't appear there. Does anyone know where I can get a copy of this tht is compatible with the version of PHP running in Apollo? Many thanks, Paul.

    • 2 replies
    • 6.5k views
  13. Started by David Moises Paz,

    Hello every body, I have just downloaded the 3.5 version of uniserver and I want to use sqlite as my data base. Well, I dit a little research and it seems that I don't need to configure anything, am I rigth ? I looked in the "<uniserver-root>udrive\usr\local\php\php.ini" and all dynamic extensions are active, also check phpInfo in the panel. Ok, now to my app, I also have a xampp installed and I use ezpdo as ORM, well when my php home is set to the xampp installation the ezpdo samples work ok (the sql lite data base is created etc..) and when I set my php home to the uniserver installation (c:\uniserver\udrive\usr\local\php\) I get the following msg: c:\xa…

  14. Started by Gian_Krl0,

    I want to use my installation of Uniform Server 3.2 with my ADSL connection and the service of StacticDNS of DynDNS.com, for serve scripts in PHP4 (I've installed PHP4 plug-in). But this scripts need to have PHP4 with CULR enabled, I see in PHPinfo and I not view signs of CURL. Please, how I can install CURL and enable this for PHP4 in Uniform Server 3.2 ? Thank you very much in advance! *excuse me by my bad english*

  15. Started by mojito,

    I was interested in trying out cake php framework. I cant get the basic install to work due to .htaccess files Here is the thread over at their end http://groups.google.com/group/cake-php/br...7f7bf72d1121a68 but I tried to edit the file and it doesnt work. Still FORBIDDEN error. I'm running vista. here is my .htaccess file <Directory "/www/"> # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and impo…

    • 2 replies
    • 92.2k views
  16. Started by daniel1009,

    I don't know if this is the right place to ask this question but I don't know where that would be. I am trying to start The Uniform Server and have downloaded it. When I double-click on Server_Start.bat, it starts to load but then I wind up with a blank white screen. Any help would be appreciated. Dan

    • 1 reply
    • 4.3k views
  17. Started by hjf,

    I am trying to access MySQL using PHP. I get an error message stating access is denied for user '-uroot'@'localhost'. The '-uroot' and '-proot' worked fine in the MySQL console. Are they different if I'm accessing MySQL using PHP? Here's the part of the code where I put in username and password: <?php /* Program: mysql_up.php * Desc: Connects to MySQL Server and * outputs settings. */ echo "<html> <head><title>Test MySQL</title></head> <body>"; $host="localhost"; $user="-uroot"; $password="-proot"; $cxn = mysqli_connect($host,$user,$password); $sql="SHOW STATUS"; $result = mysqli_query($cxn,$sql); if($result == fal…

    • 5 replies
    • 7.2k views
  18. Started by raptor,

    I want to use both php4 and php5 on my Uniform Server. How can i configue US so I can use both versions? I want to use the extenstions *.php and *.php5 for my respective scripts.

    • 4 replies
    • 7.6k views
  19. Ladies and Gentlemen! I wrote an upload script with PHP that should be able to upload files with filesize up to 50MB (or more ...). Here are some lines from php.ini: max_execution_time = 3600 max_input_time = 60 memory_limit = 64M post_max_size = 50M upload_max_filesize = 50M When i upload a file with a filesize of about 3MB i get this error after 3-4 minutes: Fatal error: Maximum execution time of 3600 seconds exceeded in W:\www\upload.php on line x I don't know whats wrong. 3600 seconds should be one hour, right? Why do i get this error after 3 minutes? Can anyone help me? Don't know if its helpful: Server OS is: Win 2000 Server Uniform Server Version: 3.5 Do y…

    • 1 reply
    • 5.5k views
  20. Started by jonas,

    I have been playing around with a combination of the latest Uniserver and DotProject(latest) bu can apply graphical content through jpgraph(upgraded). The GD lib is on but I get a funny message that PHP:: date_time is called statically and have to be dynamically called upon. I haven't been able to solve this yet and am taking a break. Anybody have the same problem?

    • 0 replies
    • 7.9k views
  21. Started by jtlyles,

    Thanks for this wonderful piece of software, US has made my life much easier with such a simple testing server. However, I am trying to run the following php function to no avail. <?php include('http://waterdata.usgs.gov/nwis/current?format=rdb&site_no=01420500'); ?> Every time I try to run the include I receive a warning that states: "Warning: include() [function.include]: URL file-access is disabled in the server configuration in W:\www..." I assume there is a way to enable this function in one of the configuration files, is it in the Apche or PHP configurations? Could someone please let me know where to look and what to change? Thanks. James

    • 1 reply
    • 4.8k views
  22. Started by Sels,

    Hi. I'm using WinXP. I've created a folder and copied Uni-Server contents. After Server is started, In the apanel, I get the foll. error message: ******* Warning: include(w:/home/admin/www/includes/python.inc) [ function.include ]: failed to open stream: No such file or directory in W:\home\admin\www\navigation.php on line 23 Warning: include() [ function.include ]: Failed opening 'w:/home/admin/www/includes/python.inc' for inclusion (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear;/home/admin/www/plugins/pear/PEAR') in W:\home\admin\www\navigation.php on line 23 Warning: include(w:/home/admin/www/includes/java.inc) [ function.include ]: failed to …

    • 0 replies
    • 3.6k views
  23. Started by Jerry,

    I have uniform servier 3.5 apollo, which includes PHP 5.2.3. How do I update the PHP distribution to reference the mssql and gettext dll's? Jerry

    • 1 reply
    • 15.4k views
  24. Started by lateStudent,

    Hi everyone I am currently a student in a web programming course and we are using Uniserver for our classwork and assignments where we use PHP. I am trying to find a way to prgrammatically change the timeout setting for PHP session variables from the default value in the php.ini file (1440 secs). Using ini_set('session.gc_maxlifetime', 100); (both before and after session_start()) seems to change the timeout value as displayed using: echo ini_get('session.gc_maxlifetime'), but if I then reload the php page well after100 secs without closing the browser, all the session variables are still there with their previous values. I then manually changed the time out set…

    • 0 replies
    • 10.3k views
  25. Started by raptor,

    Cannot get mcrypt to load in appollo. I have : 1. download libmcrypt.dll and place it in \usr\local\php\extensions (also in windows\system32 and \usr\local\php) 2. added "extension=libmcrypt.dll" to php.ini 3. reboot help! or other encrypt-decrypt options.

    • 2 replies
    • 14.5k 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.