cerberus82 Posted September 27, 2019 Report Share Posted September 27, 2019 Hi there, i'm trying to build up a wiki server and ran into the following problem: I'm running Win 10 pro (in a Virtual Machine)setted up an Uniform Server XIIIinstalled a wiki (dokuwiki) as long as the Uniform Server runs as a regular App, everything is working fine.i can access and edit it even from other machines... as soon as i install it as a service with Uniservice 2.2.0all browsers don't show the wiki website anymore when accessing it, but the php document as plain text. when i configure UniformServer as Service in the first place (without any content)it seems to work and i can access UniformServer's default website.when i then try to install the wiki on the webserver (already running as a service)the wiki setup gives an error message that my webserver does not support PHP. what am i doing wrong here?any suggestions? Thx in advance Quote Link to comment Share on other sites More sharing options...
cerberus82 Posted September 27, 2019 Author Report Share Posted September 27, 2019 here the default's index.php outputas app, and as service... help highly appreciated Quote Link to comment Share on other sites More sharing options...
sudeepjd Posted September 28, 2019 Report Share Posted September 28, 2019 The problem seems to be with the php.conf file where the relative paths are not being changed to the absolute paths as required by the Service. A fix for this is as follows. 1. In the core/apache2/conf/httpd.conf file On line 9, Change the Define None to Define php72 or Define php 73, depending on which PHP version you want to use.2. Under core/apache2/conf/extra_us folder, open the corresponding php7*.conf file. Or you can make changes to both of them.3. Wherever there is a ${US_ROOT} , replace it with the absolute path of your server location.4. Where there is ${PHP_INI_SELECT}, replace it with php_development.ini (or) php_production.ini depending on which file your require. Save the file, and stop and again start the Apache Service from the UniService Controller. Your website should now load as normal. If this still does not work, please let me know and I can see what I can do to help. Regards,Sudeep. Quote Sudeep D'SouzaDeveloper at UniformServerThe Uniform Server | My Paper Napkin Collection Link to comment Share on other sites More sharing options...
sudeepjd Posted October 5, 2019 Report Share Posted October 5, 2019 The latest version of Uniform Server XIV with the UniService 2.3.0 has not this problem fixed. Thank you for bringing it to our notice so that we could fix it. Quote Sudeep D'SouzaDeveloper at UniformServerThe Uniform Server | My Paper Napkin Collection Link to comment Share on other sites More sharing options...
gregkotsaftis Posted August 4, 2020 Report Share Posted August 4, 2020 hello. i know this is old topic but UniService 2.3.0 corrupts my selected php ini when executing "apache service test" is says: Installing the 'us_apache_1' service The 'us_apache_1' service is successfully installed. Testing httpd.conf.... Errors reported here must be corrected before the service can be started. Removing the 'us_apache_1' service The 'us_apache_1' service has been removed successfully. in my php ini (in which I have prior enabled openssl from unicontroller), now says: ... extension_dir = "C:/UniServerZ/core/php56/extensions" extension=php_openssl.dll ... when i try to test my page, it fails and windows event log shows: php[9816] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/UniServerZ/core/php56/extensions\php_openssl.dll' - The specified module could not be found. (C:\UniServerZ\core\apache2\bin\httpd_z.exe -d C:/UniServerZ/core/apache2) as you can see the path is wrong. This is the case ONLY for any prior ENABLED dll. Quote Link to comment Share on other sites More sharing options...
sudeepjd Posted August 9, 2020 Report Share Posted August 9, 2020 May I know what is wrong with the path? Looks correct to me. In general php_openssl.dll is stored in the C:/UniServerZ/core/php56/extensions directory. Can you please check where your php_openssl.dll is stored and let me know so that I can see the difference between the correct path and the one UniformServer is providing. Thanks. Quote Sudeep D'SouzaDeveloper at UniformServerThe Uniform Server | My Paper Napkin Collection Link to comment Share on other sites More sharing options...
gregkotsaftis Posted August 12, 2020 Report Share Posted August 12, 2020 I use php 5.6, both dlls are at: C:\UniServerZ\core\php74\extensions\php_openssl.dll C:\UniServerZ\core\php56\extensions\php_openssl.dll part of apache error log when i use uniservice [Wed Aug 12 09:07:44.619277 2020] [mpm_winnt:notice] [pid 5364:tid 688] AH00418: Parent: Created child process 5132 PHP Warning: PHP Startup: Unable to load dynamic library 'C:/UniServerZ/core/php56/extensions\\php_curl.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:/UniServerZ/core/php56/extensions\\php_openssl.dll' - The specified module could not be found.\r\n in Unknown on line 0 [Wed Aug 12 09:07:45.026827 2020] [mpm_winnt:notice] [pid 5132:tid 2516] AH00354: Child: Starting 150 worker threads. instead, when i use UniController i get no error and pages work as intended. Quote Link to comment Share on other sites More sharing options...
Zian Posted January 2, 2022 Report Share Posted January 2, 2022 When I ran uniservice 2.3.0, it also failed to configure httpd.conf and php80.conf. After following the instructions to manually fix httpd.conf and php80.conf, the phpinfo() page reported that it didn't know what configuration (INI) file to use and other things like extensions didn't work right. I was able to get them working by replacing US_ROOTF in the PHP INI file too. Any chance of getting uniservice fixed? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.