Line 22: |
Line 22: |
| | | |
| signal-event ibay-modify owncloud | | signal-event ibay-modify owncloud |
| + | </nowiki> |
| | | |
− | you need to allow the "allow_url_fopen" | + | you also need to allow the "allow_url_fopen" |
| | | |
| + | <nowiki> |
| mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf | | mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf |
| nano /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99allow_url_fopen | | nano /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99allow_url_fopen |
| + | </nowiki> |
| | | |
− | paste this in nano and save this | + | and paste the following and save this |
| | | |
| + | <nowiki> |
| <Directory /home/e-smith/files/ibays/owncloud/html> | | <Directory /home/e-smith/files/ibays/owncloud/html> |
| php_admin_flag allow_url_fopen on | | php_admin_flag allow_url_fopen on |
| </Directory> | | </Directory> |
| + | </nowiki> |
| | | |
− | then | + | then enter on the console: |
| | | |
| + | <nowiki> |
| expand-template /etc/httpd/conf/httpd.conf | | expand-template /etc/httpd/conf/httpd.conf |
− | /etc/init.d/httpd-e-smith restart</nowiki> | + | /etc/init.d/httpd-e-smith restart |
| + | </nowiki> |
| | | |
| 4. Create a new database in MySQL, grant persmissions, set password and flush (Again, in this example the database name is owncloud) | | 4. Create a new database in MySQL, grant persmissions, set password and flush (Again, in this example the database name is owncloud) |