Пытаюсь поднять свое облако согласно статье:
Вроде на последнем этапе перезапуска апача он перестает запускаться, утилита apache2ctl configtest говорит следующее:
Т.е. где-то тут ошибка:
Сам в этом разбираюсь чуть более, чем никак; с автором связывался — на что был получен ответ «я в китае, тут ГК не открывается, все должно работать».
Подскажите, что и где нужно подправить?
Can anyone help??

2 Answers 2
first : line 225 is IncludeOptional sites-enabled/*.conf
maybe you have a syntax error. i was a similar error, in my case i have a syntax error in this file /etc/apache2/sites-enabled/drupal.conf
you maybe have a problem like this. so i suggest to you that run this command when you impact with a error : journalctl -xe and then check it to find a syntax error.
In terminal I want to upgrade PHP to 5.4 ( or 5.5 )
Detected OS X Snow Leopard 10.6. All ok.
Get packager.tgz
Unpack packager.tgz
Please type in your password, as we want to install this into /usr/local
Start packager (may take some time)
Installing package 5.4-frontenddev into root /
./pkg/pre-install
pkg/pre-install
Skipping existing directory
Skipping existing directory usr/
Skipping existing directory usr/local/
Longgggg list of packages.
Create symlink /usr/local/php5/entropy-php.conf /etc/apache2/other/+php-osx.conf
Restarting Apache
httpd: Syntax error on line 493 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of /private/etc/apache2/other/+php-osx.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): Symbol not found: _libiconv
Referenced from: /usr/local/php5/lib/libintl.8.dylib
Expected in: /usr/lib/libiconv.2.dylib
in /usr/local/php5/lib/libintl.8.dylib
This is line 493
bash-3.2# cat /private/etc/apache2/other/+php-osx.conf
# Additional PHP Apache directives,
# part of the entropy.ch PHP package for Mac OS X
LoadModule php5_module /usr/local/php5/libphp5.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
DirectoryIndex index.html index.php
Posted on May 2, 2014 2:28 PM
All replies
Loading page content
Page content loaded
Line 8 is trying to load the php module does that file exist e.g. did it build php?
‘Symbol not found :_libiconv’ suggests a dependency may not be installed?
You should probably read the ‘long list of packages’ install output to see if any one failed.
Have you also searched the github repository for these scripts?
Otherwise you will need to tear the scripts apart & go through the install process in stages to see where the error creeps in.
Using MAMP could be a lot easier :^)
May 3, 2014 10:58 PM
I dont know why everything is so complictaed on Mac.
May 3, 2014 11:20 PM
Is it because Apple don’t have an alternative to ‘apt-get install php’?
You could just download MAMP & be up and running in seconds, but you appear to have chosen a harder path instead.
There are other options like homebrew, but if you are going to get your fingers dirty you should probably just compile from source & learn the pain of troubleshooting PHP dependancies. That’s why this script exists — ask the smart people who made it, someone may have seen the error and have a fix.
What is your overall aim? Are there modules in this script that MAMP doesn’t have? Is it essential to use the built in Apache?