A server-side scripting language used to build dynamic web pages.

learn more… | top users | synonyms

0
votes
1answer
1k views

How to restore PHP to the original configuration?

I did something wrong and now my PHP is not working anymore. I'm using OS X Lion. I can I restore it to the original configuration?
1
vote
0answers
88 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 ...
3
votes
3answers
5k views

PHP 5.4 Installation on Mountain Lion

I just installed Mountain Lion, and of course I've had to set up Xcode Command Line Tools, reinstall Git, and do other things to get up and running again for programming. Naturally, PHP was pushed ...
0
votes
0answers
378 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 ...
3
votes
2answers
1k views

Upgrading to PHP 5.4 using Mac Port

I tried following the excellent instructions on this gist to upgrade my Mac to PHP 5.4, but before I do, I need to know: Is there an easy way to find out which php extensions do I have installed ...
4
votes
2answers
9k 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.
0
votes
1answer
373 views

Cannot find where php5-fpm is stored in MacPorts

I installed php5 from macports. But i can't find php-fpm for start. Look in /opt/local/sbin and /usr/sbin/ I used console command: sudo port install php5 May be need some like php5 +fastcgi fscgi
5
votes
2answers
1k views

Install MAMP (not PRO) For PHP And Mail Sending

I first tried searching here at apple.stack but couldn't find a solution that seemed to work for me, so I'm trying my hand at posting a question. I already spent a few good hours trying to make it ...
0
votes
1answer
147 views

*AMP setup Impact on upgrading from Snow Leopard to Mountain Lion

I have Snow Leopard. I want to upgrade to Mountain Lion. I've setup PHP as mentioned here. Will upgrading to Lion affect my PHP setup or any other setup like MySQL for that matter ?
4
votes
1answer
8k 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
1answer
496 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

Forbidden error setting up a PHP app on Mac OS X 10.6

I have enabled Web Sharing in OS X 10.6 and now I can access http://localhost/~myuser from the browser. Now I have copied this PHP app to my ~/Sites/the_app folder, but when I want to access it in ...
0
votes
1answer
212 views

“Natively” add emails to Mail by PHP pipe script

I found this awesome tutorial on how to send emails on localhost that will open your Mail showing you the email that was sent from PHP, however this is slightly annoying getting Mail to open when an ...
-1
votes
2answers
88 views

what is different with Safari and other webkit [closed]

Why Safari on Mac OS X can execute processingjs on local without web server like MAMP but not Chrome? There is a Apache Server include in Mac OS ? Here is a zip folder sample.
3
votes
1answer
3k 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 ...
1
vote
2answers
113 views

Where can I find a list of MAMPs?

I'm looking for a MAMP packaging = Apache + MySQL + PHP bundled together for Mac OS X (which is my OS). Where can I find it? Is there an "official" site where I can download it from? [ I know that ...
3
votes
1answer
345 views

how can i set up mamp or web sharing to show clients php application remotely?

I'm currently using mamp instead of web sharing and I'm trying to figure out the best approach to share php and mysql web application that I'm working on to clients. What is the best way to do this?
9
votes
3answers
2k views

Advantages of using MAMP stack over Mac's native Web Sharing and downloaded MySQL

I'm wondering what are the advantages of using a MAMP stack instead of Web Sharing provided with Mac natively and MySQL downloaded and installed manually? I can see how in some cases MAMP can have ...
1
vote
1answer
403 views

How can I upgrade PHP on a jailbroken iPhone?

I have an iPod touch running iOS 4.0 and an iPad running iOS 4.3.1, both jailbroken. They have lighttpd and PHP installed, however PHP seems to be an old version that I need to upgrade to use a ...
4
votes
1answer
4k views

How can I determine the compile-time options of PHP?

I'm trying to customize my php install, but I'm not that familiar with compiling programs from scratch. How can I tell determine what compile-time options were used for php? Specifically, I'm trying ...
4
votes
1answer
261 views

Is it possible to update the preinstalled versions of both MySQL and PHP in OS X?

I'm running 10.6.4 and PHP reports itself as version 5.3.2 (5.3.3 is available) and mySQL reports version 5.1.45 (5.1.51 is available) I know they are minor releases but is it possible to easily ...