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 Tucker,

    Two questions, One, what version php does uniform server 3.3 is running on and two, dependent on answer, can it support PDO? SO the question is, can we update it to allow PDO to work?

    • 3 replies
    • 9.3k views
  2. Started by gratzo,

    I've searched the forum and only could find one reference to EXIF data, and the Uniform Server. A topic started in February, but not ever closed that I can tell. Currently running Windows 2000Pro, US v3.2a, and would like to capture the EXIF data - notice that this is not enabled in PHP. Is there a way to enable it? I realize that the UniformServer is kept at a minimum size with only the basics as the default install - hoping that there is a way to enable it without having to completely re-install US. Thanks in advance!

    • 4 replies
    • 27.8k views
  3. Started by brossmac,

    I'm trying to install Simple Machines Forum on my localhost but I get this error: Please inform your host that the session.save_path specified in php.ini is not valid! It needs to be changed to a directory that exists, and is writable by the user PHP is running under. I don't know how to chmod the tmp folder and I've looked all around. I'm running XP-Home (and I see at the MS site that XP-Pro and 64bit allow you to turn off "simple folder sharing"). Any ideas? Many thanks.

    • 15 replies
    • 27.5k views
  4. Started by justjames,

    When I try to do a session_start() in php I get the error: Warning: session_start() [function.session-start]: open(/home/s/serve/tmp/\sess_t1gtuh8s36jkqcc9ic6p6suse0, O_RDWR) failed: No such file or directory even though in php.ini the save path for sessions is clearly set to: session.save_path = "/tmp/" I've no idea where the /home/s/serve path thing is coming from in the first error, I've searched all the files for that string and can't seem to locate it. I haven't changed anything in my php.ini that I know of. I'm using Uniform Server [3.5-Apollo] thanks for your help...

    • 3 replies
    • 5.4k views
  5. Started by JiPER,

    Hi, I've got a problem with exceptions in PHP5. When I throw exception, it doesn't propagate through the stack and fails with unhandled exception error, when tryin to catch it somewhere else in the code. Here's example of code, which doesn't work on my Uniform Server, but it works on standard webhosting. <?php function go($number) { if ($number == 0) { throw new Exception('Zero'); } } try { go(0); } catch (Exception $e) { echo $e->getMessage(); } ?> I've got the latest version of the Uniform Server - 3.5 Apollo. Please can anyone help? Thanks.

    • 2 replies
    • 5.8k views
  6. Started by Allenh,

    In order to fully run SugarCRM we need to "IMAP c-client libraries enabled/compiled". Can anyone tell me how to do this? Really appreciate the help. Thank you. Allen.

    • 0 replies
    • 7.8k views
  7. Started by Darkr,

    Hi all, just got Uniform Server downloaded and running, very easy indeed. Although I am having a small problem with file_put_contents(). I have created a php page that generates a web site from a xml file... when I ran the script it all went ok, the files were created and could be viewed via localhost. But when I looked in the 'www' folder they didn't exsist. I finally found the files in "C:\Users\Darkr\AppData\Local\VirtualStore\Program Files\Uniform Server\udrive\www" So I have solved the problem, but I would prefer if the files went to uniform server's virtual drive or the install directory. Is this possible?

    • 2 replies
    • 5.9k views
  8. Started by Marshy,

    Hi All, I am having some major problems using cookies. Whilst developing the site on localhost I had no problems. I have configured my firewall to forward http traffic from a public IP to my machine and cookies just will not work. I have created a simple test page which consist of this: <?php $value = 'something from somewhere'; setcookie("TestCookie", $value, time() + 3600); // Print an individual cookie echo $_COOKIE["TestCookie"] . "<br>"; echo $HTTP_COOKIE_VARS["TestCookie"] . "<br>"; // Another way to debug/test is to view all cookies echo "<pre>"; print_r($_COOKIE); echo "</pre>"; ?> But no cookie is created. Can anybody tell me…

  9. Started by Fido,

    I have u 3.5 installed and have been using it happily for some time. I now have a most odd problem. I have a quite well developed website which works fine. However, yesterday I was developing some further pages and on parsing the code all I get is a blank page. I cant get even the simplest new page to parse eg <?php echo "hw"; <? If I copy a page that works, rename it and try and view in localhost I dont get any PHP but will get the html. I dont know where to look to solve this. I use PHP designer professional from mPS software as an editor.This shows no errors on debug. Does anyone have any suggestion as to what paths I can follow please?

    • 1 reply
    • 4.1k views
  10. Started by madencbm,

    I can run Uniform Server on local host but any time I try to connect to any Uniform Server URL I get the following message: "You don't have permission to access / on this server. "Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request." Additionally when I go to "version check" I get the message: "Warning: file(http://www.uniformserver.com/system/.version) [function.file]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in W:\home\admin\www\update.php on line 25" Here are the contents of Line 25 in updat.php: $available = file ('http://www.uniformserver.com/sys…

  11. Started by Mike Breiding,

    Greetings, First post here. I dowloaded UniServer3_5, and started the server but I don't know what to do from here. I dowloaded it because I wanted to be able to see PHP includes locally instead of having to upload files to see them. Have I dowoaded the appropriate software? Where do I go from here? Thanks, -Mike

  12. Started by g_nick,

    Hi I'm not a IT guy and can not fix the problem below When clicking/copy-paste to phpMyAdmin getting the following error message: Warning: require_once(./lang/hungarian-iso-8859-2.inc.php) [function.require-once]: failed to open stream: No such file or directory in W:\home\admin\www\phpMyAdmin\libraries\select_lang.lib.php on line 307 Fatal error: require_once() [function.require]: Failed opening required './lang/hungarian-iso-8859-2.inc.php' (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear') in W:\home\admin\www\phpMyAdmin\libraries\select_lang.lib.php on line 307 May I pleae ask for assistance? Thanks

  13. Started by ksg,

    Whenever I put "session_start();" in my php codes, I always encounter these warnings: I also cannot store variables in $_SESSION... and when I put "header("Location: url");", I encounter Has it got to do with Uniform Server? If possible, someone please explain this script to me, or recomend another authentication script...

  14. Started by JoeT.,

    Hope someone has some ideas.... I installed the server 2 weeks ago and all I can get is redirected to s page that says "uniform Server" there are no links to accomplish ANYTHING as in the tutorial. No database building links NOTHING at all! But a page that says Uniform server. COuld someone help me to begin to trouble shoot what the heck is going on? THe tutotrial assumes that everything works :-D TIA Joe

  15. Started by MichaelG,

    Hi, Has anyone played around with Graphviz and PHP on Uniserver? I would like to ask anyone who has installed Graphviz on Uniserver if they would be kind enough to post some step by step instructions along with a sample script that I could use to test it? Best regards Michael

    • 8 replies
    • 7.4k views
  16. Started by Chris,

    Warning PHP Startup: ldap: unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=1 PHP compiled with module API=20050922, debug=0,thread-safety=1 These options need to match Do I not have the correct versions of the libay32.dll and ssleay32.dll? I'm currently using the dll's outa the 5.2.1 release. Thanks for any help!

  17. Started by grc,

    Hello, First, let me thank you for a fine product. I have had good success using the server. I have a program which needs to have the cURL extension installed and active on the server. I seen the older past below and followed the advise of putting ssleay32.dll & libeay32.dll into the php folder and I also put them into the extensions folder but I'm still not working. I'm running server 3.3 with php 5.1.1.1 Any help is appreciated. Thanx

  18. Started by mazzer,

    How do I enable XSLT in UniServer's PHP5, e.g.: http://www.php.net/manual/en/ref.xslt.php

  19. Started by Fido,

    Hi, I have just installed the erfran server which has linked me to your forum. I am able to view the home page via localhost, but not my files which I copied into www as a folder. Accessing the path through localhost/'folder'/'file.php'/ : gives me a 404. Am I right to put my files there? I cant access localhost/test.php, either. Could some one give me a pointer. Thanks in anticipation. Fido

  20. Started by Fido,

    Has anyone expeirence of installing php nuke on the uniform server? I have the files available in the www folder but no responce at the local host. Other files work Ok. Apologies if this is outside the scope of this forum. Fido

  21. hi ive just started uniserver and put in some folders in the www folder and i can access them froom my localhost, however when i try using the machine's ip address or from another computer, access is denied and if i view the server logs i can see this message: [Thu Dec 14 19:08:47 2006] [error] [client 158.125.1.112] client denied by server configuration: W:/www/photos How can i fix this? Thanks

    • 1 reply
    • 4.5k views
  22. Started by danp84,

    I am running Uniform Server 3.3 (standard configuration) on a Windows XP platform. (This includes PHP 5.1.1.1, Apache 2.0.58 as it comes straight from the download site). There are questions all over the web that pertain to enabling the additional functionality that has been built into php5. I seem to be having the same problems as all of these people, and I'm not quite sure why the implementation of PHP extensions is so hard! Specifically, I am failing to enable Javascript properly in PHP (using the php_java.dll extension). Here is what I am doing: - uncomment php_java.dll in my php.ini file - ensure that: extension_dir = "/usr/local/PHP/extensions" - download the PE…

  23. Started by krayziehustler,

    i always get and error asking about SMTP and SMTP Port and no matter what i change in the php.ini i cant use the mail function, any help would be very much appreciated

    • 10 replies
    • 8k views
  24. Started by danp84,

    I am running uniform server 3.3 (standard configuration) on a Windows XP platform. I continue to get error messages whenever I launch the PHP CLI. The error messages say: "PHP Startup: Unable to load dynamic library '/usr/local/PHP/extensions\php_curl.dll' - The specified module cannot be found" This message is repeated for php_gd2.dll, php_mbstring.dll, php_mysql.dll, php_openssl.dll, and php_sockets.dll. Note that I have tried to enable cURL and SSL functions to interact with common api's, which is why I am doing this. All of these files are in the "/extensions" directory, and are all 5.1.1.1 versions, which is the version of PHP I am trying to run. I have also…

    • 3 replies
    • 6.5k views
  25. Started by kalpz,

    Hi.. I have read in other posts that a local mail server is required in order for PHP to send e-mails. Is it possible to use an external mail server. I use my ISP's email address, is it possible to go through my ISP's mail server?? Thanks Kalpesh

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