Jump to content
The Uniform Server Community

Krienas

Member
  • Posts

    6
  • Joined

  • Last visited

Previous Fields

  • Main OS
    Windows 8

Profile Information

  • Gender
    Male

Krienas's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hey, it really works! Thanks for sharing.
  2. Hello, I am in trouble with APC. Am using UniServer Zero XI 11.0.3. When I enable APC as accelerator in all pages I get spammed by PHP notifications. Example of notifications: Notice: Unknown: 1. h->opened_path=[null] h->filename=[C:/Server/11_0_3_ZeroXI/UniServerZ/home/us_splash/index.php] in Unknown on line 0 Notice: Unknown: apc_cache_find [1545551694] in Unknown on line 0 Notice: Unknown: 2. h->opened_path=[C:\Server\11_0_3_ZeroXI\UniServerZ\home\us_splash\index.php] h->filename=[C:/Server/11_0_3_ZeroXI/UniServerZ/home/us_splash/index.php] in Unknown on line 0 Notice: Unknown: apc_cache_make_file_entry: entry->data.file.filename is [C:\Server\11_0_3_ZeroXI\UniServerZ\home\us_splash\index.php] in Unknown on line 0 Notice: Unknown: Inserting [C:\Server\11_0_3_ZeroXI\UniServerZ\home\us_splash\index.php] in Unknown on line 0 All my research ends up with conclusion that APC is compiled with internal debuging set ON. If that is a case, can we get APC with it switched off? Or maybe there is different problem? Apache 2.4.7 VC10 openssl-1.0.1ePHP : 5.4.19-5.4.23APC 3.1.14
  3. Krienas

    Mbstring Problem

    I think you should be looking at C:\UniServer\usr\local\php\php-cli.ini. Enable extension there and test. That can solve your issue.
  4. Everytime I visit frontend my PEAR configuration gets reset to default values. Why do you do that? The code which is executed each time frontend is accessed ([us_root]/home/us_pear/index.php): $arr['temp_dir'] = $us_pear_folder.'\temp'; $arr['bin_dir'] = $us_pear_folder; $arr['php_dir'] = $us_pear_folder.'\PEAR'; $arr['doc_dir'] = $us_pear_folder.'\PEAR\docs'; $arr['data_dir'] = $us_pear_folder.'\PEAR\data'; $arr['test_dir'] = $us_pear_folder.'\PEAR\tests'; $arr['cache_dir'] = $us_pear_folder.'\PEAR\cache'; $arr['php_bin'] = $us_pear_folder."\\"; $arr['download_dir'] = $us_pear_folder.'\temp\download'; $arr['php_ini'] = $path_array[0].'\usr\local\php'; $arr['www_dir'] = $us_pear_folder.'\www'; $arr['cfg_dir'] = $us_pear_folder.'\cfg'; And this code shows other possible problems: 1) why php_dir is being set to PEAR? If I understand the purpose of this setting correctly, for UniServer it should point to the same location as php_ini. 2) why php_bin do not point to UniServer's php binary? That location and name of binary is known for you as you control layout. And this screws packages installed. For example CodeSniffer's BAT file content looks like this: @echo off REM [rems skipped] "C:\UniServer\home\us_pear\" -d auto_append_file="" -d auto_prepend_file="" -d include_path="'C:\UniServer\home\us_pear\PEAR'" -f "C:\UniServer\home\us_pear\phpcs" -- %* instead of @echo off REM [rems skipped] php -d auto_append_file="" -d auto_prepend_file="" -d include_path="'C:\UniServer\home\us_pear\PEAR'" -f "C:\UniServer\home\us_pear\phpcs" -- %* or @echo off REM [rems skipped] "C:\UniServer\usr\local\php\php.exe" -d auto_append_file="" -d auto_prepend_file="" -d include_path="'C:\UniServer\home\us_pear\PEAR'" -f "C:\UniServer\home\us_pear\phpcs" -- %* And that problem with incorrect php binary value is valid for most packages.
  5. Hello, I fail to find source code of UniServer specific components. I had an interest to take a look at implementation of UniTray in Steel-RC4. Can anybody share the link where source code is managed?
  6. It is broken on windows 7 too. The same issue I think. Installs but fails to start.
×
×
  • Create New...