I'm having what to me is a weird php problem, and I'm wondering if you can help me figure out the shamefully obvious mistake I'm making. Sound like fun?
The php scripts work fine if I run them from the command line. They work fine if I run them directly from the command line. They do not work if Ajax runs them.
Things I have tried by way of debugging:
- I have adjusted httpd.conf so that the php module loads, and I have restarted my Mac to make double sure that the configuration change has taken.
- Apache is definitely running: 127.0.0.1/~myname/
gets the "it works" msg.
- I have tried running the ajax using jquery and using the old-fashioned longhand ways. Same problem. (I have made sure that jquery is in fact loading.)
I've tried googling for this up and down, but I'm stumped. Any suggestions? Thanks!