Adding a new custom module to fog/services
-
SERVER
FOG Version: 1.4.3
OS: Ubuntu 16.04 Server LTSCLIENT
Service Version:
OS: Windows 10I have a new .php module I want to install — I have put it next to the others in packages/web/service, but I don’t want to re-install fog in order to load this. Is there a better way to install this?
-
@thebrennan47 Just for clarity you wrote your own php page to do something else, is that right?
Placing the php in the file path should be all that is needed. Its possible with the FOG rewrite rules apache may not see your new php page. As a test place this php in the /var/www/html/fog directory and see if you can access it.
-
Thanks @george1421
I went ahead and moved the php — but I am now getting http 500. I rebooted the fog server to see if that would resolve it but it doesn’t look like it did
-
@thebrennan47 The 500 error indicates you have an issue in your php.
You might want to review the apache error log to see if it will give you a clue to the issue.