Quantcast
Channel: 2 tablespoons - Comments for "Install Apache 2 and PHP 5 with MacPorts"
Browsing latest articles
Browse All 30 View Live

Linking Apache2 to the Sharing Prefs Panel

I think this was part of the question... It is possible to link the std Sharing.prefs control panel to the new Apache 2 installation. see...

View Article



still have the old version of php

Hello,Thanks for the thorough instructions! I ran the following macports command, and continue to see my old PHP install when I run phpinfo() from /opt/local/apache2/htdocs: port install php5 +apache2...

View Article

Sounds like the Apple stock PHP/Apache is running

You're correct, the Web Sharing control panel is only tied to the stock Apache/PHP. Are you absolutely sure that you're seeing phpinfo() in htdocs? Is there an equivalent script in the stock web root...

View Article

What a life saver!

Thank you so much for this awesome guide. I've spent many hours trying install Apache 2 and activate PHP 5 independently of each other and ran into so many errors. I don't know a whole lot about Shell...

View Article

That's great!

Happy to hear this was helpful!

View Article


can't get PHP to work

Thank you very much for the instructions. I am very new to shell and macports. I followed all the instructions but when I tried the php info page all I could see in the browser window was the php code...

View Article

Here are a few things to try

If you didn't see any errors during the install, make sure the stock Apache server is turned off. Turn of web sharing at System Preferences > Sharing. Then run 'apache2ctl start' again and try the...

View Article

can't get PHP to work

In the installation process I don't get any errors. The message I get when I do apache2ctl start is -bash: apache2ctl: command not found I have created the alias in my ./profile in the home directory....

View Article


Try the full path to apache2ctl when starting

/opt/local/apache2/bin/apache2ctl start

View Article


mmmm almost

well, i followed all the instructions, and when I open my info.php page, the browser wants to download the file instead of parsing it. It's like the mime types are'nt right. but I have AddType...

View Article

Ok got it now

I had a virtual hosts setup before I installed, so i forgot to reconfigure the httpd.conf for that. It's all working now. Awesome tutorial! thanks!

View Article

Pesky vhosts :)

Way to go.

View Article

pulling hair out

I have tried to use mac ports to update to apache 2 mysql5 and Php5 Ok apache2 no problem.. tutorial on mysql from macports didn't work but i got it up from sourceok final step PhP5.. this article...

View Article


Got it from source?

What do you mean "i got it up from source"? Did you install the MacPorts version, from source, or some other binary distribution? The error seems to indicate that PHP is looking for MySQL dependencies...

View Article

Great guide! Worked like a

Great guide! Worked like a charm. Thanks.

View Article


alternate php.ini

Hi, typically, i could place another php.ini file in, say my top level of my http server and those settings would override the first ones. This way I can change the doc_root from "/" to "/public" in...

View Article

no php for user pages

I followed all the steps in this page and I have everything up and running, but php doesn't work on the user directories. Can anyone shed some light?

View Article


What do you see when accessing user dirs?

What do you mean exactly? What messages do you see (not found, forbidden)? Is your directory path correct /Users/*/Sites? Is the UserDir set to Sites? UserDir Sites...

View Article

this worked great for us

If you have an existing php.ini, just copy it over. Also, you don't need to do +mysql if you already have mysql installed correctly.

View Article

RE: PHP5 install

I seem to have some issues installing php 5. I get the following error:checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... configure: error: You have...

View Article

Are you using Porticus or

Are you using Porticus or Macport's command line interface to install? Install Apache from the command line with sudo port install apache2APXS is the Apache 2 compiler and it's needed to install Apache...

View Article


I made it to work by

I made it to work by removing it from inside mime type directive to anywhere outside ....

View Article


PostreSQL isn't working! ARGH.

PostgreSQL isn't working with PHP5, no matter what I try. I've tried adding +postresql and +postgres83, but the pg_* functions simply aren't there when I try to use them. When I look at phpinfo(), it...

View Article

Nevermind

I just had to use +postgresql83, rather than +postgresql or +postgres83 (which were two options I saw on sites, this one included).

View Article

:) Glad you got it working.

:) Glad you got it working.

View Article


Greate guide

Thanks for this. Worked a treat.Tip: to use vhosts, uncomment the#Include conf/extra/httpd-vhosts.conf line in/opt/local/apache2/conf/httpd.conf file, then configure the vhosts...

View Article

server admin tools

it's possible manage the new macport apache installation with server admin tool in osx server 10.5?

View Article

don't forget: apachectl

don't forget: apachectl configtest .. check for syntax errors prior to trying to debug why something doesn't work.

View Article

Mac OS X Snow Leopard: PHP 5.3 + OCI8

http://musarra.wordpress.com/2009/10/29/mac-os-x-snow-leopard-php-5-3-oci8/

View Article



Thanks, so great!

For my production environment installaton, I added some modules from MacPorts php5, like... curl, mysql, gd, imagick, xsl, exif, posixThanks!

View Article
Browsing latest articles
Browse All 30 View Live




Latest Images