|
Posted by shimmyshack on 05/04/07 08:45
On May 4, 8:58 am, cybervigilante <cybervigila...@gmail.com> wrote:
> On May 3, 8:22 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>
>
>
> > cybervigilante wrote:
> > >> What does phpinfo() show for your php.ini file?
> > >> ==================
> > >> Remove the "x" from my email address
> > >> Jerry Stuckle
> > >> JDS Computer Training Corp.
> > >> jstuck...@attglobal.net
>
> > > Here is php.ini below. phpinfo() says it's in the apache directory,
> > > not the php directory as I assumed, but I corrected the path on both.
> > > I tried adding the extra backslash, but that didn't help. BTW, why is
> > > the php.ini in Apache/bin? That seems a bit confusing. Why is there a
> > > php.ini in the php directory, then? When is one used and not the
> > > other, and why? (Contrary to the system name, my system has never made
> > > any money - just eaten a lot of it. Maybe next year ;')
>
> > > Jim
> > > PHP Version 5.2.1
>
> > Jim,
>
> > One is used when running as an Apache extension; the other is used for
> > command line programs.
>
> > Did you stop and start Apache after making changes? If you're running
> > as an Apache extension, the config file is only read at Apache startup.
>
> > -I got it all figured out - much head banging and hair pulling - as usual I got ahead of myself. The paths needed some fixups. I tried a couple of different WAMP servers, and old ones left garbage on the path, and one even thoughtlessly wiped out my entire path, except for its own, leaving a few other progs hanging ;')
>
> Anyway. turned out I was so hot to try mail I didn't read anything
> about Pear, but just assumed it was a package of ready-made includes,
> when it's really just a system to install includes ;') The files
> simply weren't there. But since the paths were wrong I couldn't run
> pear from cmd and get an idea of what to do. It all fell into place
> and I dld and installed a couple of smaller packages to fool with.
> Wish I'd checked the wiki instead of just making blind assumptions.
>
> Anyway, that's solved. The final query is, if I go to the trouble of
> getting Mail working, will my dynamic IP fudge it up? I can see where
> that would be a problem with receving mail, but what about sending it?
> Can I just poll the IP quickly and plug it in on the run if I need it
> to send?
>
> Jim
Ah see I didnt ask you if the files were there, cos I didnt want to be
accused of being patronising!
Unless you are actually going to run an smtp server on your local
machine for the purpose of accepting mail for your domain (not
recommended till you understand the risks), your dynamic IP wont make
a difference at all, you can still contact any server you wish despite
the value of your IP address, so you should be fine. The only issue
you might come across is not being able to set the rDNS for the domain
the email appears to come from, so if you connect to an external smtp
server for that domain that will solve any problems. All should be
fine anyway though unless you are planning on sending a lot of mail.
If you are not sure about the security of your install, and want the
script to be public, consider running a spam/virus proxy like spampal/
avg, which can parse it and filter out the dodgy stuff. Set spampal to
log all mail messages as well and you have an instant record.
[Back to original message]
|