Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : AMPPS not working on El Capitan Server

1


Threaded Mode | Print  

 AMPPS not working on El Capitan Server, Local host will not direct to AMPPS (16 Replies, Read 15954 times)
twitchblade
Group: Member
Post Group: Newbie
Posts: 10
Status:
Afternoon everyone,
I have successfully implemented AMPPS on a regular mac running El Capitan and a Mac Server Running 10.9 but I installed AMPPS on a brand new El Capitan 10.11 Mac Server and the only thing that works in AMPPS is mysql.  I can start mysql from the control center and it says it starts, but if I click the button to start apache nothing happens.  No warning, nothing.  If I try to go to localhost in the browser I get the "websites are turned off" page.  If I try to go to the AMPPS web page I get the "Welcome to OS X Server" page.  If I go to the AMPPS home page again I get the "websites are turned off" page.  I have web services turned off just like I do on the 10.9 server but it doesn't seem to make a difference in allowing AMPPS to be localhost.
I have run various commands to kill httpd and apache.  I have the same services running on the El Capitan server as the 10.9 server where AMPPS is running fine.
I even tried commenting out the "Listen 80" in the httpd file in the apache2 folder on the mac.
Hope someone can tell me what I'm missing.  It has eaten up my whole day trying to figure this out...haha.

Thanks in advance,
Twitch
IP: --   

AMPPS not working on El Capitan Server
nikhil89
Group: Softaculous Team
Post Group: Elite Member
Posts: 467
Status:
Hi,

In Mac OS X has default Apache installed in the system.
After upgrade to 10.11 it may be get reinstall again.

Try this:
Open Terminal and run following commands
lsof -i :80
which httpd

let us know the output.
IP: --   

AMPPS not working on El Capitan Server
mackjell
Group: Member
Post Group: Newbie
Posts: 3
Status:
Hi.

I am having similar issue. Tried to get web working at first with OS X server app, but I was not able to get sql working properly. Removed and tried to install everything manually. That was too much hazzle, so finally ended up installing ampps. It looks good so far, but it looks like it is not able to resolve hosts, and my websites does not work properly.

Here is the output I received from terminal.

Last login: Wed Jan  6 13:40:02 on ttys000
server:~ mackjell$ lsof -i :80
COMMAND    PID    USER  FD  TYPE            DEVICE SIZE/OFF NODE NAME
IMRemoteU  342 mackjell    5u  IPv4 0x4f74e8ffd5e355c5      0t0  TCP server:49187->200.84-234-155.customer.lyse.net:http (CLOSE_WAIT)
IMRemoteU  342 mackjell    8u  IPv4 0x4f74e8ffd5e355c5      0t0  TCP server:49187->200.84-234-155.customer.lyse.net:http (CLOSE_WAIT)
httpd    1306 mackjell    5u  IPv6 0x4f74e8ffd07c8ad5      0t0  TCP *:http (LISTEN)
httpd    1308 mackjell    5u  IPv6 0x4f74e8ffd07c8ad5      0t0  TCP *:http (LISTEN)
httpd    1310 mackjell    5u  IPv6 0x4f74e8ffd07c8ad5      0t0  TCP *:http (LISTEN)
httpd    1322 mackjell    5u  IPv6 0x4f74e8ffd07c8ad5      0t0  TCP *:http (LISTEN)
httpd    1323 mackjell    5u  IPv6 0x4f74e8ffd07c8ad5      0t0  TCP *:http (LISTEN)
httpd    1324 mackjell    5u  IPv6 0x4f74e8ffd07c8ad5      0t0  TCP *:http (LISTEN)
httpd    1325 mackjell    5u  IPv6 0x4f74e8ffd07c8ad5      0t0  TCP *:http (LISTEN)
httpd    1326 mackjell    5u  IPv6 0x4f74e8ffd07c8ad5      0t0  TCP *:http (LISTEN)
httpd    1327 mackjell    5u  IPv6 0x4f74e8ffd07c8ad5      0t0  TCP *:http (LISTEN)
httpd    1328 mackjell    5u  IPv6 0x4f74e8ffd07c8ad5      0t0  TCP *:http (LISTEN)
server:~ mackjell$ which httpd
/usr/sbin/httpd
server:~ mackjell$
IP: --   

AMPPS not working on El Capitan Server
twitchblade
Group: Member
Post Group: Newbie
Posts: 10
Status:
Hi Guys thanks for the replies.
mikhil89, I tried various steps regarding httpd that were usually the cause of the issue but nothing worked.
I ended up just giving up and installing mysql and phpmyadmin on the server and using the built in web server on the Mac.  It took longer to get set up and running but it was better than losing another day trying to troubleshoot.

