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 Articlestill 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 ArticleSounds 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 ArticleWhat 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 Articlecan'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 ArticleHere 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 Articlecan'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 Articlemmmm 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 ArticleOk 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 Articlepulling 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 ArticleGot 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 Articlealternate 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 Articleno 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 ArticleWhat 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 Articlethis 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 ArticleRE: 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