Yahoo and php ?

AdmiralAK

Simply Daemonic
Does yahoo support php ?
I want to learn it and yahoo will be (as always has been) my testing ground.

any ideas as to what server side stuff yahoo supports ?


Admiral
 
nah, search in yahoo about free php hosting and you'll find some good sites.

But if you wanna learn, you'd better set up an apache server & php on your mac. It's very easy.
 
Originally posted by 3mors
But if you wanna learn, you'd better set up an apache server & php on your mac. It's very easy.

To activate php, you could manually edit the apahce configuration and library files, but these neat trickx do it for you:

Go to the terminal

cd /etc/httpd
sudo apxs -e -a -n php4 libexec/httpd/libphp4.so
sudo perl -p -i.bak -e 's%#(AddType \S+-php[ -])%$1%i' httpd.conf

Now any .php files in your webserver directory will be dealt with accordingly.
I have my apache set up to parse html files as php - useful if you have an html editor that doesn't like non html extensions like Golive.

In the terminal:
sudo pico /etc/httpd/httpd.conf

in the pico text editor controll-W to search, and search for "AddType"
Edit the line with .html in it, if there is one (if not just add this) so it looks like:

AddType application/x-httpd-php .html

Exit, saving.

type sudo apachectl graceful

to restart the webserver.

Bernie :eek:)

(Good this pooch, AdmiralAK? ;o) lol
 
well this was oging to be my plan :p

1) Buy PHP book
2) Buy a web dev CD from openosx.org with all the dev stuff I would ever need
3) Make/play with php pages
4) upload to geocities.

I am on dial up so I cannot
1) Tie up my phone line serving content
2) dont have bandwidth for my real audio streaming.

My Machine at work is a beige G3, no OS X on it. My boss doesnt want me to put os x on it :p so I cannot use that machine as a web server. Furthermore what happens to my server if I am not there and it goes down (i.e. I go on vacation ) ...

I will take a look at free php hosting if yahoo cant do it :)


Admiral
 
yahoo/geocities definately can't do it. the only free php/mysql hosting I know of is www.f2s.com but they're overbooked and I don't think accepting anymore free accounts. You might, however, be able to find just a free php server w/o mysql. i dunno, good luck though
 
  I use http://easily.co.uk/ . It's not free (£35 GBP per year) but it's very cheap, and supports everything (PHP, ASP, Perl, CGI, MySQL).
  I'll bet that any free php host will cut down the features, e.g. won't let you use the excellent mail() function to send emails, so you won’t be able to develop properly anyway.

Bernie :eek:)
 
lol just when I wanna experiment I hit a stone wall :p

I wonder if I buy a new mac, if I can take my old one to work, give it an IP and have it serve from there. Since it is my property and not my works I wont have a problem :p ... unless those greedy ******* stick a "property of xyz corp" while I am away on vacation :p


Admiral
 
Enless you like to read code books in bed, save your money...

http://php.net

everything you could want is there.

I bought 2 books, when I started learning, and they still have unbroken spines... The site, I visit daily...

You will find far more usefull info online than you will in a book...

devshed is also a great place to start..

http://www.devshed.com/Server_Side/PHP
 
Back
Top