Thanks again for the replies.

mackjell have you made sure the installed apache is not being used and the AMPPS one is?
IP: --   

AMPPS not working on El Capitan Server
mackjell
Group: Member
Post Group: Newbie
Posts: 3
Status:
No thats what I suspect is happening. Only I am not sure how to turn of the build in Apache, I have tried the sudo apachectl stop command, and deleted the apache folder from /etc/apache2. Still the host is resolved by something other than the AMPPS apache install.

Any tips would be appreciated :)
IP: --   

AMPPS not working on El Capitan Server
twitchblade
Group: Member
Post Group: Newbie
Posts: 10
Status:
Yea sounds like you probably tried the same steps I did with unsuccessful results as well...haha

That is why I ended up using the built in web server and installing mysql and phpmyadmin myself.  I just didn't have time to trouble shoot the issue anymore. 

I still use AMPPS on my development computer though, just had to abandon it on the El Capitan Server.
IP: --   

AMPPS not working on El Capitan Server
mackjell
Group: Member
Post Group: Newbie
Posts: 3
Status:
I will downgrade to snowleopard then, its just a server anyway, el capitan is not really needed. Thanks for help mate.
IP: --   

AMPPS not working on El Capitan Server
twitchblade
Group: Member
Post Group: Newbie
Posts: 10
Status:
mackjell,
I just had to move another of my AMPPS installations to a Yosemite server and I had the same issue of apache not starting.
I decided to "Get Info" on the AMPPS folder in the Applications folder and set the permissions on the AMPPS folder to allow read/write across the board.  I then ran the sudo killall httpd command in the terminal and to my surprise it worked on this server.
Anyway, not sure it will work for you but thought I'd come back and give you something else to try.
IP: --   

AMPPS not working on El Capitan Server
MCHammer
Group: Member
Post Group: Newbie
Posts: 11
Status:
I'm running into exactly the same problem. Any other ideas/solutions, apart from a manual install of all the components under OS X Server?

I tried what switchblade suggested, and unfortunately, no luck....

Thanks!

Quote From : twitchblade January 21, 2016, 1:52 pm
mackjell,
I just had to move another of my AMPPS installations to a Yosemite server and I had the same issue of apache not starting.
I decided to "Get Info" on the AMPPS folder in the Applications folder and set the permissions on the AMPPS folder to allow read/write across the board.  I then ran the sudo killall httpd command in the terminal and to my surprise it worked on this server.
Anyway, not sure it will work for you but thought I'd come back and give you something else to try.
IP: --   

AMPPS not working on El Capitan Server
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:
Open terminal and run following command 2-3 times

sudo killall httpd

Now Restart Ampps.
IP: --   

AMPPS not working on El Capitan Server
MCHammer
Group: Member
Post Group: Newbie
Posts: 11
Status:
Thanks Rishi - that kills the process, but, when I use the AMPPS control panel to start Apache, it reverts to the default OS X Server pages etc, rather than AMPPS.


Quote From : Rishi_P February 3, 2016, 4:46 am
Open terminal and run following command 2-3 times

sudo killall httpd

Now Restart Ampps.
IP: --   

AMPPS not working on El Capitan Server
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:
Hi MCHammer,

Try this:

sudo killall httpd

sudo /usr/bin/httpd /usr/bin/_httpd

sudo /usr/sbin/httpd /usr/sbin/_httpd

sudo killall httpd

Now Restart Ampps Apache.

Another way is you have to remove default Apache.
IP: --   

AMPPS not working on El Capitan Server
daaygs
Group: Member
Post Group: Newbie
Posts: 6
Status:
Quote From : MCHammer February 3, 2016, 6:16 pm
Thanks Rishi - that kills the
process, but, when I use the AMPPS control panel to start Apache, it
reverts to the default OS X Server pages etc, rather than AMPPS.


Quote From : Rishi_P February 3, 2016, 4:46 am
Open terminal and run following command 2-3 times

sudo killall httpd

Now Restart Ampps.


I am having similar issues and i have tried the suggested fixes with no luck.

Quote From : Rishi_P February 5, 2016, 10:08 am


Another way is you have to remove default Apache.


How to i change it back?
IP: --   

AMPPS not working on El Capitan Server
daaygs
Group: Member
Post Group: Newbie
Posts: 6
Status:
I meant to say how to do i remove the default Apache? :)
IP: --   

AMPPS not working on El Capitan Server
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:
Open terminal and run following two commands

sudo apachectl -k stop

sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
IP: --   

« Previous    Next »

Threaded Mode | Print  

1


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 23, 2024, 2:03 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.025