The popular open-source Web server application, an implementation of which is included in Mac OS X.
0
votes
1answer
28 views
Unable to enable PHP in OSX 10.8 mountain lion
I have enabled php according to PHP's instructions and uncommented,
#LoadModule php5_module libexec/httpd/libphp5.so
in /private/etc/apache2/httpd.conf. However the line,
#AddModule mod_php5.c
...
0
votes
1answer
20 views
Problems with apache after update of php and mysql using homebrew
I am hoping someone here can assist me.
I upgraded php and related files using brew upgrade on my mac which is running Mac OS X 10.8.3. Everything was working fine before and I just wanted to update.
...
0
votes
0answers
35 views
I am having trouble getting apache to work via terminal on mac os x 10.8.3
I am a beginner with the terminal app. - I think , while following a tutorial for creating a user configuration file for apache, that I messed something up internally with apache. I cannot even access ...
1
vote
3answers
405 views
Starting Apache2 on Mountain Lion
I have tried every option to get apache2 to work in Mountain Lion, and I am baffled by how impossible the task seems to be.
I just got a new iMac and on a fresh, clean install, I went about setting ...
1
vote
2answers
401 views
How do I access my apache web-server (running locally) from Windows 7 running on Parallels?
I'm running Windows 7 from within Parallels running on MacOS X Lion. I've also setup a local apache server; I can access this server from MacOS X via any browser. I've configured this using a ...
-1
votes
0answers
18 views
How can I get a clean reinstall of Apache? [closed]
Apache has had work done on it, and now it shuts down instants after being started.
How can I reset Apache from default and have any changes be handled on an opt-in basis only?
0
votes
1answer
282 views
Web Sharing (Apache) won't turn on in Lion
I'm unable to enable web sharing via System Preferences > Sharing. When I click it to turn it on the light turns yellow but then goes back to gray.
I did some Googling and found that many people ...
0
votes
0answers
31 views
Web Sharing not getting enabled in MAC OSX10.7.4
I have tried enabling Web Sharing in MAC OSX 10.7.4, but after clicking to check it uncheck it self. I know there's a similar question for it, that is, Web Sharing (Apache) won't turn on in Lion.
...
1
vote
1answer
807 views
Apache bonjour module and Sites folder template
I just upgraded to Lion and because I do web design, first thing I did was turning on Web Sharing to get Apache running. While checking the logs I found that the Bonjour module can't find a file and ...
2
votes
1answer
1k views
How can I upgrade my PHP 5.3.1 to 5.3.2 on XAMPP Mac OS X?
I've just installed XAMPP on Mac OS X Snow Leopard, and everything is running correctly and setup completely well.
However, I want to install an open source project that requires PHP 5.3.2 or higher. ...
0
votes
0answers
45 views
Editing $PATH variable for apache on mountain lion
I've just installed ImageMagick using macports and am trying to use it from a php site running on Apache, but nothing I do works to add /opt/local/bin:/opt/local/sbin to my path.
So far I've tried
...
0
votes
0answers
72 views
Apache VirtualDocumentRoot, MAMP, .local domain & xip.io?
I have a problem making xip.io works. I have set up my machine to use virtualhosts with MAMP .local domain name.
this is my httpd-vhosts.conf file:
NameVirtualHost *:80
UseCanonicalName Off
...
5
votes
5answers
3k views
How can I increase command line memory_limit for PHP with MAMP PRO?
I've edited every single php.ini on my mac (at least all the ones found by "locate") and still can't seem to increase the "memory_limit" directive for PHP.
I'm using MAMP PRO and running PHP scripts ...
1
vote
3answers
443 views
apache on OSX 10.8 not starting
I had Apache working on my 10.8 MPBR. I haven't used it for a few weeks, and now it doesn't seem to start. I get nothing in /private/var/log/apache2. Nothing, meaning no logging at all, error or ...
7
votes
2answers
3k views
Enabling Apache in Mac OS X Mountaion Lion
This is my first Mac, it's Mountain Lion, and I know how to enable Apache through Preferences -> Sharing -> Web Sharing, but how the hell do I do it in Mountain Lion?
I find that that button no ...
0
votes
2answers
113 views
Lost apachectl bin file
How can I recover the apachectl on my OSX?
I deleted it, somehow, and now the command apachectl doesn't exist anymore.
0
votes
1answer
369 views
How to change MPM prefork to worker on default Apache OSX installation?
On CentOS, the Apache configuration can be found in /etc/sysconfig/httpd
How to change MPM prefork to worker on default Apache OSX installation?
1
vote
0answers
58 views
Restore Apache settings
I messed up my apache configuration files, is there some way to restore the apache config files (httpd.conf etc..) to default settings?
(I'm using Apache that comes shipped with OS X 10.8.2)
2
votes
2answers
158 views
Change Web Sharing “Sites” folder to SkyDrive?
I'm building a web site. There are three Macs that I commonly use for development, depending upon my location: an iMac in San Diego, and iMac in Vegas, and a MacBook Air in all other places. As I move ...
1
vote
0answers
53 views
Setting the config for PHP 5.3.15 and above
I have PHP 5.3.15 running on my Mac (OS 10.8.2). I have Apache running with virtual hosts. Also, I've installed FreeTDS for connecting to MSSQL. I still need to configure the /php/ext/mssql to run ...
1
vote
3answers
4k views
Is there a GUI front-end to Apache for Mac OS X (Lion)?
I am using the default Apache and PHP installs that are present in OS X Lion. But I would like to make some settings (like adding Virtual Hosts to Apache) using a GUI interface. Is there such a thing?
...
0
votes
1answer
377 views
localhost doesn't find all files in Sites-Folder
I have a strange problem:
I installed XAMPP long time ago and created a folder with an index.php file in my sites folder. When i start XAMPP and go to the browser localhost/~username i can see the ...
5
votes
2answers
14k views
Enable URL rewriting (mod_rewrite) using .htaccess files in ~/Sites on Lion
I cannot get mod_rewrite to work on Lion. I am developing a number of websites locally, in ~/Sites, using .htaccess files. I am on 10.7.3 and I have not touched any configuration files except for ...
1
vote
3answers
5k views
Where is the httpd error log file on Lion?
I'm running a local web (development) server on my mac with apache installed.
I'm sure it depends on my apache config but basically I just want to run tail -f /var/log/httpd-error.log in a terminal ...
2
votes
2answers
621 views
Apache virtualhost - Mac OSX 10.7.3
After upgrading to Lion, all my virtualhosts stopped working. They redirect to "It works" main apache page on my device for some weird reason.
Example:
/etc/hosts:
127.0.0.1 myhost.com
...
0
votes
0answers
150 views
How do I switch which instance of php is used on my Mac?
I have three installed versions of php on my Mac. When I check using phpinfo() via a web browser, the one that is being invoked is version 5.3.15. I would like to switch it to the installed instance ...
0
votes
0answers
28 views
Installing email client in apache
Hello I am using the Apache that comes with OSX itself on Mountain Lion.
Everything works well except the mail(); function because there is no default email client/server in apache
Can someone tell ...
0
votes
2answers
75 views
How to serve the personal website from different folder?
So far, I read on MacRumors of:
System-wide site
Files at /Library/WebServer/Documents will, by default, be shared as the root Web site when Web sharing is turned on. These files can be ...
15
votes
4answers
12k views
How do I get my user directory working for web sharing again?
I had web sharing enabled in Lion and a web site at http://localhost/~user, where user is my User directory. When I upgraded to Mountain Lion, web sharing (Apache) remained enabled and I can go to ...
0
votes
2answers
175 views
Pow conflict when pointing to my IP
Some time ago I had installed Pow to run my sinatra apps.
Now today I wanted to use my Mac's built in web sharing to test an html file as rendered on my iPod Touch.
I browsed to 10.0.1.20/~francesco/ ...
4
votes
2answers
8k views
How do I enable PHP on Mountain Lion OS X 10.8?
Just upgraded to Mountain Lion, and wanted to make PHP work on the built-in version of Apache.
17
votes
3answers
35k views
How to turn Mac OS X Lion into a web server?
After using MAMP for ages, I found out I could actually use Snow Leopard's built-in Apache server. Now that I've upgraded to Lion, I have no idea how to do this anymore.
Do you know how to turn my ...
1
vote
2answers
619 views
Cannot start MySQL server with AppleScript - Snow Leopard
I've sucessfully installed MySQL server (5.5.11) on my MAC Snow Leopard. I can start the server using PreferencePane, using command line sudo /usr/local/mysql/bin/mysqld_safe but cannot use the same ...
2
votes
2answers
683 views
What did the 10.8.2 update do to break an AMP stack's vhosts?
I updated from 10.8.1 to 10.8.2 last week and since then I have yet to get certain vhosts working on my local sandbox. Some of them work fine while others just don't work at all now when they did ...
1
vote
0answers
236 views
How can I delay loading of a launchd Launch Daemon on boot?
I am running OS X Server 10.7.5 on a Mac Mini and I cannot get MacPorts’ Apache2 to start on boot. I have ensured that the Apple-supplied version of Apache is not launching and I have also ensured ...
3
votes
3answers
3k views
Web Sharing Apache Localhost - Access permissions
I want to install phpMyAdmin on the native Apache webserver that is bundled with Mac OS X 10.6. I turned on Web Sharing in System Preferences. Yet, me fear is that my computer is granting access to ...
0
votes
1answer
135 views
How do I get Web Sharing back on Mountain Lion? [duplicate]
Possible Duplicate:
Enabling Apache in Mac OS X Mountaion Lion
Like the title says but with a twist.
I DO NOT want to use localhost, but my internal IP instead so I don't want to use all ...
3
votes
1answer
2k views
Which php.ini file do I have to edit on Mountain Lion?
I recently upgraded to Mountain Lion and reconfigured my apache2 (https.conf) file in the terminal to load PHP and start automatically.
My localhost/~username/phpinfo.php page comes up to show my ...
0
votes
2answers
5k views
Apache 2 `UserDir` problem in OS X Mountain Lion (10.8) Server after upgrade from Lion (10.7)
I had a Mac under OS X Lion. I upgrade it to Mountain Lion, and buy the OS X Server software in the AppStore.
Since the beginning, I use the Apache version bundled in Mac OS, and it work fine.
But ...
0
votes
1answer
25 views
How should I go about restarting a custom Apache install?
I'm working on a server that was configured by a former employee and I need to restart Apache. Unfortunately, it's not the default install and it's in a different place and apachectl doesn't exist ...
3
votes
2answers
9k views
How do I stop Apache from starting up automatically?
I'm running Mac OS X Lion 10.7.2 and Web Sharing is turned off in System Prefs.
I don't think this is specifically related to Lion.
Basically, I'm a frontend developer and there are always backend ...
3
votes
1answer
4k views
How to activate mod_rewrite on MacOSX Lion
I tried to activate the mod_rewrite module in the httpd.conf, but I do not succeed to make it work.
I'm running Lion, and my goal is to do URL rewriting in ~USER/Sites/mysite
Can someone help me ...
0
votes
1answer
401 views
Install Apache, PHP and MySQL on Mac w/o MacPorts?
For some reason I can't use MacPorts. So the question is if it's possible to install Apache, PHP and MySQL on Snow Leopard w/o using MacPorts?
Please don't offer MAMP or other bundles.
Thanks in ...
1
vote
3answers
1k views
Apache permissions
I'm trying to get LAMP working on OSx Lion and am having a little trouble.
Have Apache, MySQL, and PHP set up and working just fine. Have turned on "Website" under sharing in Settings. Removed the ...
1
vote
1answer
268 views
Web Sharing does not work with FileVault?
I want to use both Web Sharing and FileVault however when I turned on FileVault, my home directory Sites folder came up in the browser as permission denied, even though the Unix permissions were 777, ...
0
votes
0answers
2k views
How can I ask Mountain Lion to have apache2 recognize .cgi and execute it as a CGI script?
I've upgraded from Lion to Mountain Lion, and have noticed as a result of the upgrade, besides my screen saver saying it won't work on this version of OSX, Apache is displaying the private web ...
0
votes
1answer
163 views
Why do httpd and mysqld processes not show up in Activity Monitor?
I'm running Mountain Lions built in Apache2 server. I have started the server and I can see the web pages but I can't see any httpd process in the Activity Monitor. Same goes for MySQL. I can't see ...
1
vote
1answer
1k views
How to move the web server folder for web sharing?
How do I move the Library/WebServer/Documents folder, which contains files shown by http://localhost ? For instance, to the Desktop. Also, can the ~/Sites folder be moved too?
0
votes
2answers
93 views
Apache doesn't recognize a local zone (BIND) unless restarted frequently
Apache does not recognize the local zone .dev -- returns 404 Not Found. If Apache is restarted it will recognize the local zon. If inactive for ~1hr it no longer recognizes the local zone -- returns ...
3
votes
1answer
750 views
What permissions do I need to give for my server setup?
I am trying to have a server setup for my web app locally on my MacBook Pro. I have installed Apache, PHP successfully and checked out my web app's code to /var/www location. Now there's a script in ...