0
votes
1answer
26 views

VirtualHost Server Not Found

After modifying the httpd.conf to include my virtual host configuration: Include /private/etc/apache2/extra/httpd-vhosts.conf, I added the following to my virtual host configuration file: # # ...
0
votes
3answers
59 views

Apache PHP .ini.php showing as text?

I have a bunch of files that are causing me problems. I am working locally on my Mac and I have files called something.ini.php and they are being shown as text, while my something.php files are coming ...
0
votes
1answer
218 views

Local Server - Apache redirecting all requests to /index.php [closed]

I'm having a weird redirect problem on my local server. I have a VirtualHost set up: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "/Users/iMac/Sites/index.php" ServerName ...
1
vote
0answers
137 views

Trying to compile phpredis on a mac using phpize54

I installed php 5.4 using mac port. I then git cloned the phpredis repository ( https://github.com/nicolasff/phpredis ). Then, I execute these commands: phpize54 ./configure make && make ...
-2
votes
1answer
114 views

PHP Composer Not Working On Mac [closed]

I have installed a bitnami mac stack mainly because I require at least PHP 5.4.7 version for my project. However, I have run into an issue with composer. This is the error I get when I run: php ...
0
votes
1answer
149 views

PHP Script Issue While Running

I have the following PHP script for in-app purchase verification for an iPhone app. However, the script (from chrismaddern) runs effectively on localhost (mac) and does not run or give any output on ...
3
votes
2answers
2k views

Troubles with memcache.so

I've been asked to launch a site that someone else built. It is a Wordpress shop site that needs Memcached to run, and I've been having troubles getting Memcached and the memcache php plugin working ...
0
votes
1answer
183 views

php.ini is not loading on my local machine mac os x

I have a localhost running on my mac osx machine, everything works fine apart from I get this error when running some applications: Warning: strtotime() [function.strtotime]: It is not safe to rely ...
1
vote
1answer
217 views

mysql functions php cli

I'm trying to run Symfony on my new Macbook Pro but I have no luck getting it to work with the command line scripts. With every symfony task related to a database connection the following message ...
0
votes
1answer
104 views

Revert all changes make to Mac OS X web sharing [closed]

I've been messing about with apache2 php and mysql today and I've taken a few wrong turns. I'd rather install XAMPP than try to figure out all the problems. I did a time machine backup a few days ago ...
1
vote
1answer
1k views

How to run Nginx and PHP on Mac OS X?

I installed PHP 5.3.6 on Mac OS X 10.6 , but how can I run it with Nginx instead of Apache? Previously I used MAMP with Apache but I would like to switch to nginx. How can I install Nginx with PHP ...
1
vote
3answers
404 views

Using a Mac as a production server?

I've never used a mac before so I'm not exactly sure about this: A client wants me to make a website for him and host it on his Mac server. The website is obviously going to be created with PHP and ...
1
vote
4answers
1k views

compile php 5.3.3 with intl extension on Snow Leopard 10.6

i'm trying to compile php on my mac. i've followed this tutorial : http://www.malisphoto.com/tips/php-on-os-x.html i've also check this post : ...
0
votes
2answers
224 views

PHP doesn’t run through Snow Leopard Web Sharing

I've followed all the tutorials and uncommented the relevant lines in httpd.conf, but PHP files do not render under Web Sharing. The server just serves up the source code instead of running it. I ...
2
votes
5answers
2k views

How can I set up a local host with a reasonable name, different than “localhost:80”?

I find it confusing to work on my site locally when there's something like "localhost:80" in the adress bar. It would be much better to have something like "mydomainoffline.com" which then maps ...
0
votes
2answers
718 views

Where is mail config for php on Mac?

Based on the information of mail function in php, it says that a setting of sendmail_path has to be set in php.ini. I tried to search for this php.ini file. I could not find it. Not sure it is in a ...
0
votes
4answers
416 views

can no longer access MySQL via PHP

I have a mySQL / PHP setup that I've used on several systems. I just recently upgraded my system to Max OSX 10.6, and now it cannot connect. I get the error: mysqlnd cannot connect to MySQL 4.1+ ...
0
votes
2answers
676 views

Apache localhost works great, except PHP is not responding

I'm running Apache on Mac, PHP is installed, and I suspect something in the httpd.conf is not correctly set. The symptom: Running PHP files in localhost yields PHP code, nothing else. Running ...
3
votes
1answer
411 views

PDO_mysql for mac

Has anybody gotten PDO_mysql working on the default PHP installation on a mac? It works with MAMP but that's inconvenient. I'm developing for Zend Framework and mysql, and Zend_db uses PDO. The ...