Re: Scripts not running on OS X 10.3
| From: | John Nichel | Date: | Sun, 02 Nov 2003 06:17:44 +0000 |
| Subject: | Re: Scripts not running on OS X 10.3 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168322@lists.php.net to get a copy of this message | ||
Ken Tozier wrote:
Odd. To be sure it's using the conf file you want, have you tried starting Apache with the command.....? /path/to/httpd -f /path/to/httpd.conf -- By-Tor.com It's all about the Rush http://www.by-tor.comKen Tozier wrote:Got a line like this in your httpd.conf....? AddType application/x-httpd-php .phpI can't get even the test script <?php phpinfo() ?> to run on my Mac. I turned personal web sharing on, checked the httpd.config file (all is well) type 127.0.0.1/test.php in the browser and get a "source view" of the page (ie: <?php phpinfo() ?> shows up in the browser winbdow). What am I doing wrong? Thanks KenYep. same result.Yeah. both of these are uncommented in httpd.conf: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phpsRestarted Apache?Possibly have another httpd.conf file that Apache is reading?Possibly. I used the package installer from Marc liyannage's web site which seems to have done something odd to the httpd.conf file but I don't know enough unix yet to fix it without possibly screwing up. there are the following config files in the /private/etc/httpd directory: httpd.conf httpd.conf.applesaved httpd.conf.bak httpd.conf.default httpd.conf.entropy-backup.1059884513 httpd.conf.entropy-temp In addition to these, there is another config file named "httpd.conf.php" in the "/usr/local/php/" directory Which one Apache is using is a mystery to me.Anything in the error logs when you start Apache?No. this appears to be in order.