We developed a site on a PC and loaded all the files to the server via FTP. We are getting a server error 500. We are running PHP Version 5.4.43 on hostmonster.com The main site on the server is running wordpress. The server is setup that all extra domains are in subfolders. MAIN-DOMAIN/public_html/ADDON-DOMAIN/
This is from the error log:
Warning: PHP Startup: Unable to load dynamic library ‘/usr/php/54/usr/lib64/php/modules/imagick.so’ - /usr/php/54/usr/lib64/php/modules/imagick.so: undefined symbol: zend_new_interned_string in Unknown on line 0
PHP Notice: Use of undefined constant DIR - assumed ‘DIR’ in /home1/mydomain/public_html/mysubfolder/index.php on line 6
PHP Warning: require(DIR/kirby/bootstrap.php) [function.require]: failed to open stream: No such file or directory in /home1/mydomain/public_html/mysubfolder/index.php on line 6
PHP Fatal error: require() [function.require]: Failed opening required ‘DIR/kirby/bootstrap.php’ (include_path=’.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear’) in /home1/mydomain/public_html/mysubfolder/index.php on line 6
What can we do to fix this?