Apache Syntax Error On Line 501
Contents |
Support Search GitHub This repository Watch 99 Star 2,158 Fork 608 Homebrew/homebrew-php Code Issues 34 501 syntax error - line too long Pull requests 20 Projects 0 Wiki Pulse Graphs New issue Mac apache syntax error cannot load OS X Mavericks 10.9.4 issue - Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): Symbol not found: 501 syntax error in parameters or arguments (-31) _libiconv #1292 Closed faddah opened this Issue Aug 14, 2014 · 7 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 4 501 syntax error ftp participants faddah commented Aug 14, 2014 hello all - i am seeing this with homebrew trying to install the current, stable php v.5.5.15 and cannot get my apache v.2.2.26 web server with php v.5.5.15 to run. this is on a iMac with intel core i7 2.8 GHz, 16 GB of RAM, a 1
501 Syntax Error - Badly Formatted Address
TB internal hard drive & running Mac OS X 10.9.4 Mavericks with all the latest updates. here is what i get when i attempt $ sudo apachectl -t — $ sudo apachectl -t httpd: Syntax error on line 501 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): no suitable image found. Did find:\n\t/usr/local/php5/libphp5.so: no matching architecture in universal wrapper i assume since the $ sudo apachectl -t fails with this ^^^^error above, $ sudo apachectl start is not really working either, and indeed, when i open a browser and attempt to go to either http://127.0.0.1/ or http://localhost/, both fail with “The Webpage is Not Available,” and Error code: ERR_CONNECTION_REFUSED. as suggested above in this other php mac os x thread (liip/php-osx#75), i changed the /usr/sbin/envvars and /usr/sbin/envvars-std to be the following, commenting out previous code in them with '#': DYLD_LIBRARY_PATH="/usr/local/php5/lib:/usr/lib:$DYLD_LIBRARY_PATH" export DYLD_LIBRARY_PATH i have even since restarted the machine and
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn
501 Syntax Error In Parameters Or Arguments (in Reply To Mail From Command))
more about Stack Overflow the company Business Learn more about hiring developers or posting 501 syntax error in parameters or arguments yahoo ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site 501 syntax error in arguments outlook for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and https://github.com/Homebrew/homebrew-php/issues/1292 rise to the top Apache problems after upgrading to Yosemite up vote 7 down vote favorite 3 My Mac web server won't work after upgrading to Yosemite. When I type apachectl into Terminal, I get this: httpd: Syntax error on line 527 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: _unixd_config\n Referenced from: /usr/local/php5/libphp5.so\n Expected in: /usr/sbin/httpd\n in /usr/local/php5/libphp5.so http://superuser.com/questions/827937/apache-problems-after-upgrading-to-yosemite If I type sudo apachectl [re]start nothing happens, as if it's started and I type it again, it says it's already running. Also, I have the Web Sharing Preference pane installed (http://clickontyler.com/web-sharing/) and when I flick the switch from Off to On, it still says it's off, even though the switch is at the On position. What files do you guys want/need to see? Really need to fix this ASAP. apache-http-server httpd share|improve this question asked Oct 17 '14 at 20:16 Tom Oakley 138115 add a comment| 5 Answers 5 active oldest votes up vote 6 down vote accepted Please also note that the Yosemite installer overwrites the entire /private/etc/apache2/httpd.conf file with the new default Apache 2.4 configuration file. For example, if any Listen directives were added, they will have disappeared and need to be added again. E.g.: Listen 127.0.0.1:81 I found my old configuration in the following file, but due to differences from 2.2, it should probably not be copied directly over the http.conf file: /private/etc/apache2/httpd.conf~previous There is an upgrade guide at: http://httpd.apache.org/docs/2.4/upgrading.html Make sure that any previously included extra config files are still included, and then test the configuration with the command: sudo apachectl configtest share|improve this answer answered Oct 20 '14 at 15:31
Start here for a quick overview of the site Help Center Detailed answers to any questions http://serverfault.com/questions/286062/apache-start-failing-after-apache-config-modifications-showing-syntax-error-ca you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network syntax error administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Apache start failing after apache config modifications, showing syntax error, cannot load php5apache2_2.dll into server up vote 1 down vote favorite 501 syntax error 2 I am stuck again with apache setup guys. I am working on a 64-bit system running Windows 7 professional with service pack 1. I copied the working php5 installation directory from teammates, copied the necessary .dll files from inside php5 installation folder (like they were in the working setup of teammates) to my windows/system32/. Apache server started successfully with the default apache config (httpd.conf) file. I was able to access localhost in browser. But php code was not parsing. I noticed no such line like the following in the apache config file:- # PHP5 module LoadModule php5_module D:/php5/php5apache2_2.dll If I add this line, apache server start fails. Running test configuration gives the following error - httpd.exe: Syntax error on line 60 of C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load D:/php5/php5apache2_2.dll into server: The specified procedure could not be found. But the php5apache2_2.dll file is there in the specified location and I have given all permissions to the current system u